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

Failed check and status messaging in comment, part VI #1055

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

nora-codecov
Copy link
Contributor

when user has:
changes checks notifier OR changes status notifier
AND
comment notifier
AND
the change check/status fails
AND
there are unexpected/indirect changes
THEN
add some helper text to the comment notifier to point out that the check/status failed, with links to docs

codecov/engineering-team#1627

@nora-codecov nora-codecov requested a review from a team January 31, 2025 00:29
Copy link

codecov bot commented Jan 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.52%. Comparing base (7c3955a) to head (b8fe238).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1055   +/-   ##
=======================================
  Coverage   97.52%   97.52%           
=======================================
  Files         463      463           
  Lines       38088    38094    +6     
=======================================
+ Hits        37147    37153    +6     
  Misses        941      941           
Flag Coverage Δ
integration 42.84% <60.86%> (+0.01%) ⬆️
unit 90.21% <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.

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

@codecov-notifications
Copy link

codecov-notifications bot commented Jan 31, 2025

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

✅ All tests successful. No failed tests were found.

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

Comment on lines 2591 to 2592
INDIRECT_CHANGES_KEY: HELPER_TEXT_MAP[INDIRECT_CHANGES_KEY].format(
context="changes", notification_type="status"
Copy link
Contributor

Choose a reason for hiding this comment

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

just like with the other text, I would prefer the actual text to be asserted here.
otherwise the test is just a mirror of the code doing the formatting.

@nora-codecov nora-codecov added this pull request to the merge queue Feb 3, 2025
Merged via the queue into main with commit 7753b19 Feb 3, 2025
26 of 27 checks passed
@nora-codecov nora-codecov deleted the nora/1627-changes branch February 3, 2025 23:07
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.

3 participants