Skip to content

fix(roadmap): Count a refine result of alternatives as a success #6037

Description

@dan-petty

Problem

The grade of refine counts the result alternatives as a failure. SUCCESS of src/devops_cli/roadmap/job_result.py (about line 94) holds ready, person, split and blocked for refine. But NextStep.ALTERNATIVES (src/devops_cli/roadmap/refine/refine.py, about line 371) is a next step like blocked: a proposal that is ready waits on the verdict of the alternatives row (#2951). So the grade undercounts refine: in the 24 hours to 2026-11-16 20:45Z, refine logged ready 41, blocked 30, person 28, alternatives 14, split 2 and retry 5 (plus 20 infrastructure errors). The grade shows 101/120 (84%), but only the 5 retry results are failures of the job: 115/120 (96%).

Expected behavior

  • SUCCESS[RoadmapJob.REFINE] holds alternatives, and the docs (docs/roadmap/job-success.md) say that a refine attempt that sets the next step alternatives succeeds.
  • A test fails when a NextStep value that is a wait (not retry, failed or none) is missing from the success set of refine, so a new next step cannot be forgotten.

Related

Activity

  1. dan-petty commented on Nov 16, 2026

    @dan-petty
    OwnerAuthor
  2. added
    type/bug
    source/agent
    scope/roadmap
    status/new
    value/medium
    effort/low
    priority/p2-medium
    owner/agent
    status/in-review
    and removed
    status/new
    on Nov 16, 2026
  3. removed
    status/in-review
    owner/agent
    on Nov 16, 2026
  4. added a commit that references this issue on Nov 16, 2026
  5. devops-cli-service commented on Nov 16, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-16 22:14 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/lowpriority/p2-mediumscope/roadmapsource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions