Skip to content

PR attention rollup counts superseded check runs as failures #1256

Closed

Description

@SawyerHood

Source

Discord report by Mockafjongen: https://discord.com/channels/1522478522332090528/1535636404497809459/1536012411331547237

The report uses bb 0.36.0 on macOS.

Problem

The pull request rollup returns attention: "checks_failed" when GitHub shows no failing checks.

A check named conventional title has two runs:

  • The earlier run has the CANCELLED result.
  • The later run has the SUCCESS result.

GitHub keeps the latest result for the check name. bb keeps both runs and counts the cancelled run as a failure.

The route returns these incorrect values:

{
  "checks": {
    "state": "failing",
    "totalCount": 11,
    "passedCount": 9,
    "failedCount": 1,
    "pendingCount": 1
  },
  "attention": "checks_failed"
}

Expected result

bb collapses superseded runs by check name. The latest check run controls the rollup.

The rollup returns checks.state: "passing" and failedCount: 0. It returns attention: "blocked" for the reported merge and review state.

Activity

  1. added theissue type on Aug 10, 2026
  2. self-assigned this
    on Aug 11, 2026
  3. added a commit that references this issue on Aug 11, 2026
    f597776
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions