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
I work at GitHub Next, and am researching how to make CI/CD faster.
We'd like to share some ideas for how you could make your CI faster, while also reducing your consumption of GitHub Actions free public minutes. The suggestions have been generated by AI.
Please be welcome to close this issue if the suggestions are not appropriate.
The workflows already provide compiler caching, PR cancellation, separate GNU compatibility tests and broad OS/target coverage. Platform differences matter for core utilities; the suggestions below are not a proposal to replace cross-platform testing with Linux alone.
Observed: two successful CICD PR runs executed 41 jobs each, consuming approximately 314 and 280 runner-minutes (run A, run B). Their Linux coverage jobs took 66.0 and 54.7 minutes, almost entirely in the combined test/coverage step.
Profile and, if appropriate, partition the coverage workload. The coverage job is a clear critical-path candidate. Separate instrumented compilation, execution and report generation in its timing output. Consider building compatible instrumented binaries once and partitioning tests, then merging profiles; verify the complete test inventory and coverage semantics survive. Preserve the script's bounded profile pool and per-utility aggregation, which avoid excessive trace storage. Shards that all recompile would trade latency for more minutes.
Distinguish PR correctness builds from release-oriented PGO work. Several platform build legs train profiles and produce optimized artifacts on PRs. Could routine PR validation retain target/feature correctness while PGO training runs on main/releases or explicit performance requests? This is a policy choice, not a free optimization: keep a PR path exercising the PGO pipeline and continue checking that published binaries genuinely use their profiles.
Treat cache reliability as part of throughput. Existing discussion uutils/coreutils#16053 reports sccache storage failures. Please compare restore/save time, hit rates and transient failures before expanding caches. Dependency/download caching and compiler-object caching solve different problems; use keys that distinguish toolchain, target, features and instrumentation.
Suggested first experiment: profile one coverage run, establish how much time is compilation versus test execution, and A/B a build-once test partition. Compare total runner-minutes and the slowest required check, not just shard completion time.
These are sampled physical runner elapsed minutes, not CPU time, billing-weighted minutes or an annual forecast. The combined coverage-step duration is not presented as entirely avoidable, and no existing required check should be removed without maintainers agreeing its replacement.
This discussion was converted from issue #16468 on November 26, 2026 01:08.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi all,
I work at GitHub Next, and am researching how to make CI/CD faster.
We'd like to share some ideas for how you could make your CI faster, while also reducing your consumption of GitHub Actions free public minutes. The suggestions have been generated by AI.
Please be welcome to close this issue if the suggestions are not appropriate.
Many thanks
@dsyme
uutils CI: faster feedback, fewer runner-minutes
Public workflow review, 14 November 2026.
The workflows already provide compiler caching, PR cancellation, separate GNU compatibility tests and broad OS/target coverage. Platform differences matter for core utilities; the suggestions below are not a proposal to replace cross-platform testing with Linux alone.
Observed: two successful CICD PR runs executed 41 jobs each, consuming approximately 314 and 280 runner-minutes (run A, run B). Their Linux coverage jobs took 66.0 and 54.7 minutes, almost entirely in the combined test/coverage step.
Profile and, if appropriate, partition the coverage workload. The coverage job is a clear critical-path candidate. Separate instrumented compilation, execution and report generation in its timing output. Consider building compatible instrumented binaries once and partitioning tests, then merging profiles; verify the complete test inventory and coverage semantics survive. Preserve the script's bounded profile pool and per-utility aggregation, which avoid excessive trace storage. Shards that all recompile would trade latency for more minutes.
Distinguish PR correctness builds from release-oriented PGO work. Several platform build legs train profiles and produce optimized artifacts on PRs. Could routine PR validation retain target/feature correctness while PGO training runs on main/releases or explicit performance requests? This is a policy choice, not a free optimization: keep a PR path exercising the PGO pipeline and continue checking that published binaries genuinely use their profiles.
Treat cache reliability as part of throughput. Existing discussion uutils/coreutils#16053 reports sccache storage failures. Please compare restore/save time, hit rates and transient failures before expanding caches. Dependency/download caching and compiler-object caching solve different problems; use keys that distinguish toolchain, target, features and instrumentation.
Suggested first experiment: profile one coverage run, establish how much time is compilation versus test execution, and A/B a build-once test partition. Compare total runner-minutes and the slowest required check, not just shard completion time.
These are sampled physical runner elapsed minutes, not CPU time, billing-weighted minutes or an annual forecast. The combined coverage-step duration is not presented as entirely avoidable, and no existing required check should be removed without maintainers agreeing its replacement.
All reactions