Skip to content

fix(service): run the implement row on the status lane - #2763

Merged
dan-petty merged 8 commits into
mainfrom
fix/2757-implement-status-lane
Oct 30, 2026
Merged

dan-petty merged 8 commits into
mainfrom
fix/2757-implement-status-lane

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The implement row ran on the model lane. A model-lane round that waits for the model delayed the row. On 2026-10-30 a round of refine ran for more than 31 minutes, and the row waited behind it.

The row sends no model request. It now runs on the status lane, after the metrics row. A poll makes it due by its interval, with no wait for a model-lane round.

Two lanes now run at the same time for one repository. Each write of the job record of an issue takes one lock, and reads the issue again inside it. A write changes only the keys it names. So a write of refine or stage keys and a write of implement keys cannot lose each other's keys. Tests with two stores on one fake issue show this.

The ledger of failed rounds has no lane in its key, so a record from the earlier version loads as it is. A lane that reads no change now adds the hour of the round to its input. A row that failed its limit of rounds in a row tries again in a later hour, with no webhook.

Closes #2757

@dan-petty

Copy link
Copy Markdown
Owner Author

Test results

  • Full devops ci: all checks pass. The test check took 296 s (4m 56s), with other agents running in parallel.
  • devops ci fail-to-pass --base origin/main: 9 tests fail on the base and pass on the branch, 1 errors on the base. This includes the new test of the hourly retry.

Review findings fixed

  • The lanes comment in constants.py is wrapped again at 100 characters (two findings).
  • The docstring of build_stub_table now names the rows in the table order.
  • A suspended implement row could run again only after a webhook. The input of a status-lane round now holds the hour of the round. A new test fails before the change and passes after it. The design and the spec say so.

Findings declined: none.

@dan-petty
dan-petty marked this pull request as ready for review October 30, 2026 05:05
…atus-lane

# Conflicts:
#	tests/test_roadmap_run.py
@dan-petty
dan-petty merged commit cd94f2c into main Oct 30, 2026
19 checks passed
@dan-petty
dan-petty deleted the fix/2757-implement-status-lane branch October 30, 2026 08:32
dan-petty pushed a commit that referenced this pull request Oct 30, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.22.1](v0.22.0...v0.22.1)
(2026-10-30)


### Bug Fixes

* **github:** ask no traffic endpoint as the App
([#2759](#2759))
([692c15f](692c15f)),
closes [#2752](#2752)
* **roadmap:** a stop of the Service is not a failed round
([#2756](#2756))
([0b7e190](0b7e190)),
closes [#2753](#2753)
* **roadmap:** say why an implement step stopped
([#2762](#2762))
([cd56ce4](cd56ce4)),
closes [#2758](#2758)
* **service:** render and alert on the hourly request budget
([#2760](#2760))
([809d85b](809d85b)),
closes [#2755](#2755)
* **service:** run the implement row on the status lane
([#2763](#2763))
([cd94f2c](cd94f2c)),
closes [#2757](#2757)


### Performance Improvements

* **ci:** cut test job time and guard its mean
([#2764](#2764))
([e76f656](e76f656)),
closes [#2699](#2699)

---
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(service): the implement row waits behind refine on the model lane though it calls no model

1 participant