You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
infra: port the sanitizers workflow's two remaining shell steps to Python (GEN-005, #962) #2780
GEN-005 burn-down for the sanitizers workflow. After #2605 ported the harness (sanitize.sh, install-ubuntu-deps.sh), two inline run: blocks in .github/workflows/sanitizers.yaml remained over the rule's one-line shell budget, so the file kept its [[exceptions]] block.
step
was
now
jobs.matrix.steps[0] (id: pick)
if/else block echoing the pass list into $GITHUB_OUTPUT
ci/sanitizers_step.py select --tools "$TOOLS"
jobs.sanitize.steps[6] (Triage 🩺)
[ -d ] guard + triage.py … | tee -a $GITHUB_STEP_SUMMARY
ci/sanitizers_step.py triage "$SAN_OUT/<tool>"
Behaviour kept exactly: the same literal JSON for all (["asan","tsan","valgrind"]) and for one pass; the missing-results failure with its one-line summary and no stdout; the report on stdout and in the step summary; and the child's exit status, which bash -e -o pipefail propagated. The matrix job installs nothing today, so it gains its own pinned astral-sh/setup-uv step (same master-only save-cache expression as the sanitize job).
Evidence shape: a stdlib ci/test_sanitizers_step.py (RED on master: 13 failures + 1 error), a differential run of master's two blocks verbatim under bash -e -o pipefail against the new subcommands over the same fixtures (9/9 identical: $GITHUB_OUTPUT bytes, stdout, summary bytes, exit status), and ci-lint precheck's header 5 violation(s), 418 approved exception(s), 10 needs_review -> 5, 416, 10 with no other rule moving and no GEN-005 finding left for the path.
Claiming: investigation — the sanitizers workflow's two remaining GEN-005 steps.
RED: ci/test_sanitizers_step.py (stdlib) pins select/triage in a new ci/sanitizers_step.py, the two one-line workflow steps, the matrix job's uv setup, and the absence of the path's GEN-005 block. 13 failures + 1 error on master.
GREEN: the module, both workflow steps, one pinned astral-sh/setup-uv step in the matrix job, and the ci.toml block deleted; precheck header 418 -> 416 approved, no other rule moving.
Proof that nothing changed: master's blocks run verbatim under bash -e -o pipefail against the new subcommands over the same fixtures, 9/9 identical in $GITHUB_OUTPUT bytes, stdout, summary bytes and exit status.
PR is up (#2781 on infra/962-gen-005-sanitizers-steps, draft while CI runs). One PR for the whole unit.
Definition of Ready: one unambiguous unit (delete the path's GEN-005 block by porting both steps), a stdlib test that fails on master, and an offline differential for behaviour parity. No open question for a maintainer — it changes no trigger, job name or cache key.
Handed off: PR #2781 is ready and queued on master (position 2 behind #2779). PR CI green — Fast Gate ⚡ and Format 🔍 / checks pass, 0 of 33 checks failing.
Remaining after the merge: nothing on this issue. The path's CACHE-002, RUN-001 and WF-004 entries stay (deliberate); the GEN-005 block is gone, which is the unit.
Activity
zackees commentedon Oct 28, 2026
Claiming: investigation — the sanitizers workflow's two remaining GEN-005 steps.
ci/test_sanitizers_step.py(stdlib) pinsselect/triagein a newci/sanitizers_step.py, the two one-line workflow steps, the matrix job's uv setup, and the absence of the path's GEN-005 block. 13 failures + 1 error on master.astral-sh/setup-uvstep in the matrix job, and the ci.toml block deleted; precheck header 418 -> 416 approved, no other rule moving.bash -e -o pipefailagainst the new subcommands over the same fixtures, 9/9 identical in$GITHUB_OUTPUTbytes, stdout, summary bytes and exit status.PR is up (#2781 on
infra/962-gen-005-sanitizers-steps, draft while CI runs). One PR for the whole unit.zackees commentedon Oct 28, 2026
/ready
Definition of Ready: one unambiguous unit (delete the path's GEN-005 block by porting both steps), a stdlib test that fails on master, and an offline differential for behaviour parity. No open question for a maintainer — it changes no trigger, job name or cache key.
zackees commentedon Oct 28, 2026
Claiming: the sanitizers workflow's two GEN-005 steps — PR #2781 on
infra/962-gen-005-sanitizers-steps(draft while PR CI runs).278519bb4:ci/test_sanitizers_step.py, 12 tests, 13 failures + 1 error on master.6c8a9b5c1: the module, both one-line steps, the matrix job's pinnedastral-sh/setup-uv, and the ci.toml block deleted.5 violation(s), 418 approved exception(s), 10 needs_review->5, 416, 10, no other rule moving, no GEN-005 finding left for the path.bash -e -o pipefailvs the new subcommands, 9/9 identical (GITHUB_OUTPUT bytes, stdout, step-summary bytes, exit status).zackees commentedon Oct 28, 2026
Handed off: PR #2781 is ready and queued on
master(position 2 behind #2779). PR CI green —Fast Gate ⚡andFormat 🔍 / checkspass, 0 of 33 checks failing.Remaining after the merge: nothing on this issue. The path's CACHE-002, RUN-001 and WF-004 entries stay (deliberate); the GEN-005 block is gone, which is the unit.