Skip to content

Roadmap Sync Reads Each Item's Priority From Its Own Tag #583

Closed

Description

@dan-petty

Problem

devops gh sync-roadmap labels each new issue with a priority from _extract_priority (src/devops_cli/github/roadmap_sync.py). It is called with the item's header and every body line, and it returns the first priority whose keyword appears anywhere as a substring (CONST_ROADMAP_PRIORITY_TAGS: p0, blocker, critical, then p1, high, then p2, medium, then p3, low). A (P1 - High) item whose title contains "Blocker", or whose body mentions "critical" or "p0", becomes priority/p0-critical; a (P2 - Medium) item whose body contains "high" (including "higher" or "highlight") becomes priority/p1-high.

Observed

On release/v0.2.23 after #580, 19 of the 189 open roadmap items derive a priority that disagrees with their own (Pn - ...) tag: 17 become P0 and 2 become P1. Examples: "In-Flight Work, PR Stagnation & Blocker Radar" (P1 - High) and "Executable Verification Criteria" (P1 - High) both derive priority/p0-critical. Every open item carries a tag, so the tag alone is sufficient.

Expected

The priority comes only from the item's own (P0 - ...) to (P3 - ...) tag on its header line; body text and words in the title never change it. An untagged item keeps the current default. A test over the live docs/ROADMAP.md asserts that every open item's derived priority equals its tag.

This is the first step of the roadmap entry "Roadmap Deferrals Recorded Once and Honoured by Every Sync Path", split out so the #580 entries can be synced with correct labels.

Activity

  1. added this to the v0.2.23 milestone on Sep 25, 2026
  2. added
    type/bug
    scope/github
    priority/p1-high
    on Sep 25, 2026
  3. dan-petty commented on Sep 25, 2026

    @dan-petty
    OwnerAuthor

    Closed by #584, merged into release/v0.2.23.

    GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by devops gh issues close-merged.

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

    priority/p1-highscope/githubtype/bug

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions