Skip to content

ci(local-gate): declare the three replay steps the proof omits (GATE-001) - #1932

Merged
zackees merged 1 commit into
mainfrom
agent/replay-declares-ubuntu-steps
Nov 6, 2026
Merged

zackees merged 1 commit into
mainfrom
agent/replay-declares-ubuntu-steps

Conversation

@zackees

@zackees zackees commented Nov 6, 2026

Copy link
Copy Markdown
Member

What this fixes

ci.test_shared_replay is RED on origin/main (06669ad1). GATE-001 says the declared
local-gate replay no longer matches the workflows it claims to prove:

check-ubuntu.yml  replay check coverage differs:
  omitted=['Test cold-build disk provisioning',
           'Test library assembly and archive policies with native GCC'], unknown=[]
dylint.yml        replay check coverage differs:
  omitted=['Provision cold-build disk capacity'], unknown=[]

Those three steps exist and execute in the real jobs, but local-gate.toml never declared
them, so the declared local proof silently covered less than the remote job it replays.
Yesterday's #1911-era Python ratchet work and the fbuild-library assembly tests added
two of them; the dylint disk provisioner was added to both jobs but only declared for one.

The change

local-gate.toml only: the three step names, in the exact workflow order (the checker
compares the set, the order keeps the declaration readable next to its source).

  • check-ubuntu.yml:check gains Test cold-build disk provisioning (after the Python
    complexity ratchet) and Test library assembly and archive policies with native GCC
    (after the native-GCC LTO step).
  • dylint.yml:dylint gains Provision cold-build disk capacity (after Set up uv).

No workflow, lane, run, verify, threshold or registry change; mode stays shadow.

Real evidence

  • Before, on the unmodified tree: ci.test_shared_replay -> FAILED (failures=1) with the two
    findings verbatim above; check_replay_static -> 2 GATE-001 violations.
  • After: ci.test_shared_replay 2 tests OK; check_replay_static -> []; the
    replay-config parse also reports [] (so workflow_replay_dependencies is clean too).
  • RED by mutation: deleting just Provision cold-build disk capacity from the dylint list
    reproduces GATE-001 ... omitted=['Provision cold-build disk capacity'] and fails the test
    naming that step (then reverted).
  • Neighbouring suites: ci.test_local_gate ci.test_local_suites ci.test_fractional_workflows ci.test_local_dylint_gate -> 40 tests OK; ci.test_gate_script_coverage ci.test_local_suites -> 22 OK; ci/check_python_complexity.py -> All checks passed!.
  • Independent verifier: ci-lint complexity --python-runtime -> 0 violation(s); ratchet debt: 124 Rust expect, 14 Python noqa: C901 (RUST-018/PY-004 rollout confirmed complete;
    tracked separately from this PR).

Note for review

Provision cold-build disk capacity in dylint.yml is guarded by
if: runner.os == 'Linux' && runner.environment == 'github-hosted'. The static contract
requires it declared (unknown guards cannot waive proof), and a skipped conditional step is
already representable in a declared list (Reuse cached Dylint library tree is declared the
same way). Whether act2 leaves that step skipped is only observable in a real
local-gate run --lane dylint; the lane is shadow, so this PR does not gate on it.

ci.test_shared_replay is LOCAL_ONLY by design (ci/local_suites.py: it imports the pinned
ci-lint package that hosted CI does not install), which is why this drift could accumulate
with every remote job green.

@coderabbitai

coderabbitai Bot commented Nov 6, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@zackees
zackees added this pull request to the merge queue Nov 6, 2026
Merged via the queue into main with commit ff73b1b Nov 6, 2026
29 checks passed
@zackees
zackees deleted the agent/replay-declares-ubuntu-steps branch November 6, 2026 11:57
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

1 participant