Skip to content

Conversation

@JP-Ellis
Copy link
Contributor

@JP-Ellis JP-Ellis commented Dec 2, 2025

📝 Summary

Remove the rerun exception for AssertionError

🚨 Breaking Changes

🔥 Motivation

Some flaky tests result in AssertionError (not just RuntimeError).

🔨 Test Plan

CI

🔗 Related issues/PRs

Signed-off-by: JP-Ellis <josh@jpellis.me>
@JP-Ellis JP-Ellis self-assigned this Dec 2, 2025
Copilot AI review requested due to automatic review settings December 2, 2025 02:35
@JP-Ellis JP-Ellis enabled auto-merge (rebase) December 2, 2025 02:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the --rerun-except=AssertionError flag from pytest configuration to allow flaky tests that fail with AssertionError to be automatically retried.

  • Removes the exclusion of AssertionError from pytest's rerun mechanism

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link

codecov bot commented Dec 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51%. Comparing base (b87be89) to head (8f436eb).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@         Coverage Diff          @@
##           main   #1373   +/-   ##
====================================
  Coverage    51%     51%           
====================================
  Files        31      31           
  Lines      3729    3729           
====================================
  Hits       1938    1938           
  Misses     1791    1791           
Flag Coverage Δ
tests 51% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@JP-Ellis JP-Ellis merged commit 0b5892f into main Dec 2, 2025
59 checks passed
@JP-Ellis JP-Ellis deleted the chore/dont-except-assertionerror branch December 2, 2025 02:47
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