materialize icon indicating copy to clipboard operation
materialize copied to clipboard

ci: annotate when an error also occurred on main

Open nrainer-materialize opened this issue 1 year ago • 2 comments

Demo (expecting a failure in "unused dependencies"): https://buildkite.com/materialize/nightlies/builds?branch=nrainer-materialize%3Aci%2Fannotate-error-also-on-main

nrainer-materialize avatar Feb 14 '24 18:02 nrainer-materialize

Some observations:

  • As of now, this will only work for mzcomposed jobs because it is called from ci/plugins/mzcompose/hooks/pre-exit (that is, it won't work for jobs like "Unused dependencies")
  • It requires a Buildkite API Access Token.

nrainer-materialize avatar Feb 15 '24 15:02 nrainer-materialize

If this creates too many requests, I will need to check if I can get the list of all failing build steps in "Analyze tests" at the end (instead of sending a request for each failing build step).

nrainer-materialize avatar Feb 16 '24 17:02 nrainer-materialize