Repository navigation
ci: use full runners for manual agentic maintenance - #387
Conversation
There was a problem hiding this comment.
Approved — no actionable issues found in this change.
What is this? | From workflow: PR Review
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
| close-expired-discussions: | ||
| if: ${{ (!(github.event.repository.fork)) && github.event_name != 'push' && (github.event_name != 'workflow_dispatch' && github.event_name != 'workflow_call' || inputs.operation == '' || inputs.operation == 'none') }} | ||
| runs-on: ubuntu-slim | ||
| runs-on: ${{ inputs.operation != '' && 'ubuntu-24.04' || 'ubuntu-slim' }} |
There was a problem hiding this comment.
Q: does it matter if this is just ubuntu-latest or do you want to pin it?
There was a problem hiding this comment.
Can the slim version also be pinned somehow?
There was a problem hiding this comment.
Good question — I pinned on purpose. ubuntu-latest is about to move to Ubuntu 26.04 in November (runner-images#14748), and ubuntu-slim currently runs 24.04.5. Pinning the full runner to ubuntu-24.04 keeps manual runs on the same OS as the scheduled slim runs, so a report that works in one place won't break in the other because of the label flip.
On pinning slim: unfortunately there's no versioned label for it. GitHub only publishes ubuntu-slim, with no ubuntu-slim-24.04 or similar, so its OS moves whenever GitHub decides. When slim moves to 26.04, we can bump the full-runner pin to match in aw.json.
While reviewing runner choices, I found that
activity_reportandforecast_reportrequest 120- and 60-minute timeouts onubuntu-slim, which has a fixed 15-minute job limit.I added the supported
maintenance.runs_onsetting in.github/workflows/aw.jsonand regeneratedagentics-maintenance.ymlwith the pinned gh-aw v0.89.17 compiler. Operations selected through inputs now useubuntu-24.04; scheduled cleanup keepsubuntu-slim. This also pins the manual validation job. The compiler exposes one maintenance runner setting, so the condition covers all selected operations instead of changing generated jobs by hand. Changes toaw.jsonnow trigger the compile pre-commit hook.Validation: all 14 workflows compiled successfully, a second compilation left the generated output unchanged, the applicable pre-commit checks passed, and direct actionlint validation passed. The latest scheduled maintenance run skipped both report jobs; their full runtime remains unverified. The next check is a real report run after review.
Related to #404