Skip to content

Pin Viceroy install to v0.16.4 in test workflow#656

Merged
aram356 merged 2 commits intomainfrom
fix/ci-pin-viceroy
Apr 24, 2026
Merged

Pin Viceroy install to v0.16.4 in test workflow#656
aram356 merged 2 commits intomainfrom
fix/ci-pin-viceroy

Conversation

@aram356
Copy link
Copy Markdown
Collaborator

@aram356 aram356 commented Apr 24, 2026

Summary

  • .github/workflows/test.yml installed Viceroy from HEAD. CI then started picking up viceroy-lib@0.16.6, which bumped MSRV to rustc 1.95, while rust-toolchain.toml pins rustc 1.91.1 — failing with viceroy-lib@0.16.6 requires rustc 1.95.
  • Make .tool-versions the single source of truth for the Viceroy pin. Both test.yml and .github/actions/setup-integration-test-env/action.yml now read the version via grep '^viceroy ' .tool-versions, so the two workflows can no longer drift.
  • Pin is currently 0.16.4, the latest tag whose MSRV is compatible with this repo's rustc pin. Follow-up tracked in CI: upstream Viceroy 0.16.6 requires rustc 1.95, exceeds repo's 1.91.1 pin #657.

Test plan

  • CI Run Tests / cargo test job succeeds
  • Viceroy cache populates on first run (miss) and hits on subsequent runs
  • Integration tests still find the same Viceroy version via the composite action

Upstream Viceroy 0.16.6 bumped its MSRV to rustc 1.95, but this repo
pins rustc 1.91.1 in rust-toolchain.toml. The test workflow installed
Viceroy from HEAD, so CI picked up 0.16.6 and failed to compile with
"viceroy-lib@0.16.6 requires rustc 1.95".

Pin to v0.16.4, matching the tag already used by
.github/actions/setup-integration-test-env/action.yml. Drop the
ls-remote cache-key step since a fixed tag is now the cache key.
Adds `viceroy 0.16.4` to `.tool-versions` and rewires both the
`Run Tests` workflow and the `setup-integration-test-env` composite
action to read the tag from there via grep. `.tool-versions` is now
the single source of truth, so the two workflows can no longer drift
on the pin.

The pin is still required because upstream Viceroy > v0.16.4 bumped
MSRV beyond the rustc pin in rust-toolchain.toml.
@aram356 aram356 merged commit 46607b9 into main Apr 24, 2026
13 checks passed
@aram356 aram356 deleted the fix/ci-pin-viceroy branch April 24, 2026 18:05
@aram356 aram356 self-assigned this Apr 24, 2026
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.

CI: upstream Viceroy 0.16.6 requires rustc 1.95, exceeds repo's 1.91.1 pin

2 participants