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

RCB: Update PR comment with fail reason in different RCB behaviors #1133

Open
6 of 22 tasks
Tracked by #1020
Adal3n3 opened this issue Feb 2, 2024 · 6 comments
Open
6 of 22 tasks
Tracked by #1020

RCB: Update PR comment with fail reason in different RCB behaviors #1133

Adal3n3 opened this issue Feb 2, 2024 · 6 comments
Assignees
Labels
carryover Carryover from a previous sprint Dev-Ready This means the UX is reviewed and ready for prioritization scheduling. epic this label is used to mark issues as epics

Comments

@Adal3n3
Copy link

Adal3n3 commented Feb 2, 2024

Problem to solve

Description

This task is a part of the work from RCB v2 #1020
It is unclear to customers why the check fails, leading to much confusion. Therefore, on the PR comment, we want to show the transparency:
“Your status [fail] because of [reason]” for both patch and project coverage users.

Steps to Reproduce / Current UX
  1. Need a table to list all of the CI check failure scenarios for 1/ reasons based on the RCB behaviors 2/ without RCB which patch coverage only users.
  2. Update the PR comment design with the new conditional check status messages.

Solution

  1. Here's the aligned PR design for displaying all the failed reasons with action for the user.
    Screenshot 2024-03-01 at 8 56 10 AM

  2. Here's the list of CI failure scenarios and the UI messages. (Reviewed with Gio)

  3. Here is the list of unexpected changes, we can't detect today:

    • Your project check has failed because the coverage report failed to upload.
    • Your project check has failed because you have a time-sensitive tests.
    • Your project check has failed because you are missing coverage reports.
    • Your project check has failed because you have encrypted variables may prevent some execution paths.
    • Your project check has failed because you have a different error handling paths.
  4. Update the unexpected changes to the public document, if needed here

Additional Information

Removed Code Behavior - Adjust Base (Default Config)

@Adal3n3 Adal3n3 added the in discovery The design, product, and specifications require refinement label Feb 2, 2024
@Adal3n3 Adal3n3 changed the title RCB: Update PR comment with fail reason in different RCB behavior RCB: Update PR comment with fail reason in different RCB behaviors Feb 2, 2024
@giovanni-guidini
Copy link

giovanni-guidini commented Feb 9, 2024

Flowchart with the current possible statuses outcomes and reasons for them.
Most likely we will want to change some of those, particular on RCB to make it more clear why the RCB still failed the check.
( I really hope you can download the file and zoom in 😅 )

Based on this we can derive a table of messages we want to add to the PR comment and/or make changes to the current messages in the statuses.

notifications_flow_chart

@Adal3n3 Adal3n3 added Dev-Ready This means the UX is reviewed and ready for prioritization scheduling. and removed in discovery The design, product, and specifications require refinement labels Mar 8, 2024
@Adal3n3
Copy link
Author

Adal3n3 commented Apr 18, 2024

@thomasrockhu-codecov thomasrockhu-codecov added this to the Q2'24 milestone Jun 11, 2024
@thomasrockhu-codecov thomasrockhu-codecov added the epic this label is used to mark issues as epics label Jun 11, 2024
@rohan-at-sentry rohan-at-sentry added the carryover Carryover from a previous sprint label Jul 11, 2024
@thomasrockhu-codecov
Copy link
Contributor

Noting that the Q2 items have been completed here: #2094, removing from the Q2 milestone until work is scoped and prioritized

@Adal3n3
Copy link
Author

Adal3n3 commented Aug 14, 2024

Making a note here: as discussed during the meeting on 8/12, the next step is for the PM team group and prioritize for us. @rohan-at-sentry

@rohan-at-sentry
Copy link

rohan-at-sentry commented Aug 19, 2024

Grouped the items by config type.

My guidance is to tackle General Scenarios first (as it has the broadest surface) and follow with adjust base (as it's the new default).

We can be opportunistic about adding support for other scenarios after that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
carryover Carryover from a previous sprint Dev-Ready This means the UX is reviewed and ready for prioritization scheduling. epic this label is used to mark issues as epics
Projects
None yet
Development

No branches or pull requests

5 participants