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

feat: handle file not found from CLI #1075

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joseph-sentry
Copy link
Contributor

we want to be able to notify the user with a comment when they get a file not found error from the CLI so this is our way of doing that

we create a "placeholder" upload which represents this attempt at an upload that was not able to find a file

this upload goes through the upload flow with a placeholder storage path (because we don't want the user to upload anything here) and when it gets to the TA processor, that step will create an upload error which will get notified like all other errors

we want to be able to notify the user with a comment when they get a
file not found error from the CLI so this is our way of doing that

we create a "placeholder" upload which represents this attempt at an
upload that was not able to find a file

this upload goes through the upload flow with a placeholder storage path
(because we don't want the user to upload anything here) and when it
gets to the TA processor, that step will create an upload error which
will get notified like all other errors
Copy link

codecov bot commented Dec 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.02%. Comparing base (392c975) to head (22ba12a).
Report is 4 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1075   +/-   ##
=======================================
  Coverage   96.02%   96.02%           
=======================================
  Files         828      828           
  Lines       19458    19467    +9     
=======================================
+ Hits        18685    18694    +9     
  Misses        773      773           
Flag Coverage Δ
unit 92.30% <100.00%> (+<0.01%) ⬆️
unit-latest-uploader 92.30% <100.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.

@codecov-notifications
Copy link

codecov-notifications bot commented Dec 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

Copy link
Contributor

✅ All tests successful. No failed tests were found.

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

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.

1 participant