Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SDTEST-173] Retry new tests - parse remote configuration and fetch unique known tests #227

Merged
merged 16 commits into from
Sep 3, 2024

Conversation

anmarchenko
Copy link
Member

@anmarchenko anmarchenko commented Aug 29, 2024

What does this PR do?
Preparatory work for retrying new tests:

  • parse early_flake_detection payload in library settings response, including slow_test_retries
  • if retrying new tests is enabled, fetch unique know tests from the backend
  • change Remote::Component to configure TestOptimisation and TestRetries in parallel to not execute blocking HTTP requests in sequence

Motivation
Retrying new tests to detect flakes early is a next feature planned for Ruby

How to test the change?
Unit tests are provided, tested locally with staging

@codecov-commenter
Copy link

codecov-commenter commented Aug 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.95%. Comparing base (12ed0e8) to head (46630f4).
Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #227      +/-   ##
==========================================
+ Coverage   98.93%   98.95%   +0.02%     
==========================================
  Files         262      266       +4     
  Lines       12440    12754     +314     
  Branches      560      574      +14     
==========================================
+ Hits        12307    12621     +314     
  Misses        133      133              

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

@anmarchenko anmarchenko changed the title Anmaerchenko/efd_settings_and_known_tests [SDTEST-173] efd_settings_and_known_tests Aug 29, 2024
@anmarchenko anmarchenko force-pushed the anmaerchenko/efd_settings_and_known_tests branch from c2dfea3 to f0d2445 Compare August 29, 2024 12:54
@anmarchenko anmarchenko changed the title [SDTEST-173] efd_settings_and_known_tests [SDTEST-173] Retry new tests - parse remote configuration and fetch unique known tests Sep 2, 2024
@anmarchenko anmarchenko marked this pull request as ready for review September 2, 2024 14:28
@anmarchenko anmarchenko requested review from a team as code owners September 2, 2024 14:28
@anmarchenko anmarchenko merged commit e2151ad into main Sep 3, 2024
30 checks passed
@anmarchenko anmarchenko deleted the anmaerchenko/efd_settings_and_known_tests branch September 3, 2024 12:02
@anmarchenko anmarchenko added this to the 1.5.1 milestone Sep 9, 2024
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.

3 participants