i-d-template icon indicating copy to clipboard operation
i-d-template copied to clipboard

Job summaries

Open mnot opened this issue 2 years ago • 3 comments

This seems promising. Most obvious places to use it:

  • [x] in ghpages.yml "Build Drafts"
  • [ ] in ghpages.yml "Update GitHub Pages"
  • [x] in publish.yml "Build Drafts"
  • [ ] in publish.yml "Upload to Datatracker"

mnot avatar May 18 '22 00:05 mnot

Indeed. The trick being to provide a useful summary of what happened without overdoing it.

For building drafts, it seems like we might report on the number of drafts that were successfully built, which drafts did not successfully build, plus the number of errors that were produced. Counting or reporting on errors requires a little post processing, but the other items seem fairly trivial to produce and could provide some value.

Ideally we could reproduce some of the error logs, but that might require some engineering. I'm thinking a wrapper script that calls exec when the variable isn't set, but captures and reformats output when the task fails and output is produced.

martinthomson avatar May 18 '22 04:05 martinthomson

Here is what I have so far. I need to build out the upload pieces, but this is the main event:

Build Failed

✅ draft-ietf-quic-http

✅ draft-ietf-quic-qpack

✅ rfc8999

❌ rfc9000: step 'nl' failed
rfc9000.md has no newline on the last line
❌ rfc9000: step 'ws' failed
rfc9000.md contains trailing whitespace

✅ rfc9001

✅ rfc9002

martinthomson avatar May 20 '22 07:05 martinthomson

good start

mnot avatar May 21 '22 02:05 mnot