Repository navigation
Description
Split from #6528.
Problem: The stage job succeeds in 47% of graded attempts, under the 60% band. The Coder stage agent must show 30 or more graded attempts on the released version. The item cannot deliver the grade because the attempts need a release and elapsed time. The follow-up issue grades the attempts and checks the 60% band. Acceptance criteria: A released version holds the Coder stage agent. At least 30 stage attempts on that version are graded. Every attempt counts, including attempts with no infrastructure cut. The job grade is 60 or higher, or the issue reports the measured grade and the next action from docs/roadmap/job-success.md.
Proposed design
Problem statement
The stage job succeeds in 47% of graded attempts, under the 60% band. The Coder stage agent must show 30 or more graded attempts on the released version. The attempts need a release and elapsed time, so the item cannot deliver the grade now. This item grades the attempts and checks the 60% band.
Acceptance criteria
Requirement: Released version in the grade report
The grade report MUST name the released devops-cli version that holds the Coder stage agent.
Scenario: The report filters the released version
- WHEN
uv run devops roadmap eval grades --format json --repo <owner/repo>runs after the release that holds the Coder stage agent - THEN The report lists that release in the version rows for the
stagejob.
Requirement: Thirty graded stage attempts
The released version MUST have at least 30 graded stage attempts.
Scenario: The attempt count reaches the threshold
- WHEN
uv run devops roadmap eval grades --format json --repo <owner/repo>runs for the released version - THEN The
stagerow shows 30 or more attempts and a grade other thantoo few.
Requirement: Infrastructure cuts in the attempt total
The attempt total MUST include every stage result line, with infra=true or infra=false.
Scenario: An infrastructure cut is in the window
- WHEN A
stageresult line withinfra=trueis in the report window for the released version - THEN The attempt total of the
stagerow includes that line, and the gradepleaves that line out.
Requirement: Grade meets the 60 band or reports the action
The item MUST record a stage job grade of 60 or higher, or the measured grade and the next action from docs/roadmap/job-success.md.
Scenario: The grade is below 60
- WHEN
uv run devops roadmap eval grades --format json --repo <owner/repo>reports astagegrade below 60 for the released version - THEN The issue comment holds the measured grade and the action of the
60or<60row of the grade table indocs/roadmap/job-success.md.
Existing Tool Considered
No alternatives check has run. The existing devops roadmap eval grades command covers the need: it reads the stage result lines and prints the job grade and the attempt count. It lacks no capability for this measurement. The item adds no library and builds no code.
Key questions
- Which command produces the stage job grade?: Use
uv run devops roadmap eval grades --format json --repo <owner/repo>. It reads thestageresult lines and prints the grade, the attempts, the interval and the efficiency. [sources: docs/roadmap/job-success.md] - How does the report count a stage attempt with an infrastructure cut?: It counts the attempt in the attempt total and leaves it out of the ratio
p. (best practice) [sources: docs/roadmap/job-success.md]- Chosen: Count in the attempt total only. The job grade leaves infrastructure cuts out of
p, and the issue says every attempt counts. - Rejected: Drop from the attempt total. This hides attempts and can keep the version at
too few. - Rejected: Count in the attempt total and in
p. This conflicts with the job grade definition.
- Chosen: Count in the attempt total only. The job grade leaves infrastructure cuts out of
- How does the item identify the Coder stage agent?: Use the released devops-cli version in the
versionfield of thestageresult lines. The result line has no agent field. (best practice) [sources: docs/roadmap/job-success.md]- Chosen: Filter by the released version. The result line carries
version, and the issue asks for attempts on the released version. - Rejected: Filter by an agent name field. The result line has no agent field.
- Rejected: Filter by repository only. This mixes versions and cannot show the Coder stage agent.
- Chosen: Filter by the released version. The result line carries
- What does the item deliver when the grade is below 60?: Record the measured grade and the action of the
60or<60row ofdocs/roadmap/job-success.mdin the issue comment. The item makes no code change for a low grade. (best practice) [sources: docs/roadmap/job-success.md]- Chosen: Report the grade and the next action. The issue body names this result.
- Rejected: Open a fix issue at once. The issue asks for the report and the next action, not a new item.
- Rejected: Re-architect the workflow at once. The grade table gives the action, and the issue records it.
- Does the item need a new library or code?: No. The existing
devops roadmap eval gradescommand covers the measurement. [sources: docs/roadmap/job-success.md]
Fit
Fits in one pull request.
Suspected block
The grade waits on a devops-cli release that holds the Coder stage agent and on at least 30 stage attempts on that release.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 21, 2026
Both concern the Coder stage agent; #6528 delivers the agent in the runner image, while the candidate grades 30+ attempts on that released version and checks the 60% band.devops-cli-service commentedon Nov 22, 2026
Owner question: See Suspected block in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
dan-petty commentedon Nov 26, 2026
The measure of this item is done. This item closes as completed.
Result lines of the stage job on the releases that hold the Coder stage agent (0.201.6 to 0.221.8, 2026-11-23 to 2026-11-25; Loki,
roadmap job result:, read 2026-11-26T00:00Z):60ci_infra.plan_defect8,needs_split2,timeout1. The classparseris gone (14 on the old engine in the same window).The grade is
60, so the criterion "the job grade is 60 or higher" holds. The interval still includes<60, so the grade is not safe. The action of the grade60indocs/roadmap/job-success.mdis "Look for implementation alternatives, or serious defects that a fix can correct". #7269 holds that action: a trial of an open harness for the stage agent (Experiment 2 of #6519).Command for a new read:
devops roadmap eval grades --window 7d --format json, rows of the jobstageby version.