Skip to content

Epic progress: count plan issues, and make the progress comment, the ready comment and the title agree #3594

Closed

Description

@integry

Problem

The epic title and status line say N of M issues merged, but N counts every pull request merged into the epic branch, and different comments on the same epic use different numbers.

Observed:

Expected / acceptance criteria

  • "issues merged" counts plan issues whose pull request is merged into the epic branch. A pull request without a plan issue (a human PR into the epic branch) does not change N or M; two PRs for one issue count once.
  • The progress comment, the "all child PRs merged" comment, the status line and the title use the same N and M.
  • An issue closed as not planned is removed from M and from the epic body's Fixes lines on the next update.
  • When the epic PR is merged, the progress comment's final state is consistent (no 75% next to "merged").
  • Regression tests for: an extra human PR in the epic branch, two PRs for one issue, an issue closed as not planned.

Implementation

The counts come from the existing epic merge progress computation (packages/core/src/services/epicPRService.ts, packages/core/src/webhook/epicProgressActivity.ts, pullRequestStatusEpicFacts.ts); the changelog says the status reuses it. Fix the computation once and make every writer use it.

Notes

ProPR runs on SQLite only: do not add code or tests for other databases. Do not change which PRs may be merged into an epic branch.

Activity

  1. propr-dev commented on Nov 17, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 3594/claude-opus-5-5-epic-progress-count-plan--20261117-0116-bhr
    • Base Branch: 3589-epic-0-9-y3w
    • Worktree: issue-3594-20261117-0116-claude-opus-5-5-bhr

    🔍 Track Task Execution

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions