Repository navigation
Conversation
- Show failed and cancelled checks before other pull request checks - Preserve ordering within failing and remaining check groups
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a small, focused fix that reorders existing pull-request checks so failed and cancelled results appear first, without changing check data or workflow behavior. The shared helper and provider expectations are covered by focused tests, and no sensitive, configuration, schema, or deployment files are involved. You can add or adjust custom eligibility rules. Learn more. |
- Sort failed and cancelled checks before passing checks while preserving relative order
|
Note This comment is posted by Julius' dot The screenshots show the visibility problem: failed checks sit among many successful checks. The patch replaces Can a maintainer confirm that status priority should replace provider order, including cancelled checks? No direction is linked or recorded here. The prior-approval rule asks for agreement on intentional behavior changes. Leaving this open for that focused ordering decision; the supplied screenshots and stable-within-group regression coverage are useful. |
|
Note Written by Hi! We are cleaning up open PRs, and this one appears to have been created with an older model ( |
|
Note Written by Reopening, this was closed by mistake. Sorry for the noise! |
|
Taking over this one as maintainer for batch misc-01. Failed and cancelled checks should appear first, preserving provider order within each group. I will adapt the shared implementation to the current source-control packages, retain the original commits, and run focused tests and independent reviews. This work will remain unmerged. |
…-first # Conflicts: # apps/server/src/pullRequest/pullRequestChecks.test.ts # apps/server/src/pullRequest/pullRequestChecks.ts
Failed and cancelled checks can be buried among passing checks in the PR Summary tab.
The shared check mapper now puts failures and cancellations first after selecting the newest run of each check. It preserves provider order within both groups and retains timestamp comparison and workflow-name disambiguation. GitHub and Forgejo use this mapper; Bitbucket also orders the final combined pages, and GitCafe uses the same ordering without deduplicating its checks.
Credit to @akash3444 for the original fix in #12274. This maintainer takeover retains the original commits and merges current main.
Verification:
Before — base helper output:
After — head helper output:
Not exercised: macOS, Windows, iOS, Android, Electron desktop, or a second remote environment.
Implemented with Codex gpt-6.1-sol; tests by Codex gpt-6-astra; independent reviews by Claude claude-opus-5-5 and Codex gpt-6-sol through T3 Code delegate_task.