[test optimization] Use duration buckets for cucumber EFD retries#8287
Merged
juan-fernandez merged 11 commits intoMay 7, 2026
Conversation
Contributor
Overall package sizeSelf size: 5.77 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.0.1 | 82.56 kB | 817.39 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage (details) 🔗 Commit SHA: 243e343 | Docs | Datadog PR Page | Give us feedback! |
BenchmarksBenchmark execution time: 2026-05-07 15:33:39 Comparing candidate commit 243e343 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 1755 metrics, 89 unstable metrics. |
…rnandez/efd-duration-retries-cucumber
…rnandez/efd-duration-retries-cucumber
Base automatically changed from
juan-fernandez/efd-duration-retries-mocha
to
master
May 7, 2026 15:06
anmarchenko
approved these changes
May 7, 2026
Merged
BridgeAR
pushed a commit
that referenced
this pull request
May 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Updates Cucumber Early Flake Detection rerun scheduling to use the
slow_test_retriesduration buckets returned by the settings API.Propagates the retry thresholds to Cucumber workers, and marks tests with
test.early_flake.abort_reason=slowwhen the selected bucket aborts additional retries.Motivation
Jest and Mocha already limit EFD retry attempts based on the duration of the first test execution. Cucumber should apply the same API-driven retry bucket behavior so slow tests do not keep scheduling unnecessary EFD retries.
Additional Notes
Stack: 2/5. This is now the base PR for the remaining framework PRs after #8286 merged.