You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@magpie.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2026/09/09 21:52:36 UTC

[PR] ci(runners): move every job to the 1-vCPU ubuntu-slim runner [magpie]

potiuk opened a new pull request, #1190:
URL: https://github.com/apache/magpie/pull/1190

   Nothing this repository runs in CI is heavy. Measured on the current
   4-vCPU image:
   
   | Job | Runtime |
   |---|---|
   | `prek` | 131s |
   | `analyze (python)` / `(actions)` | 99s / 41s |
   | `sandbox-lint` | ~88s |
   | `rat` | 60s |
   | `pytest (dev)` / `(vetted-ops)` | 20s / 18s |
   | `validate skills and tool contracts` | 18s |
   | `list-workspace-members` | 6s |
   | `tests-ok` | 3s |
   
   Paying for four cores to run a YAML linter and a 20-second pytest suite
   is waste on infrastructure the foundation shares.
   
   `ubuntu-slim` is GitHub-hosted (1 vCPU, 5 GB) rather than an ASF
   self-hosted label, so it needs no Infra ticket — and 114 workflow files
   across the `apache` org already use it. Jobs run in a container instead of
   a dedicated VM and are killed at 15 minutes; the slowest job here uses 15%
   of that budget, so the headroom survives the single-core slowdown.
   
   Two consequences worth flagging for review:
   
   - **`codeql.yml` gives up its `ubuntu-24.04` pin** along with the four
     cores. Its Python analysis is the one genuinely CPU- and memory-bound
     job here, so it's the first place to look if a run starts timing out.
     Happy to leave that workflow pinned and on the fat runner if reviewers
     prefer.
   - **No workflow sets `timeout-minutes`**, so slim's 15-minute kill becomes
     the effective timeout everywhere — stricter than the 6-hour default it
     replaces, and appropriate for a repo where every job finishes inside two
     minutes.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   https://claude.ai/code/session_01R3wLTXcKFLKiZE992K5UHr
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] ci(runners): move every job to the 1-vCPU ubuntu-slim runner [magpie]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #1190:
URL: https://github.com/apache/magpie/pull/1190


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org