Skip to content

fix(chain): wait for the nightly build race; guard manual quarantine - #141

Merged
majinghe merged 1 commit into
mainfrom
fix/chain-build-race
Nov 5, 2026
Merged

majinghe merged 1 commit into
mainfrom
fix/chain-build-race

Conversation

@majinghe

@majinghe majinghe commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

1. Nightly build dispatch race

Last night's chain (41872426981) died at prepare: candidate attempt has not completed successfully.

Timeline: the nightly build finished at 16:55:57, the chain was dispatched at 16:55:45 — the resolver ran 12 s before the build reached completed/success. (The night before, the build finished 2 min before dispatch, so the latent race never fired.)

Fix: resolve() now polls the referenced attempt up to 10 min before failing, instead of failing instantly.

2. Manual-quarantine guard (complements #140)

The sweep's stale-quarantine recovery would also delete markers it must never touch: manual markers (e.g. the authorized four-node gRPC performance baseline running since Nov 4 16:13 UTC) carry no run_id. Recovery is now restricted to rustfs-shared-functional-tests-v2 markers owned by a numeric CI run id whose run is no longer queued/in_progress; anything else is reported and left alone.

The nightly build dispatches the functional chain from a late step,
seconds before the run reaches completed/success. On Nov 4 the chain
resolved 12 s too early and died at prepare (run 41872426981:
'candidate attempt has not completed successfully') — no lane ran.
The resolver now polls up to 10 min for the referenced attempt to
finish before failing.

The sweep quarantine recovery could also delete markers it must never
touch: manual markers (authorized performance baselines) carry no
run_id. Recovery is now restricted to functional-fleet markers owned
by a numeric CI run id whose run is no longer queued/in_progress.
@majinghe
majinghe merged commit bf1602a into main Nov 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant