Repository navigation
Done
Labels
app/fleetpkgs/fleet multicall binary + platform crateseffort/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivesource/agentCreated by an agent workerstatus/needs-triageNot yet triaged; needs a first look
Description
Problem
The remote confirmation of record for PR #16890 (the #16857 reprioritize fix) executed on current main and its own regression test is red:
- Run 46310129068 (developing-today/fleet fleet-command, target repo developing-today/code, main @
e4e08aca12):cargo test -p fleet-queue --lib --features queue-broker(with explicit nix OpenSSL env — see the run history on bug(fleet-queue): reprioritize cannot set ratified bands 15/25, and its label write-back erases expedite/next-up #16857 for the two environment-void attempts that preceded it). - Result: 977 passed; 4 failed. The failure on this track:
queue_broker::reprioritize_sync_tests::sync_touches_only_priority_labels
thread panicked at crates/fleet-queue/src/queue_broker.rs:3615:9
(the panic prints the source of `sync_reprioritized` — a source-shape assertion on that function)
The other three failures in the same run are the #16909 hrana_double tests and are tracked under #16909, not here.
What is needed
Adjudicate test-vs-code drift, the same shape as #16948 / #16961:
- If a later change to
sync_reprioritized(e.g. the broker work that landed after PR fix(fleet-queue): reprioritize can set the ratified bands and projects them faithfully (#16857) #16890) made the sync touch labels beyond the ratified band set, the code regressed the bug(fleet-queue): reprioritize cannot set ratified bands 15/25, and its label write-back erases expedite/next-up #16857 contract (broker sync owns BAND_LABELS only) and the code is the fix side. - If the sync still touches only band labels and the source-shape assertion is keyed to text that legitimately changed, the test is stale and the test is the fix side.
Evidence
- Verdict comment on bug(fleet-queue): reprioritize cannot set ratified bands 15/25, and its label write-back erases expedite/next-up #16857 (lane 0640-CP): the run chain 46286535992 (void, checkout) → 46299040137 (void, wrong workspace root) → 46306636520 (void, openssl-sys env) → 46308978626 (void, nix runtime output lacks openssl.pc) → 46310129068 (executed, RED as above).
- PR fix(fleet-queue): reprioritize can set the ratified bands and projects them faithfully (#16857) #16890 remains merged; bug(fleet-queue): reprioritize cannot set ratified bands 15/25, and its label write-back erases expedite/next-up #16857 remains closed. This issue tracks only the red confirmation test.
Priority: high — a named regression test for the ratified priority write-back contract is red on main; not critical (main compiles; the rest of the suite is 977/981).
Acceptance criteria
cargo test -p fleet-queue --lib --features queue-brokerpasses on main, includingsync_touches_only_priority_labels.- The adjudication — code regressed the bug(fleet-queue): reprioritize cannot set ratified bands 15/25, and its label write-back erases expedite/next-up #16857 BAND_LABELS contract vs a stale source-shape assertion — is recorded on this issue, and the fix lands on the side the evidence supports.
- A fleet-command confirmation run against main is linked here as the verification of record.
Metadata
Metadata
Assignees
Labels
app/fleetpkgs/fleet multicall binary + platform crateseffort/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivesource/agentCreated by an agent workerstatus/needs-triageNot yet triaged; needs a first look
Activity
developing-today-fleet commentedon Nov 29, 2026
🤖 Agent note · Felix lane 0640-DE CLAIM (2026-11-29): adjudicating the test-vs-code drift for
sync_touches_only_priority_labels— reading the failing source-shape assertion and the currentsync_reprioritizedimplementation on main against the ratified axes doctrine (#16857 contract: broker sync touches ONLY the priority band labels; stored values exact, never snapped), then fixing the stale side and dispatching the gate run with the corrected OpenSSL recipe. Queue leg down — claim rests on this comment.test(fleet-queue): re-pin reprioritize sync test to the ratified BAND…
developing-today-fleet commentedon Nov 29, 2026
🤖 Agent note · Felix lane 0640-DE — adjudication: the TEST is the stale side. Fix open as PR #16980.
Evidence read firsthand (origin/main source of
pkgs/fleet/crates/fleet-queue/src/queue_broker.rs+validate.rs, and CP's executed run 46310129068):sync_reprioritized's source must containstarts_with("priority/"). The fn slice contains zero occurrences. The test's other two assertions (noexpedite/next-upliterals in the fn) still pass — the implementation names the table and the mapping function instead of literals. The sibling module tests (lineage-block, no-rollback) also still pass; an exact replica of all the module's source-shape assertions reproduces precisely this one failure against the old test and a full pass against the new one.validate.rs: removal is scoped toBAND_LABELS.contains(...)— "The GitHub labels that name a queue band: the fourpriority/*categories plus the two ratified band labels. The reprioritize sync owns exactly this set" — the current band's label is excluded from removal (!= label), and the added label comes fromband_label_for_priority(15 →expedite, 25 →next-up, else the category label).priority/prefix filter can never matchexpedite/next-upfor removal, and the old category projection rewrote them topriority/high— "reprioritize cannot set 15/25 and its label write-back erases expedite / next-up" (doc/agents/priority-model.md). PR fix(fleet-queue): reprioritize can set the ratified bands and projects them faithfully (#16857) #16890 (merged 2026-11-29T17:05:21Z) replaced the mechanism and the projection but left this one assertion behind.Fix (PR #16980, test-only):
sync_touches_only_priority_labelsnow pins the ratified shape — BAND_LABELS-scoped removal, current band label never removed, adds viaband_label_for_priorityand never through the category-onlyvalidate::label_for_priority, and the prefix filter pinned absent so the #16857 regression cannot return silently. Gate run dispatched against the PR branch with the corrected OpenSSL dev-env recipe (explicitopenssl.devinclude/lib/pkg-config paths, per CP's executed run), selectingreprioritize_syncplus thequeue_broker::surface; its executed counts are the verification of record and Felix merges after reading its log.Priority validation: priority/high on #16977 confirmed correct (a named regression test for the ratified write-back contract red on main; main compiles, suite otherwise 977/981 — not critical). No Drewry-set band touched.
developing-today-fleet commentedon Nov 29, 2026
Intake review
sync_reprioritizedprinting the function source — the first diagnostic step is diffing what the sync actually touches against the ratified BAND_LABELS set.sync_reprioritizedand enumerate its label touches; fix the side (code or test) the enumeration convicts; re-run the single test, then the full fleet-queue lib suite via fleet-command against main.🤖 Agent note · filed
developing-today-fleet commentedon Nov 29, 2026
Felix (2026-11-29): closing as completed. Adjudicated by lane 0640-DE: the test was the stale side — it pinned the pre-#16857 prefix-filter mechanism that #16857 was filed against; production implements the ratified BAND_LABELS contract. Fix PR #16980 merged by Felix; gate run 46311796316 read firsthand GREEN (reprioritize_sync 3/3, queue_broker:: 38/38). This also restores #16857's closure evidence: the reprioritize sync now has an executed green run on its own surface.