You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
perf(ci): skip bytecode compile and unused caches in test jobs #4727
setup-toolchain runs uv sync ... --compile-bytecode (.github/actions/setup-toolchain/action.yml:55). 'Bytecode compiled 19212 files' took 7.6-14.7 s per job, with a mean of 11.4 s (10 logs, measured). The test jobs restore a tooling cache (.mypy_cache and .ruff_cache) that they do not use. In Service Image Tests, the cache never hits and is never saved.
Saving: About 9 s per Tests & Coverage job and 11 s per Service Image Tests job, which is about 1.8 runner-min per push (estimated).
Found by the CI and test audit of 2026-11-11. The account runs at most 20 hosted jobs at one time (measured), so each job that does no work makes the queue of each pull request longer.
Proposed Solution & Architectural Design
Add an input to setup-toolchain that turns off --compile-bytecode.
Pass this input, and empty tooling-cache paths, in test-shard, service-image-test, changed-tests and job-time.
Risk: The workers compile the same modules one time at the start (CPU only).
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
Type: type/infra. The perf prefix of the title gives the type.
Scope: scope/ci. The (ci) scope of the title gives the scope.
Priority: P2-Medium. Saves about 1.8 runner-min per push and shortens the queue, but nothing is broken and the change is an optimization.
Value: Medium. Reduces per-job time by 9-11 s and frees runner slots on every push.
Effort: Low. Add one input to an action and pass it plus empty cache paths in four job steps; estimated at about 1 hour.
Related: perf(ci): build the Service image once for its test shards #4642, which asks for a different change. Both cut CI time in test shards; #4642 builds the Service image once, while this adds a bytecode-compile input to setup-toolchain and clears unused cache paths.
Activity
dan-petty commentedon Nov 11, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
perfprefix of the title gives the type.(ci)scope of the title gives the scope.Saves about 1.8 runner-min per push and shortens the queue, but nothing is broken and the change is an optimization.Reduces per-job time by 9-11 s and frees runner slots on every push.Add one input to an action and pass it plus empty cache paths in four job steps; estimated at about 1 hour.Both cut CI time in test shards; #4642 builds the Service image once, while this adds a bytecode-compile input to setup-toolchain and clears unused cache paths.devops-cli-service commentedon Nov 14, 2026
Alternatives check: not-applicable
Class: perf. The check makes no search and no model call for an item of this class.
Tool: none found
Checked on 2026-11-14. A person decides what this means for the item. The check changes no label and closes no issue.
docs(openspec): plan #4727 skip the sync compile
docs(openspec): archive #4727 skip the sync compile
docs(openspec): plan #4727 skip the sync compile
docs(openspec): archive #4727 skip the sync compile
Revert "docs(openspec): archive #4727 skip the sync compile"
Revert "docs(openspec): plan #4727 skip the sync compile"
test(ci): read the conditional bytecode sync (#4727)
docs(openspec): plan #4727 skip the sync compile
docs(openspec): archive #4727 skip the sync compile
test(ci): read the conditional bytecode sync (#4727)
chore(main): release 0.138.0 (#5690)
devops-cli-service commentedon Nov 14, 2026
Released in v0.138.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.138.0
devops-cli-service commentedon Nov 14, 2026
Live since 2026-11-14 15:02 UTC