Skip to content

Fix CI: bump MSRV to 1.88 and gate doc-test on broker-wam feature - #2

Open
tolgaki wants to merge 1 commit into
mainfrom
claude/investigate-ci-failures-Xbjda
Open

Fix CI: bump MSRV to 1.88 and gate doc-test on broker-wam feature#2
tolgaki wants to merge 1 commit into
mainfrom
claude/investigate-ci-failures-Xbjda

Conversation

@tolgaki

@tolgaki tolgaki commented May 2, 2026

Copy link
Copy Markdown
Owner

Two CI jobs were failing on main:

  • MSRV (1.75): Cargo.lock is v4 (needs Cargo 1.78+), and transitive
    deps require newer toolchains: getrandom 0.4.2 needs edition2024
    (1.85+) and time 0.3.47 needs 1.88. Bump rust-version and the CI
    pin to 1.88, the actual minimum the dependency graph supports.

  • Test (windows-latest): doc-test in client/public.rs gated only on
    target_os = "windows", not on the broker-wam feature, so on a
    default-feature build the block compiles and references
    msal::broker::wam::WamBroker, which is itself feature-gated. Same
    bug PR Fix WAM broker build on Windows #1 fixed in broker/mod.rs but missed here. Add the feature
    flag to the cfg.

Verified locally: cargo +1.88 check, cargo +1.88 test (21 lib + 57
integration + 7 doc tests all pass), cargo fmt --check, cargo clippy
-Dwarnings.

Two CI jobs were failing on main:

- MSRV (1.75): Cargo.lock is v4 (needs Cargo 1.78+), and transitive
  deps require newer toolchains: getrandom 0.4.2 needs edition2024
  (1.85+) and time 0.3.47 needs 1.88. Bump rust-version and the CI
  pin to 1.88, the actual minimum the dependency graph supports.

- Test (windows-latest): doc-test in client/public.rs gated only on
  target_os = "windows", not on the broker-wam feature, so on a
  default-feature build the block compiles and references
  msal::broker::wam::WamBroker, which is itself feature-gated. Same
  bug PR #1 fixed in broker/mod.rs but missed here. Add the feature
  flag to the cfg.

Verified locally: cargo +1.88 check, cargo +1.88 test (21 lib + 57
integration + 7 doc tests all pass), cargo fmt --check, cargo clippy
-Dwarnings.
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.

2 participants