Skip to content

fix: Fix max_exclusive=0 being ignored#158

Merged
Andreas Albert (AndreasAlbertQC) merged 3 commits into
mainfrom
2025-10-06_fix-max-exclusive
Oct 6, 2025
Merged

fix: Fix max_exclusive=0 being ignored#158
Andreas Albert (AndreasAlbertQC) merged 3 commits into
mainfrom
2025-10-06_fix-max-exclusive

Conversation

@AndreasAlbertQC

Copy link
Copy Markdown
Collaborator

Motivation

We do not properly differentiate between max_exclusive=None and max_exclusive=0 because we naively cast to bool.

Changes

  • Added a test that catches the bug
  • Fixed the bug

@github-actions github-actions Bot added the fix label Oct 6, 2025
@codecov

codecov Bot commented Oct 6, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (5d1c4d7) to head (7fec3c5).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #158   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           51        51           
  Lines         2896      2896           
=========================================
  Hits          2896      2896           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, thank you!

@AndreasAlbertQC Andreas Albert (AndreasAlbertQC) merged commit 1697f1f into main Oct 6, 2025
22 checks passed
@AndreasAlbertQC Andreas Albert (AndreasAlbertQC) deleted the 2025-10-06_fix-max-exclusive branch October 6, 2025 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants