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

3.B Investigation #2922

Open
codecovdesign opened this issue Nov 14, 2024 · 4 comments
Open

3.B Investigation #2922

codecovdesign opened this issue Nov 14, 2024 · 4 comments
Assignees

Comments

@codecovdesign
Copy link
Contributor

codecovdesign commented Nov 14, 2024

revisit open PRs and determine how to proceed:
- feat: notify_error default=True for repos created after a certain date (shared#320)
- feat: make notify_error default to true in config worker (worker#601)

Latest design

@trent-codecov
Copy link
Contributor

@joseph-sentry - resurrect these PRs.

@adrian-codecov - work with @joseph-sentry on these PRs, review them, work with Kyle as needed.

@codecovdesign - the desired end state is merging these correct?

@codecovdesign
Copy link
Contributor Author

codecovdesign commented Nov 19, 2024

the desired end state is merging these correct?

yes, though also revisiting them and confirming our understanding of what they do + how they may be leveraged for next iteration. I'll setup a quick sync with @joseph-sentry and @adrian-codecov to discuss!

notes with @joseph-sentry and @adrian-codecov on 11/20
  • what are these PRs, what's the context around them?
    • feat: make notify_error default to true in config worker#601 in the scenario that an error is detected during processing, this PR would communicate this so user is aware. the issue is if there are users that upload reports that fail the processing (IF this was merged this may break the UX of receiving a report)
      • could there be an intermediary state of showing the error AND the report? cc @joseph-sentry
      • this raises the question of could a similar intermediary state be shown during processing cc @adrian-codecov
    • @codecovdesign design ToDo ✅ (WIP) show what these intermiary states look like and setup follow up sync to include (@drazisil-codecov)

@codecovdesign
Copy link
Contributor Author

sync with @eliatcodecov @rohan-at-sentry @Adal3n3 @joseph-sentry @drazisil-codecov @vlad-ko

  • eli: consider IF we could identify that the lines related to changes (patch) we know it's covered, then let's in that scenario tell the user.
    • consider if there is an error, they still may not be able to resolve that and then they are stuck
    • can this be done / feasible and/or requires investigation?
    • this applies to both the error / partial portion
  • joe: consider the status checks where there is a pending status
    • since this is the case, the status check is pending and we could consider not showing anything until an error state OR full
    • IF error occurs, then show copy w/ reporting we have (when patch is revealed)
      - IF CI has error then codecov can stop (fail_on_error) (consideration?)
    • IF no errors occur, await full report
      • or partial show IF patch lines arrive as covered (either scenario)
  • joey: consider scenario when testing is in multiple environment, it could be that patch appears covered in X area, but not Y – considering the flags
  • patch portion could be omitted from v1
    • IF no error, status in pending then don't have a comment and instead await
    • IF an error, show error and NOT show the report portion
      - + discovery on the some follow ups here (consider scenario where patch is covered)
  • fail_on_CI
    • should this be a default?

@codecovdesign
Copy link
Contributor Author

sync @joseph-sentry @adrian-codecov

goals for changes:

  • IF no error, status in pending then don't have a comment and instead await full reapor
  • IF an error, show error and show the report portion

sync notes

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

No branches or pull requests

4 participants