Repository navigation
fix(serving): parallel to the max — fail-fast backstop, pinned lane floor, sidecar yield, served-model provenance - #2570
Merged
Merged
Conversation
… probes decide the recurring 25-min tick wedge
…mit-holding caller must never park (the two-defer race) Glass-boxed: a background gen passed the pre-gate defer (no hold yet), took the serving lane, a solve acquired the hold, and the adapter backstop parked it WITH the lane — every solve tick starved at lane_wait behind it. The backstop now refuses (typed error), the caller's scope drops its permits, and the deliberation retry re-enters through the pre-gate defer which waits holding NOTHING. Also places the delib.defer.passed probe whose earlier insertion silently missed its anchor (this one asserted).
…4, lanes multiply only while each clears the solve regime window The LANE_CAP=1 receipt (2026-08-27: 4 lanes sold the window to 20k/slot, every solve starved at the #390 gate) named its own fix: a per-lane window floor for solve-class demand. ServingDemand now carries window_floor_tokens — set to the PINNED, published REGIME_WINDOW (40448) by the benchmark lease while Working rounds exist, cleared after. The planner's lane pick honors max(bootstrap, floor): lanes multiply only while EVERY lane fits a real solve. Constant-while-set, so the lane count cannot flap with p95 (the 718 law holds). Near-simultaneous near-frontier minds, no starvation — the RTOS advantage nobody running stock llama + python has.
…ile a solve floor stands, buying the second lane Measured this hour: 84k x 1 lane afforded, 40448 x 2 refused by a few GB — exactly the sidecar's ~9GB. Solve-regime work is text-only by construction; the sidecar's Drop frees the RAM, the next plan fits two real solve lanes, and sight respawns when the floor clears (like dreams, sight belongs to the idle era during measured work).
…so cross-model claims were unpublishable without it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Four live-validated commits that turned the single-lane crawl into a three-lane fleet, plus the provenance stamp that makes cross-model benchmark claims publishable.
What ships
openai_adapter.rs): a permit-holding caller that hits the measured-work hold now returns an error instead of parking — kills the two-defer race where a background generation took a lane pre-hold and then waited on it forever, wedging the fleet.serving_plan.rs,benchmark_resume.rs):ServingDemand.window_floor_tokens+SOLVE_WINDOW_FLOORpinned to the regime window (40448). LANE_CAP 1→4; lanes multiply only while each clears the floor — the 718-flap law holds because lane count derives from the pinned floor, never from demand.serving_daemon.rs): while a solve floor stands, the sidecar drops its slot — this bought the third lane.served_modelon every verdict (swe_bench.rs): verdicts stamp the live served model. Cards carry no model, so before this, a Flash-Next-vs-Ornith claim on the same instance was unpublishable. This is the honesty layer for the routing economy — a verdict without provenance poisons the price signal.Validation
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo