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

fix: only process flakes for head of pull #545

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

joseph-sentry
Copy link
Contributor

instead of processing all the commits on a pull that was merged, it's more correct to process only the testinstances that occurred on the head of the pull, since we can only guarantee that the test instances on the head of the pull are reflective of the state of the code on main.

instead of processing all the commits on a pull that was merged, it's
more correct to process only the testinstances that occurred on the head
of the pull, since we can only guarantee that the test instances on the
head  of the pull are reflective of the state of the code on main.
@joseph-sentry joseph-sentry marked this pull request as ready for review July 4, 2024 19:53
@joseph-sentry joseph-sentry requested a review from a team July 4, 2024 19:53
@codecov-notifications
Copy link

codecov-notifications bot commented Jul 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #545      +/-   ##
==========================================
- Coverage   97.51%   97.51%   -0.01%     
==========================================
  Files         420      420              
  Lines       35432    35429       -3     
==========================================
- Hits        34550    34547       -3     
  Misses        882      882              
Flag Coverage Δ
integration 97.51% <100.00%> (-0.01%) ⬇️
latest-uploader-overall 97.51% <100.00%> (-0.01%) ⬇️
unit 97.51% <100.00%> (-0.01%) ⬇️

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

Components Coverage Δ
NonTestCode 94.58% <ø> (-0.01%) ⬇️
OutsideTasks 97.74% <ø> (ø)
Files Coverage Δ
tasks/sync_pull.py 98.86% <ø> (-0.01%) ⬇️
tasks/tests/unit/test_sync_pull.py 100.00% <100.00%> (ø)

@codecov-qa
Copy link

codecov-qa bot commented Jul 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.51%. Comparing base (7691f5a) to head (349041d).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #545      +/-   ##
==========================================
- Coverage   97.51%   97.51%   -0.01%     
==========================================
  Files         420      420              
  Lines       35432    35429       -3     
==========================================
- Hits        34550    34547       -3     
  Misses        882      882              
Flag Coverage Δ
integration 97.51% <100.00%> (-0.01%) ⬇️
latest-uploader-overall 97.51% <100.00%> (-0.01%) ⬇️
unit 97.51% <100.00%> (-0.01%) ⬇️

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

Components Coverage Δ
NonTestCode 94.58% <ø> (-0.01%) ⬇️
OutsideTasks 97.74% <ø> (ø)
Files Coverage Δ
tasks/sync_pull.py 98.86% <ø> (-0.01%) ⬇️
tasks/tests/unit/test_sync_pull.py 100.00% <100.00%> (ø)

Copy link

codecov-public-qa bot commented Jul 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.51%. Comparing base (7691f5a) to head (349041d).

✅ All tests successful. No failed tests found ☺️

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #545      +/-   ##
==========================================
- Coverage   97.51%   97.51%   -0.01%     
==========================================
  Files         420      420              
  Lines       35432    35429       -3     
==========================================
- Hits        34550    34547       -3     
  Misses        882      882              
Flag Coverage Δ
integration 97.51% <100.00%> (-0.01%) ⬇️
latest-uploader-overall 97.51% <100.00%> (-0.01%) ⬇️
unit 97.51% <100.00%> (-0.01%) ⬇️

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

Components Coverage Δ
NonTestCode 94.58% <ø> (-0.01%) ⬇️
OutsideTasks 97.74% <ø> (ø)
Files Coverage Δ
tasks/sync_pull.py 98.86% <ø> (-0.01%) ⬇️
tasks/tests/unit/test_sync_pull.py 100.00% <100.00%> (ø)

Copy link

codecov bot commented Jul 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.53%. Comparing base (7691f5a) to head (349041d).

✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #545      +/-   ##
==========================================
- Coverage   97.53%   97.53%   -0.01%     
==========================================
  Files         451      451              
  Lines       36155    36152       -3     
==========================================
- Hits        35263    35260       -3     
  Misses        892      892              
Flag Coverage Δ
integration 97.51% <100.00%> (-0.01%) ⬇️
latest-uploader-overall 97.51% <100.00%> (-0.01%) ⬇️
unit 97.51% <100.00%> (-0.01%) ⬇️

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

Components Coverage Δ
NonTestCode 94.63% <ø> (-0.01%) ⬇️
OutsideTasks 97.74% <ø> (ø)
Files Coverage Δ
tasks/sync_pull.py 98.87% <ø> (-0.01%) ⬇️
tasks/tests/unit/test_sync_pull.py 100.00% <100.00%> (ø)

This change has been scanned for critical changes. Learn more

Copy link
Contributor

@adrian-codecov adrian-codecov left a comment

Choose a reason for hiding this comment

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

Changes make sense to me

@joseph-sentry joseph-sentry added this pull request to the merge queue Jul 5, 2024
Merged via the queue into main with commit 9afdbc7 Jul 5, 2024
29 of 30 checks passed
@joseph-sentry joseph-sentry deleted the joseph/fix-sync-pulls branch July 5, 2024 13:41
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.

None yet

2 participants