Skip to content

fix(roadmap): Check the CI job-time premise before staging - #5765

Merged
dan-petty merged 7 commits into
mainfrom
fix/4026-check-the-ci-job-time-premise
Nov 15, 2026
Merged

dan-petty merged 7 commits into
mainfrom
fix/4026-check-the-ci-job-time-premise

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

An item can state that a CI job stays under a duration, and the stage job planned it without reading the current duration, as #2163 and pull request #3960 show. New module src/devops_cli/roadmap/stage/stage_time.py parses the check name and its under N s limit from the item body and compares the limit with the mean of the check's last 20 runs, passing a mean equal to the limit as devops ci job-time does. Before the planner call, the stage job reads the mean, retries once, returns the item to New with the evidence when the mean is over the limit through the existing false-premise path, and records a ci_infra failure when the read fails twice.

Closes #4026

Change: openspec/changes/archive/2026-11-14-4026-check-the-ci-job-time-premise/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 15, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 15, 2026 00:50
@dan-petty
dan-petty merged commit 058a27c into main Nov 15, 2026
24 checks passed
@dan-petty
dan-petty deleted the fix/4026-check-the-ci-job-time-premise branch November 15, 2026 00:55
dan-petty pushed a commit that referenced this pull request Nov 15, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.147.1](v0.147.0...v0.147.1)
(2026-11-15)


### Bug Fixes

* **roadmap:** Check the CI job-time premise before staging
([#5765](#5765))
([058a27c](058a27c))
* **roadmap:** judge and log each left-out plan in fix_plan
([#5771](#5771))
([988d63b](988d63b))

---
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

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): check CI job-time premise before staging time-budgeted items

1 participant