Repository navigation
CI: full-suite negative control; a blind CodeQL scan fails (Part of #7155) - #7171
Merged
Merged
Conversation
A PR's analysis held no results (#6719: 0, main 405), so the check read 'No new alerts' whatever the PR did. Diff-informed analysis goes off, and a report-only step compares the PR's results with main's latest analysis in the files it changed. main is scanned daily. Co-Authored-By: Claude Opus 5.5 <[email protected]>
) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Owner 2026-10-30: enforce errors and warnings only. Notes and the rules proven false here are still reported. A result is new only if the file gained that rule, and code moved from elsewhere on main doesn't count, so a shifted hash can't fail a PR. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…7153) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Runs the required check's own shell from smoke-test.yml over every result, and pins that a failing pytest fails its part. Required gates now all have a failure proof. Co-Authored-By: Claude Opus 5.5 <[email protected]>
No new results from a scan that saw nothing is how this gate went unnoticed for weeks. Under --enforce, a PR scan with under half of main's results now fails instead of reading clean. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
No description provided. |
This was referenced Nov 4, 2026
squid-protocol
added a commit
that referenced
this pull request
Nov 4, 2026
…) (#7695) On a Windows runner bash is the WSL launcher (shutil.which finds it; it drops the step's env and keeps CRLF's \r). #7171 and the solver-check filter test ran a workflow's bash step through subprocess, passed ubuntu-only PR CI, and turned the Full Suite Gate red on main. An AST gate now requires a sys.platform / os.name / platform.system() check in any tracked test file that spawns bash, sh or a .sh script. Flags both pre-fix files; passes the 7 files that spawn a shell today. Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #7155, part of #7153. Follow-up to #7154.
What this does
full-suitegets a negative control. It was the last required gate with no failure proof.tests/tools/test_full_suite_control.pyruns the required check's own shell fromsmoke-test.yml, so the test can't drift from it. It covers:pytestfails its part (no pipe,|| trueorcontinue-on-error)A blind CodeQL scan now fails. Before this, a PR scan that saw nothing read as clean, even under enforcement, which is the failure #7153 was about. Under
--enforce, a scan with under half ofmain's results now fails and says why.The unproven count goes from 20 to 19, and every required gate now has a failure proof.
Do the controls fail when something is broken?
Yes. Each sabotage was applied temporarily and isn't in this PR:
smoke-test.yml, skipped always passessmoke-test.yml, the check becomestruesmoke-test.yml,pytest ... || trueblind()returnsFalseOn real data, the 425-versus-405 scan isn't flagged as blind.
What this doesn't prove
main's analysis can't be fetched, the step still passes without checking. That fail-open path remains.Cost
No new workflow or job. These run in
full-suitein under a second.Checks
-k 'codeql or gate_controls or full_suite_control or workflow or classifier or critical_path'): 276 passed. Not the full suite locally.🤖 Generated with Claude Code