8000 fix: test analytics chain prev result handling by joseph-sentry · Pull Request #968 · codecov/worker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

fix: test analytics chain prev result handling #968

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

joseph-sentry
Copy link
Contributor

i previously forgot that chains pass through a single previous result through all the tasks so this commit fixes that

we pass a boolean that at first is false, if at any point there is a single parsing success then it becomes true and means there was at least one success in parsing a test results file

the finisher then replaces the call to check_if_no_success with checking if the previous result is false

i previously forgot that chains pass through a single previous result
through all the tasks so this commit fixes that

we pass a boolean that at first is false, if at any point there is a
single parsing success then it becomes true and means there was at
least one success in parsing a test results file

the finisher then replaces the call to check_if_no_success with
checking if the previous result is false
Copy link
sentry-io bot commented Dec 18, 2024

🔍 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
run_impl TypeError: string indices must be integers, not 'str' app.tasks.test_results.TestResultsFinishe...
Event Count: 2.5k
run_impl TypeError: 'NoneType' object is not iterable app....
Event Count: 607
run_impl AttributeError: 'TestResultsFinisherTask' object has no attribute 'schedule_new_user_activated_task' ...
Event Count: 1
📄 File: tasks/test_results_processor.py (Click to Expand)
Function Unhandled Issue
run_impl TypeError: unsupported operand type(s) for *: 'NoneType' and 'int' app.tasks.test_results.Te...
Event Count: 41
run_impl FileNotInStorageError: File test_results/v1/raw/github/benchling::::overwatch-ui/fd41c8b9d95f95f7e999b75fb30f84bb6f53c0f... ...
Event Count: 4
📄 File: tasks/upload.py (Click to Expand)
Function Unhandled Issue
_schedule_test_results_processing_task [**TypeError: unsupported operand type(s) for
---

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

8000

Copy link
codecov bot commented Dec 18, 2024

Codecov Report

Attention: Patch coverage is 89.47368% with 2 lines in your changes missing coverage. Please review.

Project coverage is 97.97%. Comparing base (483d29f) to head (59a198c).
Report is 1 commits behind head on main.

❌ We are unable to process any of the uploaded JUnit XML files. Please ensure your files are in the right format.

Files with missing lines Patch % Lines
tasks/test_results_processor.py 66.66% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #968      +/-   ##
==========================================
- Coverage   97.98%   97.97%   -0.01%     
==========================================
  Files         443      443              
  Lines       35821    35823       +2     
==========================================
+ Hits        35098    35099       +1     
- Misses        723      724       +1     
Flag Coverage Δ
integration 42.16% <89.47%> (+<0.01%) ⬆️
unit 90.62% <0.00%> (-0.01%) ⬇️

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 Dec 18, 2024

Codecov Report

Attention: Patch coverage is 89.47368% with 2 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
tasks/test_results_processor.py 66.66% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@joseph-sentry joseph-sentry requested a review from a team December 18, 2024 19:39
Copy link

✅ All tests successful. No failed tests were found.

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

@joseph-sentry joseph-sentry added this pull request to the merge queue Dec 18, 2024
Merged via the queue into main with commit b4b24b5 Dec 18, 2024
20 of 27 checks passed
@joseph-sentry joseph-sentry deleted the joseph/fix-ta-finisher branch December 18, 2024 19:49
Copy link
sentry-io bot commented Dec 18, 2024

Suspect Issues

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

  • ‼️ TypeError: 'bool' object is not iterable app.tasks.test_results.TestResultsFinisherTask View Issue
  • ‼️ FileNotInStorageError: File test_results/v1/raw/github/codecov::::gazebo/08ef3cd50c637c8fa3fb7dda35ff8aa20ad65a04/08285d... app.tasks.test_results.TestResultsProcessor View Issue

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0