Skip to content

[Dr. CI] Expand the cancelled jobs section - #9609

Merged
huydhn merged 1 commit into
mainfrom
cc_drci_expand_cancelled
Nov 25, 2026
Merged

huydhn merged 1 commit into
mainfrom
cc_drci_expand_cancelled

Conversation

@albanD

@albanD albanD commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Author Notes

We should never collapse things that would prevent merging.

Agent Notes

Cancelled jobs land in failedJobs, so isDrciGreen treats them as failures: they make the Dr. CI headline ❌, block the "ready for review" promotion (isCiGoodForReview) and block merging. Their section was nonetheless rendered collapsed, the only blocking section to be so (NEW FAILURES, UNCLASSIFIED and AWAITING APPROVAL are open), sitting next to the collapsed non-blocking FLAKY / BROKEN TRUNK / UNSTABLE sections, so it read as non-blocking. For example, pytorch/pytorch#206339 stays in progress only because of 4 collapsed cancelled Lint jobs. This renders the CANCELLED JOBS section open and adds a test for it. Tested with npx jest --no-watchman test/drci.test.ts (67/67 pass).

This PR was written by Claude Code on behalf of albanD.

Cancelled jobs count as failures in `isDrciGreen`, so they turn the Dr. CI
headline red, block the ready-for-review promotion and block merging. Their
section was nonetheless the only blocking one rendered collapsed, next to the
collapsed non-blocking sections (flaky, broken trunk, unstable), which made it
read as non-blocking. Render it open like the other blocking sections.

This commit was written by Claude Code on behalf of albanD.
@vercel

vercel Bot commented Nov 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
torchci Ignored Ignored Nov 25, 2026 5:58pm UTC

Request Review

@albanD
albanD marked this pull request as ready for review November 25, 2026 19:50
@albanD
albanD requested a review from jeanschmidt November 25, 2026 19:50

@huydhn huydhn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@huydhn
huydhn merged commit 1adb9b1 into main Nov 25, 2026
6 checks passed
@huydhn
huydhn deleted the cc_drci_expand_cancelled branch November 25, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants