Skip to content

ci: streamline workflow caching & manage ressources - #16287

Open
anastygnome wants to merge 1 commit into
uutils:mainfrom
anastygnome:ci/optimize-workflows
Open

anastygnome wants to merge 1 commit into
uutils:mainfrom
anastygnome:ci/optimize-workflows

Conversation

@anastygnome

@anastygnome anastygnome commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Reduce CI cache churn and redundant workflow work.

Adds shared Rust caching with explicit namespaces and default-branch-only writes, limits matrix fan-out, removes redundant single-entry matrices, and filters localization runs.

Refs #10535
Refs #10347
Refs #9315

@anastygnome
anastygnome force-pushed the ci/optimize-workflows branch from c500c24 to 593ca8e Compare November 8, 2026 17:25
@anastygnome
anastygnome marked this pull request as ready for review November 8, 2026 17:26
Copilot AI balanced review requested due to automatic review settings November 8, 2026 17:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@anastygnome

anastygnome commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor Author

cc: @oech3
cc: @cakebaker
cc: @xtqqczze

@anastygnome anastygnome changed the title ci: streamline workflow caching ci: streamline workflow caching & manage ressources Nov 8, 2026
@anastygnome
anastygnome force-pushed the ci/optimize-workflows branch from 593ca8e to f3f7fd3 Compare November 8, 2026 20:28
Copilot AI balanced review requested due to automatic review settings November 8, 2026 20:28
@anastygnome
anastygnome marked this pull request as draft November 8, 2026 20:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown

Binary size comparison:

Individual binary size comparison VS main (threshold: >=5% AND >=4 KB).

Total size of compared binaries: 155.30 MB (+60 KB, +0.04%)

Significant per-binary changes:
  printenv     1.09 MB ->    1.15 MB  (+60 KB, +5.36%)

@anastygnome
anastygnome force-pushed the ci/optimize-workflows branch from f3f7fd3 to 9df0d0c Compare November 8, 2026 21:37
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

Congrats! The gnu test tests/env/printenv is no longer failing!

@oech3

oech3 commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Can we share caches even if we don't have --target=host-tuple (target/(missing host tuple name at here)/debug/*)?

@anastygnome
anastygnome force-pushed the ci/optimize-workflows branch 6 times, most recently from 2d94cf7 to cc1b845 Compare November 9, 2026 09:52
@anastygnome

anastygnome commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor Author

Can we share caches even if we don't have --target=host-tuple (target/(missing host tuple name at here)/debug/*)?

Yep, done.

@anastygnome
anastygnome marked this pull request as ready for review November 9, 2026 09:57
Copilot AI balanced review requested due to automatic review settings November 9, 2026 09:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@anastygnome
anastygnome force-pushed the ci/optimize-workflows branch from cc1b845 to 59ad3a6 Compare November 9, 2026 10:32
Copilot AI balanced review requested due to automatic review settings November 9, 2026 10:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@anastygnome
anastygnome force-pushed the ci/optimize-workflows branch from 59ad3a6 to ff29b8f Compare November 9, 2026 11:31
Copilot AI balanced review requested due to automatic review settings November 9, 2026 11:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

Comment thread .github/workflows/fuzzing.yml Resolved
@anastygnome
anastygnome force-pushed the ci/optimize-workflows branch from b1ee7bf to 4fc9f1c Compare November 9, 2026 21:28
Copilot AI balanced review requested due to automatic review settings November 9, 2026 21:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@anastygnome

Copy link
Copy Markdown
Contributor Author

@sylvestre had forgotten to push one commit ... rebased

@anastygnome
anastygnome force-pushed the ci/optimize-workflows branch from 4fc9f1c to b638cba Compare November 9, 2026 21:31
Copilot AI balanced review requested due to automatic review settings November 9, 2026 21:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@anastygnome
anastygnome requested a review from sylvestre November 9, 2026 21:36
@anastygnome
anastygnome force-pushed the ci/optimize-workflows branch from b638cba to 8b031f0 Compare November 9, 2026 22:00
Copilot AI balanced review requested due to automatic review settings November 9, 2026 22:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@anastygnome
anastygnome force-pushed the ci/optimize-workflows branch from 8b031f0 to 8df0bd2 Compare November 10, 2026 09:21
Copilot AI balanced review requested due to automatic review settings November 10, 2026 09:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@anastygnome

Copy link
Copy Markdown
Contributor Author

@sylvestre lgtm

@anastygnome
anastygnome force-pushed the ci/optimize-workflows branch from 8df0bd2 to 66d577a Compare November 11, 2026 07:39
@xtqqczze

Copy link
Copy Markdown
Collaborator

This branch has conflicts that must be resolved.

@anastygnome
anastygnome force-pushed the ci/optimize-workflows branch from 66d577a to b1448b9 Compare November 30, 2026 07:00
@anastygnome

Copy link
Copy Markdown
Contributor Author

@xtqqczze @sylvestre Freshly rebased !

@xtqqczze

Copy link
Copy Markdown
Collaborator

I think the max-parallel changes need careful justification, otherwise CI may end up taking longer for each PR.

@sylvestre
sylvestre force-pushed the ci/optimize-workflows branch from b1448b9 to 9d22f46 Compare December 1, 2026 16:34
@xtqqczze

This comment was marked as outdated.

@sylvestre
sylvestre force-pushed the ci/optimize-workflows branch 2 times, most recently from 7e19885 to b411b9d Compare December 2, 2026 21:04
@anastygnome
anastygnome force-pushed the ci/optimize-workflows branch 2 times, most recently from 68f45b3 to 3f398c5 Compare December 3, 2026 07:25
@sylvestre
sylvestre force-pushed the ci/optimize-workflows branch from 3f398c5 to aeae01d Compare December 3, 2026 17:54
@anastygnome
anastygnome force-pushed the ci/optimize-workflows branch from aeae01d to 5cf0f79 Compare December 4, 2026 09:08

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants