Repository navigation
feat(service): each roadmap job runs in its own lane - #5563
Conversation
Each row of the due table now runs in a lane of its own: one worker and one trigger queue for each row and repository, named after the row. A stage round no longer holds back a refine round of the same repository. - The setting service.lanes puts rows into a shared lane. The Service reads it when it starts and refuses an unknown row, a row in two lanes and a lane name of another row. - Each lane works in its own clone, lanes/<lane>. A test with two git worktrees of one clone showed fetches that fail on the shared refs. - Each lane reads through its own listing snapshot. The lane of intake keeps the intake snapshot, which the scoped intake also reads. - The start of the Service removes the clones and the snapshots of the lanes that it does not run. - A trigger carries the issue of its event as an optional subject, the seam for #5555. - The row seconds histogram carries the lane in a Service round.
The cluster runbook, the term Lane, the intake, stage and alternatives pages and ADR 0017 now tell that each row runs in a lane of its own, and how service.lanes groups rows. The scoped update spec now wakes each other lane. The generated documents carry the setting service.lanes, the help of serve --service and the lane of the row seconds histogram.
The comments of the stage stamp, the webhook keys, the listing snapshot and the job record lock named the status, triage and model lanes. They now name the lane of each row.
After a scoped intake of an edit or of a critical placement, the Service sent the trigger to each lane but the lane of intake. When service.lanes puts refine or retitle into the lane of intake, an edit then did not make those rows due. lanes_to_wake now sends the trigger to the lane of the update too when that lane holds another row. The spec of the row seconds histogram now gives 13 rows and 39 series, as the instrument and its test do.
The stage command, the stage Job and the stage row of the Service named the status clone. The status lane is gone: the command and the Job work in the clone 'clone', and the row works in the clone of its lane.
The helper of the lane table test held a type: ignore. With the tests of origin/main, the tests then held 80 of them, above the ceiling of 79 that test_suppressions_stay_under_their_ceilings checks. The helper now takes the rows as JobRow.
The stage row moved to the status lane in #4559, so a blocked stage round and the clone of stage no longer prove the lanes against origin/main. The tests of a blocked round and of the working trees now also run on refine and alternatives, which shared the model lane and its clone there.
|
Review and test results for the head of this pull request (rebased on Fail-to-pass (
Scoped checks on the head:
Render diff: Fixes in review:
Open: live proof after the release (Loki: refine and alternatives rounds of devops-cli at their interval while another round runs; the #5470 queue lines; the largest working set of the first day against 3Gi; the volume use, about 1.45 GB expected on a 1Gi |
The lane settle of the Service tests waited for each worker once. A scoped update enqueues its wake on other workers while its own worker is active, so a worker that the pass found idle could get the trigger after it, and test_a_wake_reaches_the_rows_that_share_the_lane_of_the_scoped_update failed in CI. The settle now makes a second pass.
003bf5f to
9affda2
Compare
|
Fix after the first CI run (head 9affda2): shard 1 of Tests & Coverage failed in |
Check resultsHead commit:
Skipped check: Tests on Main |
🤖 I have created a release *beep* *boop* --- ## [0.134.0](v0.133.0...v0.134.0) (2026-11-13) ### Features * **service:** each roadmap job runs in its own lane ([#5563](#5563)) ([268938a](268938a)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Each row of the roadmap due table now runs in a lane of its own in the Service: one worker and one trigger queue for each row and repository, with the name of the row. A round of one row no longer waits for a round of another row, such as alternatives behind refine.
service.lanesputs rows into a shared lane. The Service reads it when it starts.lanes/<lane>, and reads the listing through its own snapshot. The start removes the state of the earlier lanes.devops_cli_roadmap_row_secondsgets the labellane.The model call limit, the GitHub budget and the failure ledger stay shared. Overlap: #5559, #5560.
Closes #5553
Change:
openspec/changes/archive/2026-11-13-5553-each-roadmap-job-in-its-own-lane/