Skip to content

fix(roadmap): a stage plan reads back with other criteria #5952

Closed
0 of 1 issue completed
Closed

Description

@dan-petty

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)

Test first: a round trip of the criteria of each of the three items gives the same criteria.

Related

Sub-issues

Sub-issues

0 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. dan-petty commented on Nov 16, 2026

    @dan-petty
    OwnerAuthor
    • Priority: P0-Critical. The stage job fails on 4 of 9 attempts and items wait 6 h with the same result, blocking service jobs.
    • Related: fix(roadmap): stage reads each plan back before the push #5214, which asks for a different change. 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.
  2. added
    type/bug
    source/agent
    scope/roadmap
    status/new
    effort/medium
    value/high
    priority/p0-critical
    owner/agent
    on Nov 16, 2026
  3. added
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 16, 2026
  4. removed
    status/in-review
    owner/agent
    on Nov 16, 2026
  5. devops-cli-service commented on Nov 16, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-16 11:49 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p0-criticalscope/roadmapsource/agenttype/bugvalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions