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

Only show VCR logs on errors #836

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

michelletran-codecov
Copy link
Contributor

@michelletran-codecov michelletran-codecov commented Oct 30, 2024

These logs were getting really noisy when testing locally (especially when running with verbose mode -vv). Removing unnecessary logs should make it more manageable to debug, especially since the VCR logs aren't super useful. If someone wants the full log, they can remove this or override manually.

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

These logs were getting really noisy when testing locally.
Removing unnecessary logs should make it more manageable to debug.
If someone wants the full log, they can override the log levels.
@michelletran-codecov michelletran-codecov requested a review from a team October 30, 2024 14:28
Copy link

codecov bot commented Oct 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.02%. Comparing base (1020c5d) to head (0c55f58).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #836   +/-   ##
=======================================
  Coverage   98.02%   98.02%           
=======================================
  Files         442      442           
  Lines       36033    36036    +3     
=======================================
+ Hits        35320    35323    +3     
  Misses        713      713           
Flag Coverage Δ
integration 98.02% <100.00%> (+<0.01%) ⬆️
unit 98.02% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 95.90% <ø> (ø)
OutsideTasks 98.02% <100.00%> (+<0.01%) ⬆️
Files with missing lines Coverage Δ
conftest.py 94.83% <100.00%> (+0.10%) ⬆️

@codecov-qa
Copy link

codecov-qa bot commented Oct 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.02%. Comparing base (1020c5d) to head (0c55f58).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #836   +/-   ##
=======================================
  Coverage   98.02%   98.02%           
=======================================
  Files         442      442           
  Lines       36033    36036    +3     
=======================================
+ Hits        35320    35323    +3     
  Misses        713      713           
Flag Coverage Δ
integration 98.02% <100.00%> (+<0.01%) ⬆️
unit 98.02% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 95.90% <ø> (ø)
OutsideTasks 98.02% <100.00%> (+<0.01%) ⬆️
Files with missing lines Coverage Δ
conftest.py 94.83% <100.00%> (+0.10%) ⬆️

@codecov-notifications
Copy link

codecov-notifications bot commented Oct 30, 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     #836   +/-   ##
=======================================
  Coverage   98.02%   98.02%           
=======================================
  Files         442      442           
  Lines       36033    36036    +3     
=======================================
+ Hits        35320    35323    +3     
  Misses        713      713           
Flag Coverage Δ
integration 98.02% <100.00%> (+<0.01%) ⬆️
unit 98.02% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 95.90% <ø> (ø)
OutsideTasks 98.02% <100.00%> (+<0.01%) ⬆️
Files with missing lines Coverage Δ
conftest.py 94.83% <100.00%> (+0.10%) ⬆️

Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.02%. Comparing base (1020c5d) to head (0c55f58).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #836   +/-   ##
=======================================
  Coverage   98.02%   98.02%           
=======================================
  Files         442      442           
  Lines       36033    36036    +3     
=======================================
+ Hits        35320    35323    +3     
  Misses        713      713           
Flag Coverage Δ
integration 98.02% <100.00%> (+<0.01%) ⬆️
unit 98.02% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 95.90% <ø> (ø)
OutsideTasks 98.02% <100.00%> (+<0.01%) ⬆️
Files Coverage Δ
conftest.py 94.83% <100.00%> (+0.10%) ⬆️

Copy link
Contributor

@Swatinem Swatinem left a comment

Choose a reason for hiding this comment

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

❤️ these were annoying me quite a bit :-D

@michelletran-codecov michelletran-codecov added this pull request to the merge queue Oct 30, 2024
Merged via the queue into main with commit 864b8a4 Oct 30, 2024
26 of 27 checks passed
@michelletran-codecov michelletran-codecov deleted the only_show_vcr_logs_on_errors branch October 30, 2024 15:05
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