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

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

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 (6302730) to head (6c6c189).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1055   +/-   ##
=======================================
  Coverage   97.52%   97.52%           
=======================================
  Files         462      462           
  Lines       37902    37908    +6     
=======================================
+ Hits        36963    36969    +6     
  Misses        939      939           
Flag Coverage Δ
integration 42.91% <62.50%> (+0.01%) ⬆️
unit 90.17% <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.

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