Repository navigation
fix(roadmap): run stage before refine on the model lane - #4841
Conversation
The model lane ran refine before stage. A round of 7 refine items takes 35 to 65 minutes, so the first round of each new Service pod held the lane before stage had a turn. Stage now runs before refine. A round in which refine set an item Ready writes stage_due to schedule.json, so stage is due in the next round (#2659). Refs #4796
|
Measurements and checks for this change. Measured (devops-cli lane, Prometheus
Expected stage runs per hour. A model of the lane with the measured numbers: refine 6.2 minutes for each item (log-normal), a stage round of 3 items that takes 32 minutes (2026-11-11) or 49 minutes (2026-11-10), a restart with a 10-minute drain at random times, 30 simulated days for each case.
So stage gets about 1 round of 3 items each hour (about 26 to 28 a day) with the current restart rate, against 10 on 2026-11-11. Refine stays at or above its rate before #4426 (about 3 items an hour on 2026-11-10). The alternatives in Checks:
Live steps: none. No setting or ConfigMap key changes. The release that carries this change rolls out the Service image. A |
🤖 I have created a release *beep* *boop* --- ## [0.114.0](v0.113.0...v0.114.0) (2026-11-11) ### Features * **k8s:** add cert-manager and the Barman Cloud plugin ([#4789](#4789)) ([cd6fb76](cd6fb76)) * **roadmap:** collect the git facts of a project review window ([#4794](#4794)) ([21d1bc0](21d1bc0)) * **roadmap:** consolidate has a read-only MCP mirror ([#4807](#4807)) ([2ec561d](2ec561d)) ### Bug Fixes * **ai:** devops ai agents detects the project manifest ([#4790](#4790)) ([e8d1e53](e8d1e53)) * **mcp:** bound the gh resources longer than a GitHub read ([#4844](#4844)) ([7f09921](7f09921)) * **roadmap:** run stage before refine on the model lane ([#4841](#4841)) ([96c9bee](96c9bee)) * **roadmap:** stop refusing test paths in base docstrings ([#4826](#4826)) ([1bbfce0](1bbfce0)) * **telemetry:** key the project gauges by repository ([#4804](#4804)) ([9f0e0c8](9f0e0c8)) ### Performance Improvements * **ci:** run the in-image suite nightly and on image pull requests ([#4828](#4828)) ([a2cfd9a](a2cfd9a)) --- 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>
The model lane ran
refinebeforestage. A round of 7 refine items (#4426) takes 35 to 65 minutes, and refine is due again when it ends. So the first round of each new Service pod ran refine, and stage often got no turn before the next restart.The model lane now runs
retitle,stage,refine,alternatives:stage_duetoschedule.json. Stage is due when that stamp is at or after its last success (feat(roadmap): the Service runs the stage job on the model lane for the items its label filter names, with OpenSpec in the Service image #2659). This replaces_stage_cross_job.#4559 stays the full fix for restarts that cut a stage round.
Closes #4796
Change:
openspec/changes/archive/2026-11-11-4796-run-stage-before-refine-on-the/