Skip to content

Conversation

@magf
Copy link

@magf magf commented Oct 19, 2025

fix(ci): update Rust toolchain to 1.89.0 for edition 2024 compatibility (#2660)

This PR updates the Rust toolchain to version 1.89.0 in the CI workflow to support
edition = "2024" in Cargo.toml and resolve compatibility issues with newer Rust
features and lints, including mismatched_lifetime_syntaxes. It also ensures
rustfmt and clippy are available for just fmt and just clippy steps.

Changes

  • Added dtolnay/rust-toolchain@stable with toolchain: 1.89.0 and
    components: rustfmt,clippy in .github/workflows/pull_request.yml.

Related Issues

  • Fixes failing CI in PRs due to edition = "2024" incompatibility with older Rust
    versions.

magf added 11 commits October 19, 2025 20:43
fix(ci): update Rust toolchain to 1.89.0 for edition 2024 compatibility (#2)

This PR updates the Rust toolchain to version 1.89.0 in the CI workflow to support `edition = "2024"` in `Cargo.toml` and resolve compatibility issues with newer Rust features and lints, including `mismatched_lifetime_syntaxes`. It also ensures `rustfmt` and `clippy` are available for `just fmt` and `just clippy` steps.

### Changes
- Added `dtolnay/rust-toolchain@stable` with `toolchain: 1.89.0` and `components: rustfmt,clippy` in `.github/workflows/pull_request.yml`.

### Related Issues
- Fixes failing CI in PRs due to `edition = "2024"` incompatibility with older Rust versions.
@magf
Copy link
Author

magf commented Oct 19, 2025

Check job in my repo fork success.

fix(ci): replace docker-compose with docker compose plugin and remove redundant setup

This PR replaces the deprecated Python-based `docker-compose` (v1) with the modern `docker compose` (v2, Go-based plugin) in the `Justfile` for the `e2e-stable` and `e2e-debug` recipes. It also removes the redundant `docker/setup-compose-action` from `midnight.yml`, as `docker compose` is already available in the CI environment. These changes ensure compatibility with newer Docker CLI versions, fixing failing end-to-end tests.

### Changes
- Updated `Justfile` to use `docker compose` instead of `docker-compose` in `e2e-stable` and `e2e-debug` recipes.
- Removed `docker/setup-compose-action` from `.github/workflows/midnight.yml`.

### Related Issues
- Fixes failing E2E tests in CI due to deprecated `docker-compose` usage and redundant setup action.
@magf
Copy link
Author

magf commented Oct 19, 2025

This PR must be merged before #2659 to ensure CI stability (resolves edition = "2024" and lint issues).
CI is green, ready for review and merge.
@aesedepece Please review and merge this first.

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