Skip to content

fix: add missing #[serial] to config env var test#274

Merged
SimplicityGuy merged 1 commit intomainfrom
fix/config-test-serial
Apr 4, 2026
Merged

fix: add missing #[serial] to config env var test#274
SimplicityGuy merged 1 commit intomainfrom
fix/config-test-serial

Conversation

@SimplicityGuy
Copy link
Copy Markdown
Owner

Summary

  • test_musicbrainz_dump_url_default calls env::remove_var("MUSICBRAINZ_DUMP_URL") but was missing #[serial], allowing it to race with test_musicbrainz_dump_url_from_env which sets the same env var
  • This caused the flaky CI failure where from_env() read the default URL instead of the test-set value

Test plan

  • All extractor tests pass locally
  • CI passes without the flaky config::tests::test_musicbrainz_dump_url_from_env failure

🤖 Generated with Claude Code

The test calls env::remove_var but lacked #[serial], allowing it to
race with the serial test_musicbrainz_dump_url_from_env that sets the
same env var — causing flaky CI failures.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@SimplicityGuy SimplicityGuy merged commit 786b27e into main Apr 4, 2026
4 checks passed
@SimplicityGuy SimplicityGuy deleted the fix/config-test-serial branch April 4, 2026 04:47
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 4, 2026

E2E Coverage (firefox)

Totals Coverage
Statements: 43.56% ( 1204 / 2764 )
Lines: 43.56% ( 1204 / 2764 )

StandWithUkraine

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 4, 2026

E2E Coverage (chromium)

Totals Coverage
Statements: 43.56% ( 1204 / 2764 )
Lines: 43.56% ( 1204 / 2764 )

StandWithUkraine

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 4, 2026

E2E Coverage (webkit)

Totals Coverage
Statements: 43.56% ( 1204 / 2764 )
Lines: 43.56% ( 1204 / 2764 )

StandWithUkraine

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 4, 2026

E2E Coverage (webkit - iPhone 15)

Totals Coverage
Statements: 43.56% ( 1204 / 2764 )
Lines: 43.56% ( 1204 / 2764 )

StandWithUkraine

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 4, 2026

E2E Coverage (webkit - iPad Pro 11)

Totals Coverage
Statements: 43.56% ( 1204 / 2764 )
Lines: 43.56% ( 1204 / 2764 )

StandWithUkraine

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