Skip to content

Set the correct repo link in mark unstable job button in commit and PR pages#5343

Merged
huydhn merged 1 commit intopytorch:mainfrom
huydhn:mark-unstable-other-repo
Jun 15, 2024
Merged

Set the correct repo link in mark unstable job button in commit and PR pages#5343
huydhn merged 1 commit intopytorch:mainfrom
huydhn:mark-unstable-other-repo

Conversation

@huydhn
Copy link
Copy Markdown
Contributor

@huydhn huydhn commented Jun 14, 2024

This is a miss from #5122 where I failed to check that the repo field in JobData is optional and wasn't set in HUD commit and PR pages. So, marking an unstable job link works correctly in main HUD page like https://hud.pytorch.org/hud/pytorch/executorch/main where the data comes from fetchHud, but it uses the default link pointing to pytorch/pytorch in:

The fix here is to populate the repo field if it's not there

Testing

Verify this locally (need to login to HUD)

@huydhn huydhn requested a review from a team June 14, 2024 23:54
@vercel
Copy link
Copy Markdown

vercel bot commented Jun 14, 2024

@huydhn is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 14, 2024
@vercel
Copy link
Copy Markdown

vercel bot commented Jun 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
torchci ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 14, 2024 11:56pm

@huydhn huydhn merged commit cca2400 into pytorch:main Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants