Skip to content

test: stabilize cross-platform fetch cache tests#22

Merged
blackopsrepl merged 1 commit intomainfrom
hotfix/ci-cross-platform-fetch-tests
Mar 21, 2026
Merged

test: stabilize cross-platform fetch cache tests#22
blackopsrepl merged 1 commit intomainfrom
hotfix/ci-cross-platform-fetch-tests

Conversation

@blackopsrepl
Copy link
Copy Markdown
Contributor

Summary

The new fetch/cache tests share global static cache state and can run in parallel under cargo test, which made the same-key dedup assertion race on Windows CI.

This hotfix serializes the fetch test group behind a dedicated async mutex so those tests stop interfering with each other across platforms while still validating the same loader behavior.

Validation

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test routing::fetch::tests:: --lib
  • cargo test

@blackopsrepl blackopsrepl merged commit dfbec9b into main Mar 21, 2026
4 checks passed
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