Repository navigation
Description
Problem
Since #5851 (merged 2026-11-15 09:37Z), the stage job reads each plan back before the push (read_back_problems, src/devops_cli/roadmap/plan_read.py), and a difference fails the item with RoadmapPlanReadBackError and the class plan_unreadable (src/devops_cli/roadmap/stage/stage.py, _file_findings). The docstring of the error says that a difference is "a defect of the writer or of the reader, not of the model".
From 2026-11-16 02:00Z to 06:40Z, plan_unreadable was the top failure class of stage (4 of 9 attempts in 6 h). The stage Job logs give the field of each:
| Item | Field that differs | Tokens of the attempt |
|---|---|---|
| #2202 | criteria |
1.7M |
| #3655 | criteria |
3.3M |
| #3671 | criteria |
1.7M |
| #3666 | group 4: implementation |
7.6M |
So the plan writer (file_facts and the renderer of the plan files) and the plan reader (read_change) do not agree on the criteria of 3 plans. The item then waits 6 h and is planned again with the same result.
The error names only the field. No log, comment or record keeps the two values, so the difference cannot be read after the run.
Expected behavior
- A plan that the writer renders reads back with the same criteria and the same fields.
- When a read-back difference happens, the stage Job log shows the index of the first differing criterion or entry and the two values, cut to a short length and masked, so a person can find the defect.
Fix options (the plan decides)
- Reproduce with no model: take the acceptance criteria of chore(monitoring): Drop old label fallbacks from AI spend dashboard #2202, feat(roadmap): a dashboard and alerts for the pipeline #3655 and fix(roadmap): stage_ready backs off after a failed check #3671 (the source of the criteria), render them with the writer, and read them back with
read_change. Find the construct that changes (for example a code span, a nested list, a line break, a leading word that the reader takes as a marker). - Fix the writer or the reader at the source, so the round trip is exact. Do not loosen the comparison.
Test first: a round trip of the criteria of each of the three items gives the same criteria.
Activity
dan-petty commentedon Nov 16, 2026
The stage job fails on 4 of 9 attempts and items wait 6 h with the same result, blocking service jobs.Both concern the stage read-back check, but #5214 added the check while the candidate fixes a defect the check revealed and adds diagnostic logging.devops-cli-service commentedon Nov 16, 2026
Released in v0.162.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.162.0
devops-cli-service commentedon Nov 16, 2026
Live since 2026-11-16 11:49 UTC