Skip to content

Conversation

@vdusek
Copy link
Contributor

@vdusek vdusek commented Jan 21, 2026

Add pytest-rerunfailures as a dev dependency and configure all integration tests to rerun up to 3 times on failure automatically. This helps handle occasional platform-related instabilities without manual test reruns.

Uses pytest_collection_modifyitems hook to apply the flaky marker to all integration tests, avoiding the need to decorate each test individually.

Add `pytest-rerunfailures` as a dev dependency and configure all integration tests to rerun up to 3 times on failure automatically. This helps handle occasional platform-related instabilities without manual test reruns.

Uses `pytest_collection_modifyitems` hook to apply the flaky marker to all integration tests, avoiding the need to decorate each test individually.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vdusek vdusek added this to the 132nd sprint - Tooling team milestone Jan 21, 2026
@vdusek vdusek requested a review from Pijukatel January 21, 2026 08:32
@vdusek vdusek self-assigned this Jan 21, 2026
@vdusek vdusek added adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. labels Jan 21, 2026
@github-actions github-actions bot added the tested Temporary label used only programatically for some analytics. label Jan 21, 2026
@codecov
Copy link

codecov bot commented Jan 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.90%. Comparing base (675eaf7) to head (24e3136).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #746      +/-   ##
==========================================
- Coverage   81.98%   81.90%   -0.08%     
==========================================
  Files          46       46              
  Lines        2681     2681              
==========================================
- Hits         2198     2196       -2     
- Misses        483      485       +2     
Flag Coverage Δ
integration 56.13% <ø> (ø)
unit 67.84% <ø> (-0.08%) ⬇️

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@Pijukatel Pijukatel left a comment

Choose a reason for hiding this comment

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

I would prefer to apply any retries only on per-test basis. Most often I feel that the flakiness is due to specific test design or sometimes it actually exposes real issue. Such blanket retry could lead to hiding issues.

Can you please link some example failures you want to deal with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants