Repository navigation
Description
Open code-scanning alerts on main went from 34 (Sep 21) to 459 (Oct 26). Only 2 carry a security severity, and both look low risk. Dependabot and secret scanning are at 0. This is code-quality debt, not a known security hole, but nothing stops it growing.
What we found
- PR scans see nothing. Split the CICS time (ASKTIME/FORMATTIME) block out of the forge (Part of #5274) #6719 added alerts, yet its CodeQL analysis has 0 results, while the same rules on
maingive 405. The PR check reads "No new alerts" whatever the PR does. - Many PRs aren't scanned. Of the last 60 merged PRs, 25 ran CodeQL, 30 changed Python only under tests and skipped it, and 5 had no Python.
mainwas scanned weekly, so alerts land in batches days after the PR that added them.- Cleanup stopped. 420 alerts were fixed in July, 15 so far in October.
- Origin of the 459: 186 trace to promoter-bot PRs and 245 to non-bot PRs (blame: last touch, so moved code counts). About 100 of the bot's come from the Split the CICS hot files by command family so CICS slices stop colliding #5274 split, mostly import cycles.
Before #6920 (Oct 28) a failed CodeQL check didn't hold a merge: #5535 and #5681 merged failing. ci-gate holds on any failed check now, so a failed Analyze is enough and no new required check is needed.
Plan
-
Get PR analyses returning results, report new results only, scan
maindaily (CodeQL: PR scans see results; new errors and warnings fail; scan main daily (Part of #7153) #7154) -
Measure the run-time cost and false alarms, then turn on
--enforce(CodeQL: PR scans see results; new errors and warnings fail; scan main daily (Part of #7153) #7154: errors and warnings only; about 5 min a run, one sample) -
Dismiss the 140 verified false positives: 139 dismissed with written reasons, open alerts 459 -> 320. docs: auto-update LLM architectural brief #1451 failed on a permission error and stays open
Owner decision, not worker work: CodeQL's reach for test-only Python PRs (it would about double the PR runs). Don't changecodeql.yml's paths under this issue. -
Fix the Split the CICS hot files by command family so CICS slices stop colliding #5274 import cycles, starting with the 23
py/unsafe-cyclic-importintests/tools/equivalence_cics.py(equivalence_cics: lazy family re-exports end the 23 unsafe cyclic imports (Part of #7153) #7231) -
Review the 4
py/uninitialized-local-variablealerts (CodeQL: initialise the 4 py/uninitialized-local-variable locals (Part of #7153) #7239)
Lives in squid-bot, not here: add open alerts to the dashboard.
Activity
CodeQL: trigger on the report tool; refresh the docs list (Part of #7153
Merge main; CodeQL now has a failure proof in the gate list (Part of #…
CodeQL: PR scans see results; new errors and warnings fail; scan main…
CI: full-suite negative control; a blind CodeQL scan fails (Part of #…
squid-protocol commentedon Oct 31, 2026
Claimed by promoter-bot host
melek, lease renewed 2026-10-31T07:30Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove theclaim:meleklabel.equivalence_cics: family names re-exported lazily (PEP 562), not copi…
CodeQL: initialise the 4 py/uninitialized-local-variable locals expli…
det CICS: shared helpers in a leaf cics_common.py; cics_taskcontrol n…
det: Untranslatable in the leaf cics_common; dli.py cycle-free (Part of
tests: gen.py no longer stales the cics/call cases now that det.cics …
det: LIBRARY*, _extents, _occurs_chain in the leaf cics_common; dynca…
squid-protocol commentedon Oct 31, 2026
Every plan box is ticked (#7154, dismissals, #7231, #7239, this slice #7264). PR scans now return results and enforce, main is scanned daily. The test-only-Python CodeQL scope stays an owner decision, tracked outside this issue.
det: cics_filecontrol takes Untranslatable from the leaf cics_common,…
ADDRESS CWA: the spec models it, the det port lowers it, the stub ref…