GeezerVison is showing github.com — fleet placement coordinator: proof-strength follow-ups (threaded slot race, gh-seeded load view, live sweep, design record) · Issue #15594 · developing-today/code
fleet placement coordinator: proof-strength follow-ups (threaded slot race, gh-seeded load view, live sweep, design record) #15594DescriptionFollow-up to #13765 (fleet placement central coordinator), split out by triage lane SZ (queue task 23925, 2026-11-26).
The core coordinator build already landed: PR #14585 merged 2026-11-24 (merge commit 20a7cf1). The independent verification record on #13765 (comment 7143762737) identified two proof-strength gaps worth follow-up rather than blocking that merge, and AUDIT-7 (comment 7117795075) identified a record gap. None has a tracking issue until now.
Remaining work:
- Threaded concurrency proof for the atomic slot gate: two threads racing the last slot, exactly one granted (today's
slot_gate_grants_to_cap_then_queues exercises the conditional UPDATE sequentially only).
- Load-view proof seeded with GitHub-observed counts: seed gh_running/gh_queued in the true view and assert admission/queueing against them, including
/placement-load returning those counts to a zero-coverage seat (today's tests exercise only the claims half; the sweep refresh leg runs against a FakeGh with empty loads).
- Live proof of the production sweep GitHub reads (
BrokerCoordGh) against real Actions counts on the merged broker generation (tests use fakes only).
- Dated design record in doc/ for the fleet placement: central coordinator for compile dispatch — atomic slots, true load view, global budgets, cross-seat queueing #13765 design of record (today it lives only in issue comment 7114228830), per the AUDIT-7 gap.
Acceptance: tests 1-2 land and pass in repo CI on main (cargo test -p fleet-queue --features queue-broker --lib via the fleet CI route); item 3 evidenced on #13765 or here; item 4 lands as a dated doc/ record with an index link. Link this issue from #13765; #13765 closes only when this follow-up is dispositioned or Drew accepts the current proof form on the record.
Acceptance criteria
- The threaded slot race in the fleet placement coordinator is closed, with a test or proof artifact that exercises the race.
- The gh-seeded load follow-ups are implemented, or split into their own tracked follow-up issues linked from here.
- The coordinator's existing test suite stays green.
Activitydeveloping-today-fleet commented on Nov 26, 2026 Intake review
🤖 Agent note · filed
- Agent: fleet monitor (repo-fleet-monitor)
- Session / ID: repo-fleet-monitor run 2026-11-26 07:14 CST
- Found via: monitor reconciliation (intake enrichment, protocol §5)
- Task: Intake pass — acceptance criteria appended to the issue body, labels normalized (priority/normal, effort/m, meta/enriched).
- Expectation: a queue worker or sweep picks this up with the criteria above as the definition of done.
- Links: n/a
Notes: Proof-strength follow-ups to the fleet placement coordinator (threaded slot race, gh-seeded load). Risk: concurrency fixes without a race-exercising test tend to regress silently. Suggested approach: land the race fix with a deterministic stress/repro test first, then the load-seeding follow-ups.
Verified live: no merged PR found in this pass that explicitly resolves this issue, so it stays open. If a candidate fix surfaces, link it here before closing.
dezren39 commented on Nov 26, 2026 Triage verdict — Lane oc-code-07 (2026-11-26)
Verdict: VALID; proof-strength gaps are still open and should be worked as feature slices. The coordinator implementation is present on main, but the named acceptance remains unmet:
slot_gate_grants_to_cap_then_queues is sequential; despite the atomic conditional UPDATE, it does not start two concurrent claim calls for the last slot.
- Existing tests do not seed nonzero
gh_running / gh_queued and verify admission against those observed counts. Sweep coverage uses FakeGh with empty loads.
BrokerCoordGh has no live production-read proof recorded on this issue.
pkgs/fleet/book/concepts/compile-coordinator.md exists, but is an older design chapter, not a dated design-of-record; it still says the coordinator build has not landed. The requested dated record/index link is therefore not satisfied.
No hold labels are present. The issue is actionable without an owner decision. Recommended sequence: (1) add a two-thread last-slot race test, (2) add seeded GitHub-load admission and /placement-load assertions, (3) record live sweep evidence when the merged broker generation can be exercised, and (4) add a dated design record with an index link. After the race-test PR, the test command cargo test -p fleet-queue --features queue-broker --lib should demonstrate exactly one winner for the final slot. dezren39 commented on Nov 26, 2026 Progress — Lane oc-code-07 (task 24416)
- Dated coordinator design record opened: PR Add dated design record for fleet placement coordinator #15728 (Part of fleet placement coordinator: proof-strength follow-ups (threaded slot race, gh-seeded load view, live sweep, design record) #15594; branch
oc-code-07/15594-design-record, commit def98421e54). It preserves the fleet placement: central coordinator for compile dispatch — atomic slots, true load view, global budgets, cross-seat queueing #13765 decision/state/admission/sweep/fallback/proof-bar contract as an immutable dated record and indexes it from doc/README.md. It does not close fleet placement coordinator: proof-strength follow-ups (threaded slot race, gh-seeded load view, live sweep, design record) #15594.
- Remaining proofs: threaded last-slot race and seeded GitHub-load admission tests are being worked in a dedicated slice branch/worktree by a background subsession. Live
BrokerCoordGh production sweep proof is blocked without a read-only Fleet front-door verb for /placement-load; a read-only audit found no placement/coordinator CLI leaf — only queue counts, seat-side dry-run GH reads, registry caps, and seat-local generation history. A broker-side read verb would be needed to evidence it.
dezren39 commented on Nov 26, 2026 Lane oc-code-07 / task 24416 checkpoint: PR #15729 adds the barrier-threaded last-slot race and GitHub-seeded load/admission/drain proofs (test-only, SHA 2bf1ae5). Parent reviewed the full diff. Remote targeted verification succeeded: https://github.com/dezren39/fleet/actions/runs/45899370573 (6 coordinator tests passed). Full library suite and main-after-merge verification are not yet run. Dated indexed design record is PR #15728, SHA def9842. Both PRs remain open; #15594 remains open. Resume by reviewing/landing these slices, running the full required library suite on main, and adding a Fleet front-door read of broker placement-load for the outstanding live sweep proof. Parking task with those concrete resume points, not awaiting a person. developing-today-fleet commented on Nov 26, 2026 Fresh triage (2026-11-26): this remains live, but its proof/design work is already underway and pushed. PR #15729 covers the threaded slot race and gh-seeded load proofs (targeted tests: 6 passed; Fleet run https://github.com/dezren39/fleet/actions/runs/45899370573); PR #15728 carries the dated design record. Existing task progress also identifies production BrokerCoordGh live-sweep evidence as outstanding. No duplicate implementation started. Resume after PR outcomes to verify main CI and disposition the remaining live-sweep evidence. developing-today-fleet commented on Nov 27, 2026 Triage update — Lane oc-code-02 (2026-11-26)
Verdict: VALID; keep open and return to the queue after the existing proof slices settle. No duplicate implementation was started. PR #15728 (dated, indexed design record) and PR #15729 (barrier-threaded last-slot race plus GitHub-seeded load/admission/drain proofs) remain open. The targeted six-test Fleet run passed; the full fleet-queue library suite is running at https://github.com/dezren39/fleet/actions/runs/45917006319. The broker-side live BrokerCoordGh sweep proof remains uncovered: current Fleet front doors do not expose a read-only /placement-load view. Resume when the full-suite run and both PR outcomes are available; then verify merged main and either capture live sweep evidence through a supported read surface or enqueue that remaining proof as follow-on work. No person/owner decision is needed. developing-today-fleet commented on Nov 27, 2026 Verification update: full Fleet-dispatched cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet-queue --features queue-broker --lib completed successfully on PR #15729 head (run 45917006319): 757 passed, 0 failed. PRs #15728 and #15729 remain open, so the disposition is to park this valid issue/task until their outcomes, then verify merged main and handle the remaining live broker sweep proof.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|