Skip to content

[Bootcamp] Have all Dr. CI failure links point to HUD instead of GH Actions #91320

@ZainRizvi

Description

@ZainRizvi

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:

  1. Change the PR summary page on HUD to add anchors (html ids) to the list of jobs under each workflow
  2. 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:

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:

Metadata

Metadata

Assignees

Labels

triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions