Repository navigation
Description
Problem or Motivation
No log line shows what a fix loop of the roadmap jobs did, so the pass rate of a return cannot be measured.
Evidence on origin/main 7234d71:
_returned(src/devops_cli/roadmap/stage/stage.py:1160) sends a refused plan back to the model up toCONST_ROADMAP_STAGE_GATE_RETURNStimes. It logs each refused reply (stage reply refused: ...), but no line says that a reply passed after a return._verified(stage.py:1278) runs the model review and up toCONST_ROADMAP_STAGE_VERIFY_REPAIR_ROUNDSrepair rounds. No line gives the round or its counts of findings._record_failures(stage.py:2670) writes each failed item to its job record. The Service logs no line for each failed item._report(src/devops_cli/roadmap/implement/implement_submit.py:285) reports each ended implement Job in a comment and in metrics, but writes no log line for the attempt._format_error_line(src/devops_cli/roadmap/run.py:1397) keeps only the first line of an error, cut at 256 characters. The stage error names each failed item in one text, so a long reason of the first item hides the others. In a study of 48 hours of Service logs, the failure lines named 433 of 628 failed items.
So only 32 of 54 refused stage runs could be joined to a result, and the pass rate of a return is somewhere between 9% and 37%.
Proposed Solution & Architectural Design
One log line with counts and no model text for each of these events:
- a stage reply that passed or stayed refused after one or more returns: item, returns, result;
- a stage review round: item, round, findings, findings that return the plan, open findings;
- a failed stage item: item, step, failure class;
- an ended implement attempt: item, Job state, failure class, repair rounds, new tokens, and the runner image digest that the item record holds (
implement.job_digest).
Each stage line carries the devops-cli version of the Service. The release workflow builds the Service image only for a release, with the release tag and latest, so the version names one image digest; the Service process cannot read its own digest with no Kubernetes API request.
The error line of a round names every failed item: an error with failed_items adds the numbers after the first line, outside the cut at 256 characters.
Target Subsystem
Roadmap Service: stage job, implement submit, the round error line.
Existing Tool Considered
The standard logging module and the JSON log format of the Service, which Loki reads. No tool is new.
Activity
dan-petty commentedon Nov 11, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
featprefix of the title gives the type.(roadmap)scope of the title gives the scope.It improves observability and enables pass-rate measurement but does not block a user-facing flow.Operators can measure return pass rates and trace failed items, which aids debugging and capacity planning.It adds several log lines across stage.py, implement_submit.py, and run.py, plus a small change to the error-line format.Both add log lines to the stage job, but #4521 logs the reason an item is left out while the candidate logs fix rounds, review rounds, failed items, and implement attempts.devops-cli-service commentedon Nov 11, 2026
Released in v0.112.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.112.0
devops-cli-service commentedon Nov 11, 2026
Live since 2026-11-11 14:13 UTC