feat(sg): print annotations when viewing status of your build
Created by: burmudar
This adds that capability to also print annotations that is present on your build when view the status via sg ci status
Part of https://github.com/sourcegraph/sourcegraph/issues/26072
I've also made a slight change to the print of failed jobs
I've also added a way to change the markdown styling with MarkdownStyleOpts
. Reason for this is I wanted to remove margins but wanted indenting. Below is a comparison of the old default markdown rendering, and the new one with the indenting.
- Old
- New
Issues
- There is one slight issue with the annotation artifact sometimes not getting uploaded see #37753
- Backcompat tests for some reason is not creating an annotation the
annotate.sh
way 🤯
Test plan
Lots and lots of manual testing with main-dry-run