Skip to content

ci: tune workflows#551

Merged
zharinov merged 1 commit into
masterfrom
ci/tune-workflows
Jul 6, 2026
Merged

ci: tune workflows#551
zharinov merged 1 commit into
masterfrom
ci/tune-workflows

Conversation

@zharinov

@zharinov zharinov commented Jul 6, 2026

Copy link
Copy Markdown
Member

Summary

  • Rust caches save only from master. PR runs restore from them but don't write their own copies.
  • The types: filter on pull_request is gone, so reopened PRs run CI again.
  • New pushes to a PR cancel the run for the old commit.
  • cargo-nextest installs as a prebuilt binary via taiki-e/install-action.
  • Dropped cargo check steps in stable and release. Clippy checks the same targets.
  • Jobs have timeouts (10–15 min) and read-only token permissions.
  • Release verify runs make clippy / make test, same as stable.

Why

The Actions cache pool sits at 11.7 GB, over the 10 GB limit. Every PR saved a full duplicate of the master caches, evicting older ones and causing cold compiles. The types: [opened, synchronize] filter also silently dropped reopened, so reopened PRs got no checks.

Notes

  • Release verify used cargo test, which runs doctests. make test (nextest) does not. Regular CI never ran doctests, so this makes release match existing policy.
  • taiki-e/install-action is SHA-pinned to v2.82.9. Renovate should pick it up like the other pinned actions.

- Save rust caches only from master so PR runs stop duplicating them
  (cache pool was over the 10 GB limit and evicting)
- Restore the default pull_request types (reopened PRs got no CI)
- Cancel superseded PR runs via concurrency groups
- Install cargo-nextest as a prebuilt binary (taiki-e/install-action)
- Drop cargo check steps subsumed by clippy
- Add job timeouts and read-only token permissions
- Align release verify with make clippy / make test
@zharinov
zharinov merged commit 0af57ee into master Jul 6, 2026
6 checks passed
@zharinov
zharinov deleted the ci/tune-workflows branch July 6, 2026 01:21
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.

1 participant