feedback icon indicating copy to clipboard operation
feedback copied to clipboard

Move bot errors to a be more repo scoped, as that are not exactly commit level.

Open drazisil-codecov opened this issue 1 year ago • 1 comments

Problem to solve

Today, there are bot errors/issues that arise – which are typically permission issues - example would be the GitHub app not being installed. This may have happened bc at the time of the commit, GitHub app was not installed, and Codecov still had uploads running. Said differently, Codecov wasn't able to use the GitHub app to post the data. To summarize:

  • the GitHub app install requirement could be shown more broadly (currently on the org page and commit leve)
  • if the installation is made, the error is out of date in it's tense
Screenshot 2024-05-06 at 8 55 28 AM
initial issue / context Move bot errors to a be more repo scoped, as that are not exactly commit level.

Current we show bot errors, or errors with the GitHub app on the commit page only, mean that do not clear when the issue is fixed. This messaging should be more of a real time status at the repo level.

Slack Message

Solution

  • Audit this scenario to identify where the current messaging
  • Update to show org/repo banner wide
    • ToDo: design with repo wide / global banner
    • problem to customer: reinstall OR make sure it's not disabled for the repo
    • link the GH installation page
  • Update commit level warning to include copy ("run again if already installed")

drazisil-codecov avatar Apr 25 '24 12:04 drazisil-codecov

@codecovdesign to collaborate with @drazisil-codecov on a more optimal design for surfacing these errors.

eliatcodecov avatar May 01 '24 15:05 eliatcodecov