The five "Print runner wait time" steps in deploy.yml were querying /actions/tasks but the Python code filtered on data.get('workflow_runs', []) — a key the tasks endpoint does not return. The correct endpoint is /actions/runs, whose JSON includes workflow_runs with the run_number and created_at fields.
Every deploy job was printing "Runner wait time: unknown (API lookup failed)". This fix makes the wait time report accurately.
Test plan
Trigger a workflow_dispatch on deploy.yml; verify each job prints a numeric wait time.
Confirm change-detection logic and deploy steps are unchanged.
## Summary
- The five "Print runner wait time" steps in `deploy.yml` were querying `/actions/tasks` but the Python code filtered on `data.get('workflow_runs', [])` — a key the tasks endpoint does not return. The correct endpoint is `/actions/runs`, whose JSON includes `workflow_runs` with the `run_number` and `created_at` fields.
- Every deploy job was printing "Runner wait time: unknown (API lookup failed)". This fix makes the wait time report accurately.
## Test plan
- [ ] Trigger a `workflow_dispatch` on `deploy.yml`; verify each job prints a numeric wait time.
- [ ] Confirm change-detection logic and deploy steps are unchanged.
Closes #521
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
deploy.ymlwere querying/actions/tasksbut the Python code filtered ondata.get('workflow_runs', [])— a key the tasks endpoint does not return. The correct endpoint is/actions/runs, whose JSON includesworkflow_runswith therun_numberandcreated_atfields.Test plan
workflow_dispatchondeploy.yml; verify each job prints a numeric wait time.Closes #521
🤖 Generated with Claude Code