Skip to content

Run url and xref linters independently - #152899

Closed
shoumikhin wants to merge 1 commit into
mainfrom
shoumikhin-patch-7
Closed

shoumikhin wants to merge 1 commit into
mainfrom
shoumikhin-patch-7

Conversation

@shoumikhin

@shoumikhin shoumikhin commented May 6, 2025 •

Copy link
Copy Markdown
Contributor

Also introduce skip-xref-lint label

Also introduce `skip-xref-lint` label
@shoumikhin
shoumikhin requested a review from a team as a code owner May 6, 2025 01:48
@pytorch-bot

pytorch-bot Bot commented May 6, 2025 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ No Failures

As of commit 3fb9f5a with merge base 1798b0d (image):
💚 Looks good so far! There are no failures yet. 💚

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

@pytorch-bot pytorch-bot Bot added the topic: not user facing topic category label May 6, 2025
@shoumikhin

Copy link
Copy Markdown
Contributor Author

@pytorchbot merge -f "lint only changes"

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@github-actions
github-actions Bot deleted the shoumikhin-patch-7 branch June 17, 2025 02:19
jeanschmidt added a commit to pytorch/test-infra that referenced this pull request Oct 17, 2026
**Impact:** GreenLight verdicts on pytorch CI workflow PRs, and on any PR that edits many sites
**Risk:** low

## What
GreenLight can now land a CI version bump or job rename when every place that matches the old or new job name is handled, the new names are accurate, and no coverage is lost. Renaming a job that merges wait on still needs a human. That covers jobs in every-PR, viable/strict-required and labeler-triggered workflows, including the reusable workflows they call. Adding or dropping `unstable` in a job name also still needs a human.

## Why
The policy contradicted itself. The CI class called version bumps ordinary, but pytorch job names carry the version, so every bump renames jobs. Two rules then refused even a correct bump: Breadth, read as a raw site count, and question 2, which read job names as parsed output. Reported in #8885.

The PR behind that report, pytorch/pytorch#198501, stays refused, now for the right reason. `.ci/pytorch/test.sh:56` matched the old names through `*py3.10-gcc11`, so 58 periodic shards silently lost dill-free coverage. On top of that, 20 of the 28 renamed jobs still ran Python 3.10. A version that renames only the jobs that really move would now land.

Gating renames stay with a human because unstable and disabled issues match exact job names. pytorch/pytorch#152899 orphaned an UNSTABLE issue by renaming a job inside a reusable lint workflow.

# Notes
- Breadth, now titled "Breadth you have not checked", counts only sites the reviewer has not checked. That applies to every kind of PR, not just CI. "Many trivial edits are not one trivial change" is gone.
- The CI class's release-path exclusion now also covers the scripts and config files those paths read.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants