Releases: pytorch/test-infra
Releases · pytorch/test-infra
v20250814-220933
[autorevert] fix regression (#7015) fixing a regression from https://github.com/pytorch/test-infra/pull/7013 Root cause: The `@cached_property` decorator was removed from `WorkflowRestart Checker.resolver`, but callsites still use `self.resolver.require(...)`, treatin g it like a property. ### Testing <details> <summary> python -m pytorch_auto_revert</summary> ``` Fetching commits for workflow(s) 'Lint, trunk, pull, inductor' (last 16h)... Commit data by workflow: Fetching workflow data for 4 workflows since 2025-08-13T23:02:58.374241... Found 38 commits with job data for workflow 'Lint' Found 39 commits with job data for workflow 'inductor' Found 41 commits with job data for workflow 'pull' Found 39 commits with job data for workflow 'trunk' Lint: 38 commits trunk: 39 commits pull: 41 commits inductor: 39 commits ✓ 1 AUTOREVERT PATTERN DETECTED Pattern #1: Failure rule: 'Python ModuleNotFoundError' Recent commits with failure: 7e27347f 1d80d697 Older commit without failure: b6b74aed ✓ REVERTED (nosignal): 1d80d697a269234b47ec7ede192faf3bb9b159e3 was reverted by eac2d9d6 after 5.0 hours Failed jobs (2): - unit-test / cuda12.8-py3.10-gcc9-sm86 / test (inductor_cpp_wrapper, 1, 2, linux.g5.4xlarge.nvidia.gpu) - unit-test / cuda12.8-py3.10-gcc9-sm86 / test (inductor_cpp_wrapper, 2, 2, linux.g5.4xlarge.nvidia.gpu) Revert message: Revert "appending the pythonpath (#160219)" This reverts commit 1d80d697a269234b47ec7ede192faf3bb9b... ================================================== SUMMARY STATISTICS ================================================== Workflow(s): Lint, trunk, pull, inductor Timeframe: 16 hours Commits checked: 157 Auto revert patterns detected: 1 Actual reverts inside auto revert patterns detected (%): 1 (100.0%) Total revert commits in period: 1 Revert categories: nosignal: 1 (100.0%) Total reverts excluding ghfirst: 1 Reverts (excluding ghfirst) that dont match any auto revert pattern detected (%): (0) (0.0%) ********************************************************************* STATS SUMMARY: PRECISION: 100.0% RECALL: 100.0% F1: 100.0% ********************************************************************* Per workflow precision: inductor: 1 reverts out of 1 patterns (100.0%) [excluding ghfirst: 1 (100.0%)] Reverted patterns: - Python ModuleNotFoundError: 1d80d697 (nosignal) ``` </details>
v20250814-192944
Add buildkite-webhook-handler lambda to ingest webhook events from Bu…
v20250814-181426
[autorevert] Remove some vibes from the code (#7013)
v20250814-154515
[EZ] Replace `pytorch-labs` with `meta-pytorch` (#6999) This PR replaces all instances of `pytorch-labs` with `meta-pytorch` in this repository now that the `pytorch-labs` org has been renamed to `meta-pytorch` ## Changes Made - Replaced all occurrences of `pytorch-labs` with `meta-pytorch` - Skipped binary files and files larger than 1MB due to GitHub api payload limits in the script to cover all repos in this org. Will do a more manual second pass later to cover any larger files ## Files Modified This PR updates files that contained the target text. Generated by automated script on 2025-08-12T22:48:48.097834+00:00Z
v20250814-134639
[autorevert] properly resolve github workflow names (#7010) Introduces `WorkflowRestartChecker` that resolves githb workflows name <-> display name. Uses it in the codebase instead of relying on naming convention (that apparently is not reliable, see lint.yml). ### Testing python -m unittest -v pytorch_auto_revert/tests/test_workflow_resolver.py ``` python -m unittest -v pytorch_auto_revert/tests/test_workflow_resolver.py test_resolve_pull_workflow (pytorch_auto_revert.tests.test_workflow_resolver.TestWorkflowResolverRealRepo.test_resolve_pull_workflow) ... ok test_resolve_trunk_workflow (pytorch_auto_revert.tests.test_workflow_resolver.TestWorkflowResolverRealRepo.test_resolve_trunk_workflow) ... ok ---------------------------------------------------------------------- Ran 2 tests in 3.369s OK ``` ``` python -m pytorch_auto_revert Fetching commits for workflow(s) 'Lint, trunk, pull, inductor' (last 48h)... Commit data by workflow: Fetching workflow data for 4 workflows since 2025-08-11T13:40:22.263487... Found 115 commits with job data for workflow 'Lint' Found 113 commits with job data for workflow 'inductor' Found 117 commits with job data for workflow 'pull' Found 112 commits with job data for workflow 'trunk' Lint: 115 commits trunk: 112 commits pull: 117 commits inductor: 113 commits ✓ 2 AUTOREVERT PATTERNS DETECTED Pattern #1: Failure rule: 'Lintrunner failure' Recent commits with failure: a3df3aa8 d3329604 Older commit without failure: 01bcf9a4 ✗ NOT REVERTED: d3329604e2f2c5523c68003a1093ba31e4937d42 was not reverted INFO:root:Successfully dispatched workflow Lint for commit d3329604e2f2c5523c68003a1093ba31e4937d42 View at: https://github.com/pytorch/pytorch/actions/workflows/lint.yml?query=branch%3Atrunk%2Fd3329604e2f2c5523c68003a1093ba31e4937d42 ✓ RESTARTED: Lint for d3329604 INFO:root:Successfully dispatched workflow Lint for commit 01bcf9a40dea937637d2cdd530bed2652510943d View at: https://github.com/pytorch/pytorch/actions/workflows/lint.yml?query=branch%3Atrunk%2F01bcf9a40dea937637d2cdd530bed2652510943d ✓ RESTARTED: Lint for 01bcf9a4 Failed jobs (1): - lintrunner-noclang / linux-job Pattern #2: Failure rule: 'pytest failure' Recent commits with failure: 9708fcf9 a288b15e Older commit without failure: d2d29707 ✗ NOT REVERTED: a288b15ea9f87ddd665f249d492e0fb0861f5a69 was not reverted ⟳ ALREADY RESTARTED: pull for a288b15e INFO:root:Successfully dispatched workflow pull for commit d2d2970734e0c3d241002f386bb8ca208e2594bb View at: https://github.com/pytorch/pytorch/actions/workflows/pull.yml?query=branch%3Atrunk%2Fd2d2970734e0c3d241002f386bb8ca208e2594bb ✓ RESTARTED: pull for d2d29707 Failed jobs (8): - linux-jammy-py3.9-gcc11 / test (distributed, 2, 2, linux.2xlarge) - linux-jammy-py3.9-clang12 / test (default, 1, 5, linux.4xlarge) - linux-jammy-py3.10-clang18-asan / test (default, 2, 6, linux.4xlarge) - linux-jammy-py3.10-clang18-asan / test (default, 3, 6, linux.4xlarge) - linux-jammy-py3.13-clang12 / test (crossref, 1, 2, linux.2xlarge) ... and 3 more ``` --------- Co-authored-by: Jean Schmidt <[email protected]>
v20250813-182802
Fixes gh authentication for autorevert (#7008) API changes made authentication with GHA key use a different parameter name for function call.
v20250813-173840-custom
Merge 017cbffc08ebf4e842e14dbe2b853b3e88918c36 into 23ffd982a548f139b…
v20250813-172112
[autorevert] Make parameters configurable via environment variables (…
v20250813-130004
[autorevert] Add event logging for autorevert actions (#6997) Core changes: * add clickHouse event logging: log detection, restart outcomes, and secondary c onfirmations to `misc.autorevert_events` * define schema for `misc.autorevert_events` Misc: * allow `--dry-run` after the `autorevert-checker` subcommand. # Testing locally: ``` python -m pytorch_auto_revert autorevert-checker inductor --hours 164 --do-restart --do-revert --dry-run ``` patterns were detected, events were logged --------- Co-authored-by: Jean Schmidt <[email protected]>
v20250813-050303-custom
Fix lint Signed-off-by: Huy Do <[email protected]>