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

refactor: improve test results finisher notify logic #1070

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

joseph-sentry
Copy link
Contributor

we don't want to even try to notify if the pull is none, so i'm pushing that check out of the Notifier.notify() and overriding the base notify in the TestResultsNotifier, to expect a Pull

@joseph-sentry joseph-sentry requested a review from a team February 6, 2025 21:04
Copy link

sentry-io bot commented Feb 6, 2025

🔍 Existing Issues For Review

Your pull request is modifying functions with the following pre-existing issues:

📄 File: tasks/test_results_finisher.py

Function Unhandled Issue
process_impl_within_lock Plan.DoesNotExist: Plan matching query does not exist. app.tasks.test_results.TestResultsFinish...
Event Count: 418

Did you find this useful? React with a 👍 or 👎

Copy link

codecov bot commented Feb 6, 2025

Codecov Report

Attention: Patch coverage is 97.43590% with 1 line in your changes missing coverage. Please review.

Project coverage is 97.53%. Comparing base (8f9ea48) to head (03673db).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
tasks/test_results_finisher.py 94.44% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1070   +/-   ##
=======================================
  Coverage   97.53%   97.53%           
=======================================
  Files         466      466           
  Lines       38178    38192   +14     
=======================================
+ Hits        37237    37252   +15     
+ Misses        941      940    -1     
Flag Coverage Δ
integration 42.88% <92.30%> (+0.02%) ⬆️
unit 90.21% <35.89%> (-0.03%) ⬇️

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.

⚠️ Impact Analysis from Codecov is deprecated and will be sunset on Jan 31 2025. See more

@codecov-notifications
Copy link

codecov-notifications bot commented Feb 6, 2025

Codecov Report

Attention: Patch coverage is 97.43590% with 1 line in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
tasks/test_results_finisher.py 94.44% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Copy link

github-actions bot commented Feb 6, 2025

✅ All tests successful. No failed tests were found.

📣 Thoughts on this report? Let Codecov know! | Powered by Codecov

@joseph-sentry joseph-sentry force-pushed the joseph/refactor-test-results-notify branch from 1818f4b to d7400ff Compare February 7, 2025 14:41
we don't want to even try to notify if the pull is none, so i'm
pushing that check out of the Notifier.notify() and overriding the
base notify in the TestResultsNotifier, to expect a Pull
@joseph-sentry joseph-sentry force-pushed the joseph/refactor-test-results-notify branch from d7400ff to 03673db Compare February 7, 2025 14:42
@joseph-sentry joseph-sentry added this pull request to the merge queue Feb 7, 2025
Merged via the queue into main with commit e47c13a Feb 7, 2025
20 of 27 checks passed
@joseph-sentry joseph-sentry deleted the joseph/refactor-test-results-notify branch February 7, 2025 16:40
Copy link

sentry-io bot commented Feb 7, 2025

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ AssertionError app.tasks.test_results.TAFinisher View Issue

Did you find this useful? React with a 👍 or 👎

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