-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Description
What
When a PR has fails any CI checks, we have a github bot called Dr. CI which leaves a comment at the top of the PR calling out the failures. Today, those failures link to the Github jobs page for the failing checks.
However, PyTorch has build our own HUD that offers better debugging information to devs. This will allow devs to root cause their failures faster.
Goal: Repoint those links to our custom HUD
This will require two changes:
- Change the PR summary page on HUD to add anchors (html
ids) to the list of jobs under each workflow - Change Dr. CI's message to point to those anchor links
Bonus points:
- Add the failure line that HUD shows under the failed jobs to Dr. CI as well
- Show both the old and new links in an aesthetic way (aesthetic meaning the list doesn't look too noisy)
Context & References:
For getting started with development read these READMEs:
- https://github.com/pytorch/test-infra/blob/main/README.md
- https://github.com/pytorch/test-infra/blob/main/torchci/README.md
React code for generating the workflow links: https://github.com/pytorch/test-infra/blob/55f446be3d8712433a92ad47605302a2b79bae20/torchci/components/CommitStatus.tsx#L101
Dr CI bot entrypoint (triggered by Github webhooks): https://github.com/pytorch/test-infra/blob/main/torchci/lib/bot/drciBot.ts
Example Dr. CI output with CI failures:
- Only label checks against pull requests #87488 (comment)
Those links should be pointing to the relevant id under https://hud.pytorch.org/pr/87488 instead
Metadata
Metadata
Assignees
Labels
Type
Projects
Status