Skip to content

Conversation

@izaitsevfb
Copy link
Contributor

If you run multiple autorevert configs and want a specific one, filter by workflow name present in the stored run state:

python -m pytorch_auto_revert hud --workflow trunk --repo-full-name pytorch/pytorch --hud-html hud.html

Testing

python -m pytorch_auto_revert hud --workflow trunk
2025-12-12 12:06:06,467 INFO [root] [hud] Fetching run state ts=2025-12-12 20:05:05 repo=<any> workflow=trunk
2025-12-12 12:06:29,887 INFO [root] [hud] Loaded state for repo=pytorch/pytorch workflows=Lint,trunk,pull,inductor,linux-aarch64
2025-12-12 12:06:29,891 INFO [root] [hud] Rendering HTML for repo=pytorch/pytorch workflows=Lint,trunk,pull,inductor,linux-aarch64 lookback=16 → 2025-12-12_20-05-05.html
2025-12-12 12:06:29,896 INFO [root] HUD written to 2025-12-12_20-05-05.html


python -m pytorch_auto_revert hud --workflow slow
2025-12-12 12:07:22,476 INFO [root] [hud] Fetching run state ts=2025-12-12 20:01:40 repo=<any> workflow=slow
2025-12-12 12:07:22,997 INFO [root] [hud] Loaded state for repo=pytorch/pytorch workflows=slow
2025-12-12 12:07:22,997 INFO [root] [hud] Rendering HTML for repo=pytorch/pytorch workflows=slow lookback=16 → 2025-12-12_20-01-40.html
2025-12-12 12:07:22,999 INFO [root] HUD written to 2025-12-12_20-01-40.html

@vercel
Copy link

vercel bot commented Dec 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Updated (UTC)
torchci Ignored Ignored Dec 12, 2025 8:13pm

@meta-cla meta-cla 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 Dec 12, 2025
@izaitsevfb izaitsevfb changed the title Add workflow filter to HUD command for autorevert state retrieval [autorevert][QoL] Add workflow filter to HUD command for state retrieval Dec 12, 2025
@izaitsevfb izaitsevfb merged commit 4e2a4f8 into main Dec 12, 2025
6 checks passed
@izaitsevfb izaitsevfb deleted the autorevert-filter-hud-command branch December 12, 2025 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-no-td 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