Repository navigation
Description
Problem or Motivation
Child 17 of the ADR modernization (#5233). Code and the text of AGENTS.md rule 5. The tolerance is the owner's decision of 2026-10-23. The owner merges it.
The review of each record that this item changes:
- ADR 0014 (supersede (merge with 0004 into the merge-gate record)): It lists 3 of the 9 rules of the live ruleset. The CI SLO stays in AGENTS.md rule 5 and TESTING.md, with no third copy. 'Local runs' changes only in the PR that ships feat(pr): pr create gates the change and pushes once #4708.
Proposed Solution & Architectural Design
commands/ci.py uses an alarm limit of 360 s. The scheduled job comments on or files one P0 issue. Module weights come from recorded times, with line count as the fallback (core/test_selection.py:338). Remove the unused pytest-split pin (pyproject.toml:111). AGENTS.md rule 5 and docs/TESTING.md:180 state the tolerance one time.
Rules of the ADR process (docs/adr/README.md, #5225) that apply:
- Use one form for a Status History line, 30 words at most: 'YYYY-MM-DD: Amended by ADR NNNN, section S | Amended by the owner decision in #N, section S | Superseded by ADR NNNN | Fact out of date: (#N) | Living detail moved to (#PR).' The PR that makes a fact of a record wrong adds the line (AGENTS.md rule 8). An agent never edits the body of an accepted record.
Keep these constraints on purpose. The review found a reason for each one:
- ADR 0014, no strict policy and no merge queue: a repository that a user owns has no merge queue, and the release PR (always-update, reason at 0014:47) shows a red main.
- ADR 0014, pre-push runs only the fast static checks: the cluster gate (feat(k8s): add the CI gate WorkflowTemplate #4691, feat(ci): devops ci --remote runs the gate in the cluster #4698, feat(pr): pr create gates the change and pushes once #4708) is not built, so the text changes only in the PR that ships it.
- AGENTS.md rule 5, the 300 s CI target: only the alarm limit moves to 360 s, from the owner's words of 2026-10-23.
The owner merges this pull request.
Target Subsystem
src/devops_cli/commands/ci.py, pyproject.toml, AGENTS.md, docs/TESTING.md.
Existing Tool Considered
The scheduled CI duration job (in use). No new tool.
Acceptance Criteria
-
commands/ci.pyuses an alarm limit of 360 s: the target of 300 s and the tolerance of 60 s from the owner's words of 2026-10-23. - The scheduled job comments on, or files, one P0 issue when the mean is over the limit, and it files no second issue for the same breach.
- The unused pytest-split pin (
pyproject.toml:111) goes. - AGENTS.md rule 5 and
docs/TESTING.md:180state the tolerance one time.
Dependencies
None.
Related
- Tracker: docs(adr): track the ADR modernization #5233. Review source:
docs/adr/at e413c40. - fix(ci): test shards take up to 11 minutes, over the budget #4250 owns the module weights from recorded times (
core/test_selection.py:338), so this item does not build them. chore(ci): the local test row takes over 5 minutes #4405.
Source: #5233
Activity
dan-petty commentedon Nov 12, 2026
Both items work on the CI job-time alarm in commands/ci.py, but #4634 moves the alarm to the schedule only while this item sets the threshold to 360 s and adds P0 issue filing.dan-petty commentedon Nov 13, 2026
Evidence from
main: the scheduled CI Quality Gate run 43370174775 on 54cf0a5 (2026-11-13 05:09Z) failed in the job Test Job Duration: "Over the limit: the last 20 runs of Tests & Coverage took 316 s on average, and the limit is 300 s." The runner wait was 7 s on average.mainis red on this row now, so this item is the next build. The shard weights from recorded times (the second part of this item) must bring the average under 300 s; the alarm limit alone does not.devops-cli-service commentedon Nov 13, 2026
Released in v0.127.1: https://github.com/dan-petty/devops-cli/releases/tag/v0.127.1
devops-cli-service commentedon Nov 13, 2026
Live since 2026-11-13 12:38 UTC