Skip to content

Update test expectations after extension numbering fix #17139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 5, 2024

Conversation

dbartol
Copy link

@dbartol dbartol commented Aug 2, 2024

This PR updates test expectations after a CLI fix to ensure that all extension ID values are unique.

@dbartol dbartol requested a review from a team as a code owner August 2, 2024 20:55
@github-actions github-actions bot added the Java label Aug 2, 2024
@dbartol dbartol added depends on internal PR This PR should only be merged in sync with an internal Semmle PR CLI and removed Java labels Aug 2, 2024
@owen-mc
Copy link
Contributor

owen-mc commented Aug 4, 2024

Note that Go test expectations also need to be updated.

@github-actions github-actions bot added the Java label Aug 5, 2024
@dbartol dbartol requested a review from a team as a code owner August 5, 2024 17:20
@github-actions github-actions bot added the Go label Aug 5, 2024
Copy link
Contributor

@smowton smowton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to result in some attributions disappearing rather than getting renumbered?

@dbartol
Copy link
Author

dbartol commented Aug 5, 2024

This seems to result in some attributions disappearing rather than getting renumbered?

Yes, but that's the expected behavior. Previously, one of the test-specific models would get the same ID as one of the standard library's models, so when the test output referenced the test-specific model, it accidentally pulled in whatever random standard model had the same ID as well. Now, since each model ID is unique, the hitchhiking standard model doesn't appear in the output at all.

Copy link
Collaborator

@adityasharad adityasharad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving to unblock. Tests are passing on the internal PR containing a bump of the submodule to the head of this PR.

@dbartol dbartol merged commit f08f175 into main Aug 5, 2024
15 of 17 checks passed
@dbartol dbartol deleted the dbartol/provenance/qltest branch August 5, 2024 22:17
@hvitved
Copy link
Contributor

hvitved commented Aug 6, 2024

Ruby fix here: #17156.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI depends on internal PR This PR should only be merged in sync with an internal Semmle PR Go Java
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants