Skip to content

Conversation

huydhn
Copy link
Contributor

@huydhn huydhn commented Feb 17, 2024

This is to address #4938 where Dr.CI will hide bc linter failures on a PR if the PR has suppress-bc-linter or suppress-api-compatibility-check labels. This is done dynamically whenever Dr.CI is run (periodically and during merge).

The only supported use case atm is bc linter.

Testing

pytorch/pytorch#118857 has a bc linter failure that has been suppressed. Running the following curl command locally will update Dr.CI and hide the bc linter failure there.

curl --request POST \
  --url 'http://localhost:3000/api/drci/drci?prNumber=118857' \
  --header 'Authorization: TOKEN' \
  --data 'repo=pytorch'

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/118857

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (2 Unrelated Failures)

As of commit af3d1d0f1a787f8f29138637720a14a532809b3c with merge base cf42dd09ca47e293736ebbc80a919b4d53ede0f8 (image):

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@huydhn huydhn requested review from a team, clee2000 and izaitsevfb February 17, 2024 01:34
Copy link

vercel bot commented Feb 17, 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 Feb 17, 2024
Copy link

vercel bot commented Feb 17, 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 Feb 20, 2024 10:00pm

@huydhn huydhn merged commit 625523d into pytorch:main Feb 20, 2024
pytorchmergebot pushed a commit to pytorch/pytorch that referenced this pull request Feb 21, 2024
After pytorch/test-infra#4956, mergebot will not block merge for a bc linter failure that has been suppressed.  The failure will be ignored instead.

This should help mitigate pytorch/test-infra#4938 because the workflow will not be triggered multiple times when labels are attached.
Pull Request resolved: #120148
Approved by: https://github.com/clee2000
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