GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(pull-request): prioritize failed checks by akash3444 · Pull Request #12274 · pingdotgg/t3code

Conversation

@akash3444

@akash3444 akash3444 commented Sep 17, 2026 •
edited by juliusmarminge
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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:

  • Six focused suites: 255 → 256 tests. One new core regression checks cancellation priority, stable groups, and a passing rerun replacing an older failure. Existing timestamp coverage is retained. Existing Bitbucket pagination and GitCafe mapping fixtures were strengthened without adding tests.
  • Core/GitHub/Bitbucket JSON: 150 passed / 5 expected failures → 155 passed. The two revised API/mapping fixtures gave 76 passed / 2 expected failures → 78 passed. Forgejo adds 23 passing tests, for 256 total.
  • Broader verification: 615 tests across 22 scoped source-control files passed. The existing GitCafe provider pagination expectation was updated for failure-first ordering (24 passed / 1 failed → 25 passed), with no added tests.
  • Scoped source-control lint, formatting, and typechecks passed; one existing lint warning remains in the GitCafe provider test.
  • Linux web verification used the running app's actual PR Summary tab with isolated cached fixture data. The same entries were passed through the actual base and head helpers, then loaded through the app's existing detail-snapshot cache. This verifies the visible ordering; it does not claim live provider API sessions. The web popover and mobile apply their existing independent status grouping. Mobile's ranking still places pending checks before cancelled checks; this PR makes no mobile display-order claim. GitLab supplies one pipeline check and Azure DevOps supplies no checks, so neither needs list ordering.

Before — base helper output:

Before: failed checks mixed with successful and running checks

After — head helper output:

After: failed and cancelled checks appear first

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@akash3444
fix(pull-request): prioritize failed checks
03abb02
- Show failed and cancelled checks before other pull request checks
- Preserve ordering within failing and remaining check groups
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Sep 17, 2026
macroscopeapp[bot]
macroscopeapp Bot approved these changes Sep 17, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 03abb02

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Sep 17, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Warning

Review limit reached

Only developers with an assigned seat can use this organization's usage-based review budget, and seats here are assigned manually. Ask an admin to assign a seat, or change the review continuation mode in Billing.

Next included review available in 5 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Path: .coderabbit.config.ts
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4ec75abe-6a30-4048-8a52-280ca440045b
📥 Commits

Reviewing files that changed from the base of the PR and between bed9a43 and 79724d5.

📒 Files selected for processing: 10
  • packages/source-control-bitbucket/src/server/BitbucketPullRequestApi.test.ts
  • packages/source-control-bitbucket/src/server/BitbucketPullRequestApi.ts
  • packages/source-control-bitbucket/src/server/bitbucketPullRequestJson.test.ts
  • packages/source-control-core/src/server/pullRequestChecks.test.ts
  • packages/source-control-core/src/server/pullRequestChecks.ts
  • packages/source-control-forgejo/src/server/ForgejoSourceControlProvider.test.ts
  • packages/source-control-gitcafe/src/server/GitCafePullRequestProvider.test.ts
  • packages/source-control-gitcafe/src/server/gitCafePullRequestJson.test.ts
  • packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts
  • packages/source-control-github/src/server/gitHubPullRequestJson.test.ts

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Path: .coderabbit.config.ts
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: dd6f6f6e-5129-4e55-a2b8-44f8e7a99bae
📥 Commits

Reviewing files that changed from the base of the PR and between 2491227 and bed9a43.

📒 Files selected for processing: 9
  • packages/source-control-bitbucket/src/server/BitbucketPullRequestApi.test.ts
  • packages/source-control-bitbucket/src/server/BitbucketPullRequestApi.ts
  • packages/source-control-bitbucket/src/server/bitbucketPullRequestJson.test.ts
  • packages/source-control-core/src/server/pullRequestChecks.test.ts
  • packages/source-control-core/src/server/pullRequestChecks.ts
  • packages/source-control-gitcafe/src/server/GitCafePullRequestProvider.test.ts
  • packages/source-control-gitcafe/src/server/gitCafePullRequestJson.test.ts
  • packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts
  • packages/source-control-github/src/server/gitHubPullRequestJson.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.

📝 Walkthrough

The shared pull-request check utilities now sort failed and cancelled checks before other statuses. Bitbucket and GitCafe apply this ordering to returned checks. Tests across core and provider packages cover ordering, status mapping, pagination, and check names.

Changes: Check ordering

Layer / File(s) Summary
Prioritize failed and cancelled checks
packages/source-control-core/src/server/pullRequestChecks.ts, packages/source-control-core/src/server/pullRequestChecks.test.ts
The exported sortChecks helper places failed and cancelled checks before other statuses. dedupeChecks applies the ordering to its results. Core tests cover status priority and check ordering.
Apply ordering in provider check results
packages/source-control-bitbucket/src/server/BitbucketPullRequestApi.ts, packages/source-control-bitbucket/src/server/BitbucketPullRequestApi.test.ts, packages/source-control-bitbucket/src/server/bitbucketPullRequestJson.test.ts, packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts, packages/source-control-gitcafe/src/server/gitCafePullRequestJson.test.ts, packages/source-control-gitcafe/src/server/GitCafePullRequestProvider.test.ts, packages/source-control-github/src/server/gitHubPullRequestJson.test.ts
Bitbucket and GitCafe sort their returned checks with sortChecks. Provider tests update expected ordering and cover status and name mappings. The GitHub test expects a failed check before a pending check.

Priority: ⬇️ Low

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Bug fix

Suggested reviewers: juliusmarminge

Merge Risk: ⚪ Minimal · up to bed9a

Failed and cancelled checks are prioritized as intended, with no identified issue requiring resolution before merge.

Pre-merge checks: Passed 3 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description provides clear problem, change, and verification details. It does not include a dedicated Scope and approval section or provide the required triaged issue or explicit maintainer approv… Add a Scope and approval section. Link the triaged issue or approval discussion, include the explicit maintainer approval comment, and explain why the change is within the approved scope.
Passed Passed checks: 3 passed
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: failed checks receive priority in pull request check ordering.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description provides clear problem, change, and verification details. It does not include a dedicated Scope and approval section or provide the required triaged issue or explicit maintainer approval for the behavior change.

Resolution

Add a Scope and approval section. Link the triaged issue or approval discussion, include the explicit maintainer approval comment, and explain why the change is within the approved scope.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

akash3444 and others added 2 commits September 17, 2026 22:55
@akash3444
fix(server): prioritize failed pull request checks
bbaa378
- Sort failed and cancelled checks before passing checks while preserving relative order
@akash3444
Merge branch 'main' into fix/pr-check-failures-first
2491227
@juliusmarminge ChatGPT Codex Connector

juliusmarminge commented Oct 1, 2026

Copy link
Copy Markdown
Member

Note

This comment is posted by Julius' dot

The screenshots show the visibility problem: failed checks sit among many successful checks. The patch replaces dedupeChecks’ documented provider-order behavior with failed/cancelled-first ordering for every consumer, and updates the provider expectations accordingly.

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge mentioned this pull request Oct 8, 2026
[Bug]: PR watch reports "All checks passed" while a second run of the same check is still in progress #17207
Closed
2 tasks done
@incognitojam incognitojam mentioned this pull request Oct 10, 2026
Audit: checks and merge presentation diverges from GitHub incognitojam/styal#186
Open
16 tasks
@maria-rcks

maria-rcks commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator

Note

Written by claude-opus-5-5 on behalf of Maria

Hi! We are cleaning up open PRs, and this one appears to have been created with an older model (gpt-5.6-sol). If this change is really important, we recommend rebuilding the PR with a newer model if possible.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@maria-rcks maria-rcks closed this Oct 11, 2026
@maria-rcks

maria-rcks commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator

Note

Written by claude-opus-5-5 on behalf of Maria

Reopening, this was closed by mistake. Sorry for the noise!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@maria-rcks maria-rcks reopened this Oct 11, 2026
This was referenced Oct 13, 2026
fix(source-control): keep distinct CI checks with overlapping names #19162
Merged
fix(source-control): compare check run timestamps by instant #20094
Merged
@juliusmarminge juliusmarminge self-assigned this Oct 19, 2026
@juliusmarminge

juliusmarminge commented Oct 19, 2026

Copy link
Copy Markdown
Member

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

juliusmarminge and others added 6 commits October 19, 2026 16:24
@juliusmarminge
Merge remote-tracking branch 'origin/main' into fix/pr-check-failures…
ee88370
…-first

# Conflicts:
#	apps/server/src/pullRequest/pullRequestChecks.test.ts
#	apps/server/src/pullRequest/pullRequestChecks.ts
@juliusmarminge
fix(source-control): show failed checks first
b3b2263
@juliusmarminge
fix(source-control): order checks after page aggregation
46774ee
@juliusmarminge
test(gitcafe): expect failed checks before passing checks
bed9a43
@juliusmarminge
Merge remote-tracking branch 'origin/main' into l54-12274
f853542
@juliusmarminge @claude
test(forgejo): expect failed checks first
79724d5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge
juliusmarminge merged commit 03c1a76 into pingdotgg:main Oct 20, 2026
27 checks passed

Uh oh!

There was an error while loading. Please reload this page.

Pipyakas pushed a commit to Pipyakas/t3code that referenced this pull request Oct 21, 2026
@akash3444 @juliusmarminge
@claude @Pipyakas
fix(pull-request): prioritize failed checks (pingdotgg#12274)
f853274
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 03c1a76)
@olafura olafura mentioned this pull request Nov 7, 2026
test(features): ledger upstream T3 Code through 30d0138540 hal-c2/hal-c2#1125
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@juliusmarminge juliusmarminge

Labels

size:S 10-29 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@akash3444 @juliusmarminge @maria-rcks
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.