Repository navigation
Bridge 2c-2b: interactive lane and claim refresh - #9
Merged
Merged
Conversation
Reserve one opted-in worker for priority 100 jobs while preserving legacy download capacity. Bound admission, refresh changed claims, and keep recovered jobs leased while waiting for room.
Withdraw claim_min_priority after an ignored filter or pairing change. Keep returned jobs leased and admit them through their ordinary lanes. Cover rollback, heartbeat renegotiation, lease renewal and concurrency.
Hold one stray waiter per dispatcher while a server ignores the filter. Back off when an ordinary claim is answered outside the requested kinds.
This was referenced Oct 22, 2026
Owner
Author
|
Live re-run of the rollback check at a8ab6e8 (server e4768eb, 2c-2a server binary): PASS. Three admin fetches queued after swapping to the 2c-2a server before the next heartbeat all finished done, none failed and no cooldown started. The one min_priority claim the old server answered ran its priority-20 job in an ordinary lane; no further min_priority claims; after the old heartbeat download lane 2. Swapping back re-advertised claim_min_priority and the reserve claimed an interactive fetch at 100 (download 7 ms after the request). Peak enclosures 2. |
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.
Bridge Phase 2c-2b: on-demand podcast play, Bridge side. Builds on 2c-2a (#8). No migration. Pairs with KodeStar/audiosilo-server#164 and KodeStar/audiosilo-docs#158.
What
podcast.fetchis the first. It claims only jobs at priority 100 or higher, viaGET /bridge/jobs/next?...&min_priority=100, and only after the heartbeat reply'sacceptsnamesclaim_min_priority.Why
Plan
.bridge-2c2/plan/plan.mdsections 2.12 and 4.3 (D13, D14), plus section 11. Shapes come frominternal/podcast/testdata/phase2c2/wire-2b.json, byte-identical in the server repo.Tests and review
go build,go vet,go test -race ./...and golangci-lint all green./simplifyand/code-review --fix), then one high pass on the fix round.Live verification (one harness, a real server, the 2c-2a binaries for the fallbacks, one fixture server)
min_priorityclaims.