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: add more information to detected flakes logs #728

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

joseph-sentry
Copy link
Contributor

No description provided.

@codecov-notifications
Copy link

codecov-notifications bot commented Sep 19, 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     #728      +/-   ##
==========================================
+ Coverage   97.92%   98.07%   +0.14%     
==========================================
  Files         434      434              
  Lines       36733    36798      +65     
==========================================
+ Hits        35971    36089     +118     
+ Misses        762      709      -53     
Flag Coverage Δ
integration 98.07% <ø> (+0.14%) ⬆️
latest-uploader-overall 98.07% <ø> (+0.14%) ⬆️
unit 98.07% <ø> (+0.14%) ⬆️

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

Components Coverage Δ
NonTestCode 95.97% <ø> (+<0.01%) ⬆️
OutsideTasks 98.09% <ø> (+<0.01%) ⬆️
Files Coverage Δ
tasks/test_results_finisher.py 93.56% <ø> (ø)

... and 15 files with indirect coverage changes

@codecov-qa
Copy link

codecov-qa bot commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.07%. Comparing base (fa0e247) to head (3c02eb8).
Report is 13 commits behind head on main.

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #728      +/-   ##
==========================================
+ Coverage   97.92%   98.07%   +0.14%     
==========================================
  Files         434      434              
  Lines       36733    36798      +65     
==========================================
+ Hits        35971    36089     +118     
+ Misses        762      709      -53     
Flag Coverage Δ
integration 98.07% <ø> (+0.14%) ⬆️
latest-uploader-overall 98.07% <ø> (+0.14%) ⬆️
unit 98.07% <ø> (+0.14%) ⬆️

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

Components Coverage Δ
NonTestCode 95.97% <ø> (+<0.01%) ⬆️
OutsideTasks 98.09% <ø> (+<0.01%) ⬆️
Files with missing lines Coverage Δ
tasks/test_results_finisher.py 93.56% <ø> (ø)

... and 15 files with indirect coverage changes

Copy link

codecov bot commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.15%. Comparing base (fa0e247) to head (3c02eb8).
Report is 13 commits behind head on main.

Changes have been made to critical files, which contain lines commonly executed in production. Learn more

✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #728      +/-   ##
==========================================
+ Coverage   97.97%   98.15%   +0.17%     
==========================================
  Files         475      475              
  Lines       38088    38707     +619     
==========================================
+ Hits        37318    37991     +673     
+ Misses        770      716      -54     
Flag Coverage Δ
integration 98.07% <ø> (+0.14%) ⬆️
latest-uploader-overall 98.07% <ø> (+0.14%) ⬆️
unit 98.07% <ø> (+0.14%) ⬆️

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

Components Coverage Δ
NonTestCode 96.11% <ø> (+0.04%) ⬆️
OutsideTasks 98.09% <ø> (+<0.01%) ⬆️
Files with missing lines Coverage Δ
tasks/test_results_finisher.py 94.15% <ø> (ø)

... and 15 files with indirect coverage changes

This change has been scanned for critical changes. Learn more

Copy link

codecov-public-qa bot commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.07%. Comparing base (fa0e247) to head (3c02eb8).
Report is 10 commits behind head on main.

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #728      +/-   ##
==========================================
+ Coverage   97.92%   98.07%   +0.14%     
==========================================
  Files         434      434              
  Lines       36733    36798      +65     
==========================================
+ Hits        35971    36089     +118     
+ Misses        762      709      -53     
Flag Coverage Δ
integration 98.07% <ø> (+0.14%) ⬆️
latest-uploader-overall 98.07% <ø> (+0.14%) ⬆️
unit 98.07% <ø> (+0.14%) ⬆️

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

Components Coverage Δ
NonTestCode 95.97% <ø> (+<0.01%) ⬆️
OutsideTasks 98.09% <ø> (+<0.01%) ⬆️
Files Coverage Δ
tasks/test_results_finisher.py 93.56% <ø> (ø)

... and 15 files with indirect coverage changes

@joseph-sentry joseph-sentry requested a review from a team September 19, 2024 17:29
@@ -357,6 +357,7 @@ def process_impl_within_lock(
"Detected failure on test that has been identified as flaky",
extra=dict(
success=success,
notifier_result=notifier_result.value,
Copy link
Contributor

Choose a reason for hiding this comment

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

Would using the .name be more readable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the definition of the notifier result looks like:

class NotifierResult(Enum):
    COMMENT_POSTED = "comment_posted"
    TORNGIT_ERROR = "torngit_error"
    NO_PULL = "no_pull"

so i think either name or value should be fine

@joseph-sentry joseph-sentry added this pull request to the merge queue Sep 19, 2024
Merged via the queue into main with commit 7e77395 Sep 19, 2024
26 of 27 checks passed
@joseph-sentry joseph-sentry deleted the joseph/fix-logs branch September 19, 2024 18:03
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