Repository navigation
Conversation
5f4a55f to
eab76dc
Compare
eab76dc to
ed3b9b7
Compare
ed3b9b7 to
8a489e8
Compare
| UV_INTERNAL__TEST_NOCOW_FS: /tmpfs | ||
| UV_INTERNAL__TEST_ALT_FS: /tmpfs | ||
| UV_INTERNAL__TEST_LOWLINKS_FS: /minix | ||
| uses: astral-sh/github-actions/nextest@583fb5711db77c8554775b551079742d8a341e91 |
There was a problem hiding this comment.
[P3] Keep nextest installation tied to the locked dev toolchain
The pinned shared action unconditionally installs nextest through taiki-e/install-action and invokes plain cargo, replacing uv run --only-dev on all three platforms. This bypasses astral-dev-toolchain-cargo-nextest in uv.lock and the explicit installer policy in .github/zizmor.yml. Both currently select 0.9.143, but future lockfile updates will no longer update CI's nextest, allowing local and CI tooling to diverge. Make the shared installer optional and supply nextest from uv's locked development environment in the local action.
8a489e8 to
7921b76
Compare
| prefix-key: v1-rust-workspace | ||
| shared-key: ${{ format('{0}-cargo-test-linux', hashFiles('Cargo.toml')) }} | ||
| cache-workspace-crates: "true" | ||
| save-if: ${{ inputs.save-cache == 'true' }} |
There was a problem hiding this comment.
[P3] Include the extracted actions in cache-relevant change detection
The CI planner only classifies .github/workflows/*.yml as cache-relevant. A PR that changes only these new actions—for example, bumping this cache prefix or changing a cache-hashed Cargo environment variable—therefore gets save-rust-cache=false, whereas the same edit in test.yml enabled cache saving. Resulting cache misses cannot be saved for subsequent PR runs, causing repeated cold builds. Include the extracted nextest action paths in .github/workflows/plan.yml’s cache-relevant classification.
660e616 to
18500da
Compare
18500da to
a381ef8
Compare
a381ef8 to
a0423c0
Compare
a0423c0 to
99a8dfc
Compare
| # renovate: datasource=github-release-attachments depName=astral-sh/uv | ||
| version: "0.13.0" | ||
| checksum: "1468ebd5a5541121837c5a2817b9972ba6090fa6caa3d142620850a47fb75154" |
There was a problem hiding this comment.
[P2] Extend Renovate’s checksum rules to the extracted actions
The inherited astral-sh/renovate-config preset restricts both its checksum-aware updater and its suppression of version-only updates to .github/workflows/**. Moving these pins into .github/actions/** bypasses both rules, while Renovate’s standard GitHub Actions manager still scans them. A subsequent uv update can therefore change version without updating checksum, causing setup-uv to reject the download before tests run. Extend both path filters to cover all three extracted platform actions.
99a8dfc to
d5da16e
Compare
d5da16e to
923333f
Compare
923333f to
9b9a971
Compare
9b9a971 to
a7add45
Compare
a7add45 to
1fc0a03
Compare
Move nextest runner allocation and artifact handling into the shared workflow from astral-sh/github-actions#5.
test.ymlselects the runner, timeout, cache policy, and shard count; uv-specific toolchains, Cargo features, Dev Drive, keychain, and filesystem fixtures remain in local platform actions. Explicit Unix Rust-cache keys keep the cache identity independent of the reusable workflow's job name.Linux defaults to one shard and Windows to three. macOS uses one complete test run on
mainand two shards when the existing CI plan enables it elsewhere, so opted-in pull requests can trade additional runner capacity for lower latency without increasing the normalmainrunner count. The aggregate required check still waits for the complete test workflow.