[HUD] Backfill ExecuTorch workflow jobs in preparation for including ET on HUD queueing - #8643
[HUD] Backfill ExecuTorch workflow jobs in preparation for including ET on HUD queueing #8643georgehong wants to merge 1 commit into
Conversation
Include PyTorch and ExecuTorch in stale workflow-job repair while preserving the existing per-pass request limit through fair repository interleaving. Add a bounded dry-run path and avoid treating transient GitHub errors as missing jobs.
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
@claude Check if the SQL changes are correct and works with different repos |
|
Claude finished @huydhn's task in 2m 35s —— View job SQL review: multi-repo backfill correctness
I checked the two rewritten queries ( ✅ What's correct1. Multi-repo filtering is consistent. Both the 2. Fair interleaving is implemented correctly. row_number() OVER (PARTITION BY w.repository.'full_name' ORDER BY j.started_at ASC) as repository_rank
...
ORDER BY repository_rank ASC, j.started_at ASC
LIMIT {backfillLimit}This is genuine round-robin: it takes each repo's oldest pending job (rank 1) first, then each repo's 2nd-oldest, etc., before applying the global 3. Moving 4. Parameterization fixes a latent injection/escaping bug. The incomplete-lookup query moved from string interpolation `... j.dynamoKey = '${dynamo_key}' and j.id = ${id}`to bound params (
|
|
This looks relevant and needs to be fixed:
|
Include PyTorch and ExecuTorch in stale workflow-job repair while preserving the existing per-pass request limit through fair repository interleaving. Add a bounded dry-run path and avoid treating transient GitHub errors as missing jobs. This is intended to be the prerequisite change for including ET workflow/queueing results in HUD.
Dry-Run:
After land, we can track things here: https://github.com/pytorch/test-infra/actions/workflows/backfill-workflow-job.yml