Skip to content

ci: move the manylinux floor off the shared Ubuntu call (fix local-gate GATE-001) - #1861

Merged
zackees merged 1 commit into
mainfrom
agent/glibc-floor-replay
Nov 2, 2026
Merged

zackees merged 1 commit into
mainfrom
agent/glibc-floor-replay

Conversation

@zackees

@zackees zackees commented Nov 2, 2026

Copy link
Copy Markdown
Member

Why

The manylinux_2_17 release cross-link (#1629, job check-ubuntu.yml:glibc-floor) rode
ci-minimal.yml:linux as a workflow_call boolean input, so it was a dependency of that
call on every event. local-gate.toml's linux-minimal replay proof replays exactly
that call under workflow_dispatch, and it can only attest the PR graph (check +
python-facade-tests): the cross-link needs soldr's glibc-2.17 sysroots for two release
targets and is not part of a local pre-push proof.

On unmodified main this made the local proof lane permanently red:

GATE-001 replay dependency coverage differs for linux-minimal:
omitted=['check-ubuntu.yml:glibc-floor'], unreachable=[]

Same class, second lane (older, from the merge-group janitor):

GATE-001 replay dependency coverage differs for dylint:
omitted=['dylint.yml:queue-cache-janitor'], unreachable=[]

It was invisible because ci.test_shared_replay is a local-gate-only module: hosted CI
never runs it, so the guard only fires when someone runs python -m ci.local_gate.

And it is not only static: the local run of linux would have expanded to three jobs
while ci/local_gate.py requires exactly two (REQUIRED_JOBS), so verify_run would
reject the proof too.

What

  • linux binds the input as a literal false. The release cross-link becomes a
    sibling glibc_floor job that calls the same reusable workflow with a literal true,
    gated push || workflow_dispatch. Each event still runs the floor exactly when it did
    before, and no event runs the Ubuntu test jobs twice; the dependency graph for
    ci-minimal.yml:linux is now exactly check + python-facade-tests.
  • local-gate.toml declares the two provably-skipped jobs (check-ubuntu.yml:glibc-floor
    for linux-minimal, dylint.yml:queue-cache-janitor for dylint) without a step
    list
    , so ci-lint derives their checks from source. A skipped job derives nothing;
    declaring hand-written steps for it would demand proof it never produces.
  • glibc-floor → glibc_floor on the reusable input (job id unchanged). ci-lint's
    replay exclusion resolves inputs.<name> for plain identifiers only: with a hyphen the
    condition is unresolvable and the job can never be excluded from any replay graph.
  • glibc_floor is added to CI summary and the queue janitor's needs, so a floor
    failure on a main push still fails the single required context.

Proof (real output)

  • ci.test_shared_replay: RED on origin/main (GATE-001 above, reproduced in a
    fresh worktree before touching anything) → 2 tests OK after.
  • Hosted drift set (same command the drift workflow runs):
    Ran 102 tests in 3.796s OK, including a new guard that the linux binding stays a
    literal false, the sibling job keeps uses: check-ubuntu.yml + glibc_floor: true,
    and it is wired into ci-summary/queue-cache-janitor needs.
  • Mutation check: restoring the event expression on linux fails that guard
    (AssertionError: False is not "${{ github.event_name == 'push' ... }}").
  • python -m ci.render_workflows --check rc0; ruff check on every touched module
    "All checks passed!"; ci/check_python_complexity.py rc0; ci.test_workflow_concurrency
    OK.
  • No Rust touched, so bash test was not run and is not claimed.

Fixes #1629's PR-path wiring for the local proof lane (#1629's multi-manylinux part stays
a maintainer decision).

The manylinux_2_17 release cross-link rode `ci-minimal.yml:linux` as a
`workflow_call` boolean input, so `check-ubuntu.yml:glibc-floor` became a
dependency of that call in every event. `local-gate.toml`'s linux-minimal
replay proof replays exactly that call under `workflow_dispatch` and can
only attest the PR graph (check + python-facade-tests): the cross-link
needs soldr's glibc-2.17 sysroots for two release targets.

Consequences on unmodified main:

- `ci.test_shared_replay` / `python -m ci.local_gate` failed GATE-001 with
  `replay dependency coverage differs for linux-minimal:
  omitted=['check-ubuntu.yml:glibc-floor']`.
- The same finding returned for the dylint lane
  (`dylint.yml:queue-cache-janitor`, merge_group-only) -- a second, older
  instance of the same class.
- Dynamically, the local run of `linux` would have expanded to three jobs
  while `ci/local_gate.py` requires exactly two.

Fix, additive:

- `linux` now binds the input as a literal `false`; the release cross-link
  is a sibling `glibc_floor` job that calls the same reusable workflow on
  push/dispatch only, with a literal `true`. One honest dependency graph:
  no event runs the Ubuntu test jobs twice, and each event runs the floor
  exactly when it did before.
- `local-gate.toml` declares the two provably-skipped jobs
  (`check-ubuntu.yml:glibc-floor`, `dylint.yml:queue-cache-janitor`) with
  no step list, so they derive no required checks instead of demanding
  proof they never produce.
- The reusable input is renamed `glibc_floor` (was `glibc-floor`): ci-lint
  resolves `inputs.<name>` for plain identifiers only, and a hyphenated
  name can never be excluded from a replay graph.

Tests: `ci.test_shared_replay` is green (it was red on main), the hosted
drift set is 102 tests OK incl. a new guard that the `linux` binding stays
a literal and the sibling job stays wired into CI summary + janitor, and
`render_workflows --check` is rc0.
@coderabbitai

coderabbitai Bot commented Nov 2, 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 2, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 2, 2026
@zackees
zackees added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit 23ebd92 Nov 2, 2026
31 checks passed
@zackees
zackees deleted the agent/glibc-floor-replay branch November 2, 2026 21:59
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Nov 3, 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.

glibc 2.17 (manylinux_2_17) floor is only enforced at release link time; add a PR guard and decide on multi-manylinux wheels

1 participant