Skip to content

fix(release): query all milestone issue states and standalone prs for pr deliverables #330

Closed

Description

@dan-petty

Problem Description

When executing devops release pr, the milestone deliverables query _query_gh_milestone_issues defaulted to --state open by invoking gh issue list --milestone <tag> without --state all. Consequently, all completed/closed milestone issues were omitted from the PR description's ### Included Deliverables section, leaving only open epics. Additionally, standalone milestone pull requests (such as #292) and milestone assignment (--milestone) were missing from _build_release_pr_command.

Resolution

  • Update _fetch_raw_milestone_issue_numbers to specify --state all and limit 100.
  • Implement _fetch_raw_milestone_pr_numbers to discover standalone milestone PRs while deduplicating referenced closed issues.
  • Pass --milestone to _build_release_pr_command with graceful fallback handling in _execute_release_pr.
  • Consolidate assertions with structural tuple checks and keep cyclomatic complexity $M \le 10$.

Activity

  1. added this to the v0.2.21 milestone on Sep 19, 2026
  2. added
    type/bug
    priority/p1-high
    status/in-progress
    scope/release
    on Sep 19, 2026
  3. removed
    status/in-progress
    on Oct 30, 2026
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/releasetype/bug

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions