Visitar URL original
C++: Report any extracted file as successfully extracted by geoffw0 · Pull Request #15381 · github/codeql · GitHub
The Wayback Machine - https://web.archive.org/web/20240126101756/https://github.com/github/codeql/pull/15381
Skip to content
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

C++: Report any extracted file as successfully extracted #15381

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

geoffw0
Copy link
Contributor

@geoffw0 geoffw0 commented Jan 19, 2024

Change cpp/diagnostics/successfully-extracted-files to report any extracted file as successfully extracted, regardless of errors that might have been encountered during extraction. This is part of a cross-language effort to make the tool status page more optimistic about successfully extracted files, as apparently it was causing some users undue concern.

I've also added some test cases for this and related queries so we can get a clearer idea of what's going on - though they're far from exhaustive (due to limitations in what we can easily do in tests + wide diversity of scenarios in the real world).

@geoffw0 geoffw0 added the C++ label Jan 19, 2024
@geoffw0 geoffw0 requested a review from a team as a code owner January 19, 2024 16:00
Copy link
Contributor

@jketema jketema left a comment

Choose a reason for hiding this comment

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

LGTM. It does seem there's an internal integration test that needs to be updated.

@geoffw0
Copy link
Contributor Author

geoffw0 commented Jan 22, 2024

Yep, I'll make a PR for that.

@geoffw0 geoffw0 added the depends on internal PR This PR should only be merged in sync with an internal Semmle PR label Jan 22, 2024
@geoffw0
Copy link
Contributor Author

geoffw0 commented Jan 22, 2024

I've made an internal PR. I believe that means we can disregard the integration test failure here as long as it succeeds on the other branch.

@jketema
Copy link
Contributor

jketema commented Jan 22, 2024

I believe that means we can disregard the integration test failure here as long as it succeeds on the other branch.

Correct.

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

Successfully merging this pull request may close these issues.

None yet

2 participants