Repository navigation
Conversation
[ghstack-poisoned]
PR Status: in progressA maintainer requested changes. Please address their feedback before the PR returns to maintainer review. To become ready for review, the change must pass automated review and every maintainer comment must be addressed, either with a code change or a reply explaining why no change is needed. A fresh automated review checks that the feedback has been addressed. All CI must finish and Dr. CI must classify every failure as unrelated to your PR. Fix the failures it attributes to your PR (see status below in this comment). Workflows waiting for a maintainer to approve their run do not block this. To minimize iteration time, feel free to run the pr-review skill from the repo locally. If you address comments without pushing, comment 🟡 AUTOMATED REVIEW - Changes requested:
Findings (3): Reviewed commit: 🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/202893
Note: Links to docs will display an error until the docs builds have been completed. ❌ 3 Cancelled JobsAs of commit e4334ec with merge base 2b1c149 ( 🟡 GREEN LIGHT - PR requires human review:
reason: CANCELLED JOBS - The following jobs were cancelled. Please retry:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
[ghstack-poisoned]
## Human Note some more tweaking of triaging ## Agent Notes The triage bot classified missing dtype validation in #202017 as an enhancement. Clarify that accepting invalid inputs is an error-checking bug, even when reported as a feature request. Improving diagnostics for inputs already rejected can still be an enhancement. Changes only the `enhancement` and `module: error checking` label descriptions. No apply logic, priority rules, or posted comments change. ### Test Plan ```sh python3 -m unittest discover -s scripts/issue_triage_pi -v ``` 81 tests pass in both PyTorch and ciforge; lintrunner passes. ## Validation Read-only ciforge replay of #202017 and the #201398 performance-enhancement control: https://github.com/pytorch/ciforge/actions/runs/41221167014 ## Linked issue or supporting maintainer Part of #202017 (triage classification only, not the AOTI runtime fix). ## BC-breaking? No. ## Summary (human written only) ## Agent details (if applicable) AI-assisted implementation and validation are described in Agent Notes above. ghstack-source-id: 858f26e Pull-Request: #202893
|
@pytorchbot review |
There was a problem hiding this comment.
Automated review of e4334ec: changes requested before human review.
The PR rewrites the enhancement and module: error checking descriptions in triaging-issues/labels.json so the triage agent treats silently accepted invalid inputs as a missing-check bug, not an enhancement, but the fix is incomplete because the triage SKILL.md prose still teaches the old rule. Recommendation: Request Changes. Updating triaging-issues/SKILL.md:217 and distributed-triage/SKILL.md:130 to match, and adding a row to the commonly-missed-labels table, unblocks approval.
🔴 SKILL.md still lists "better error messages" as an enhancement, which conflicts with the new labels.json text. .agents/skills/triaging-issues/SKILL.md:217 defines enhancement as including "better error messages", the wording this PR removes here. SKILL.md is the main instruction text, and its step 4 (SKILL.md:215) tells the agent to use labels.json only as a lookup for specific-vs-general label choices. So for an issue like # 202017, SKILL.md:217 can still win and the same misclassification can happen again. .agents/skills/distributed-triage/SKILL.md:130 has the same wording. Fix: update both lines to match the new definition ("clearer diagnostics for inputs already rejected; missing validation that accepts invalid inputs is a bug"). Also add a row to the "Commonly missed labels" table (SKILL.md:223-233), modeled on the docs/regression row at SKILL.md:229, e.g. "Invalid input silently accepted (missing dtype/shape/device check) module: error checking + component label (NOT enhancement)".
An earlier comment near this line has replies: #202893 (comment)
⚪ 2 non-blocking findings
The new enhancement text says what not to do, but not what to do instead. It says missing validation "is a bug, not an enhancement", but there is no bug label in labels.json, and the convention elsewhere is that bugs get no type label. Name the action directly, e.g. "is a bug: apply module: error checking plus the component label, and no type label."
An earlier comment near this line has replies: #202893 (comment)
The new module: error checking text is shaped around one issue. The clause "including replacement weights or constants" describes the AOTI constant-swap details of # 202017, not the label in general. The sentence "Silently accepting invalid inputs is a missing-check bug" already covers that case. If every misclassified issue adds its own clause, these descriptions keep growing and get harder for the classifier to apply. Drop the parenthetical, or replace it with a generic example (e.g. "including inputs to setter/update APIs").
Please address the findings and push; a new commit normally gets a fresh automated review.
This review is AI-generated and advisory. Each new automated review replaces the previous one.
albanD
left a comment
There was a problem hiding this comment.
Even with the minor request from your bff, I think this is ok
|
@pytorchbot merge |
|
This PR has pending changes requested. Please address the comments and update the PR before merging. |
|
@pytorchbot merge -f "Bypass advisory automated review; albanD approved this change" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
## Human Note some more tweaking of triaging ## Agent Notes The triage bot classified missing dtype validation in pytorch#202017 as an enhancement. Clarify that accepting invalid inputs is an error-checking bug, even when reported as a feature request. Improving diagnostics for inputs already rejected can still be an enhancement. Changes only the `enhancement` and `module: error checking` label descriptions. No apply logic, priority rules, or posted comments change. ### Test Plan ```sh python3 -m unittest discover -s scripts/issue_triage_pi -v ``` 81 tests pass in both PyTorch and ciforge; lintrunner passes. ## Validation Read-only ciforge replay of pytorch#202017 and the pytorch#201398 performance-enhancement control: https://github.com/pytorch/ciforge/actions/runs/41221167014 ## Linked issue or supporting maintainer Part of pytorch#202017 (triage classification only, not the AOTI runtime fix). ## BC-breaking? No. ## Summary (human written only) ## Agent details (if applicable) AI-assisted implementation and validation are described in Agent Notes above. Pull Request resolved: pytorch#202893 Approved by: https://github.com/albanD
## Human Note some more tweaking of triaging ## Agent Notes The triage bot classified missing dtype validation in pytorch#202017 as an enhancement. Clarify that accepting invalid inputs is an error-checking bug, even when reported as a feature request. Improving diagnostics for inputs already rejected can still be an enhancement. Changes only the `enhancement` and `module: error checking` label descriptions. No apply logic, priority rules, or posted comments change. ### Test Plan ```sh python3 -m unittest discover -s scripts/issue_triage_pi -v ``` 81 tests pass in both PyTorch and ciforge; lintrunner passes. ## Validation Read-only ciforge replay of pytorch#202017 and the pytorch#201398 performance-enhancement control: https://github.com/pytorch/ciforge/actions/runs/41221167014 ## Linked issue or supporting maintainer Part of pytorch#202017 (triage classification only, not the AOTI runtime fix). ## BC-breaking? No. ## Summary (human written only) ## Agent details (if applicable) AI-assisted implementation and validation are described in Agent Notes above. Pull Request resolved: pytorch#202893 Approved by: https://github.com/albanD
Stack from ghstack (oldest at bottom):
Human Note
some more tweaking of triaging
Agent Notes
The triage bot classified missing dtype validation in #202017 as an enhancement. Clarify that accepting invalid inputs is an error-checking bug, even when reported as a feature request. Improving diagnostics for inputs already rejected can still be an enhancement.
Changes only the
enhancementandmodule: error checkinglabel descriptions. No apply logic, priority rules, or posted comments change.Test Plan
81 tests pass in both PyTorch and ciforge; lintrunner passes.
Validation
Read-only ciforge replay of #202017 and the #201398 performance-enhancement control:
https://github.com/pytorch/ciforge/actions/runs/41221167014
Linked issue or supporting maintainer
Part of #202017 (triage classification only, not the AOTI runtime fix).
BC-breaking?
No.
Summary (human written only)
Agent details (if applicable)
AI-assisted implementation and validation are described in Agent Notes above.