Repository navigation
Description
Problem or Motivation
The implement row waits behind the model-bound rows of its repository, though it makes no model call in the Service pod. On 2026-10-30 an implement: retry comment on #2656 produced no Job for more than 90 minutes, with the budget raised to 2000 requests an hour.
Evidence from the Service on 2026-10-30:
devops_cli_service_job_start_timestamp_seconds{lane="model",repo="dan-petty/devops-cli"}was 03:17:08, the start of the pod. At 03:48 the round had not finished:devops_cli_service_jobs_total{lane="model",repo="dan-petty/devops-cli"}had nosuccessseries, while each of the six other repositories had 7.queue_depthfor the lane was 1, a trigger waiting behind the running round.- For
dan-petty/devops-cli, the only model-lane row that sent GitHub requests in the last 35 minutes wasrefine(73 requests). The model (devops-background, one request at a time) answered about 3 requests in that time. - The model lane runs its rows in order: intake, refine, stage, implement, alternatives. A round that is still in refine never reaches implement.
The implement row finds a Staged or Planned item, makes a record, and creates a Job through the Kubernetes API (roadmap/implement_submit.py). The model runs in the runner Job, not in the Service. CONTEXT.md puts rows that call the model on the model lane and the rest on the other lane ("the other lane runs the metrics").
Proposed Solution & Architectural Design
- Move the
implementrow fromMODEL_LANE_ROWStoSTATUS_LANE_ROWSinroadmap/run.py. It runs on the status lane's clone, and a long refine round no longer delays it. - Check that the two lanes do not write the record block of one issue at the same time. Refine and stage write
refine.*andstage.*keys of an item, and implement writesimplement.*keys, each by read-modify-write of the issue body. The store must re-read the body before it writes, or the item must carry one writer at a time. A test with two writers on one issue covers it. - Update
CONTEXT.md("Lane"),k8s/README.mdand the docstrings that say which row runs on which lane. The cross-job predicate of a row (cross_job_predicate) works between rows of one lane; check that implement has none. - The metric labels
lane="status"for the implement row.
Target Subsystem
src/devops_cli/roadmap/run.py, src/devops_cli/roadmap/store.py, src/devops_cli/server/service.py, CONTEXT.md, k8s/README.md.
Existing Tool Considered
The two-lane design of #1532. Nothing new is built.
Acceptance criteria
- With a model-lane round that is still running, a trigger for the same repository runs the implement row on the status lane within one poll.
- A test with two writers on one issue shows no lost key in the record block.
CONTEXT.mdandk8s/README.mdname the lane of each row, anduv run devops cipasses with the docs regenerated.
Activity
dan-petty commentedon Oct 30, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(service)scope of the title gives the scope.A 90-minute delay on an implement trigger is a real operational defect but the system still completes the work.It removes a multi-minute to multi-hour delay for implement triggers on every repository.The core change is a list move, but it also needs a concurrency test, doc updates, and a metric label change across several files.Both address model-lane scheduling, but #2564 fixes cross-repo contention on the model tier while the candidate removes a non-model row from the model lane.chore(main): release 0.22.1 (#2765)