Skip to content

chore: fix cargo fmt and flaky test race - #2

Merged
eitsupi merged 2 commits into
mainfrom
fix/cargo-fmt
Mar 25, 2026
Merged

chore: fix cargo fmt and flaky test race#2
eitsupi merged 2 commits into
mainfrom
fix/cargo-fmt

Conversation

@eitsupi

@eitsupi eitsupi commented Mar 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fix cargo fmt violations in src/lib.rs from the structured error diagnostics commit
  • Add serial_test to prevent test race on global ERROR_FORMAT / QUIET state (flaky failure observed on macOS CI)

Test plan

  • cargo fmt --check passes
  • cargo test passes locally
  • CI passes on all platforms (ubuntu, macos, windows)

🤖 Generated with Claude Code

eitsupi and others added 2 commits March 25, 2026 15:10
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Tests that mutate the global ERROR_FORMAT / QUIET flags can race when
run in parallel, producing flaky failures (observed on macOS CI).

Add serial_test and mark those tests #[serial] so they run sequentially.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@eitsupi eitsupi changed the title style: fix cargo fmt violations chore: fix cargo fmt and flaky test race Mar 25, 2026
@eitsupi
eitsupi merged commit 077e363 into main Mar 25, 2026
10 of 11 checks passed
@eitsupi
eitsupi deleted the fix/cargo-fmt branch March 25, 2026 15:18
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