Radish alpha
r
rad:zwTxygwuz5LDGBq255RA2CbNGrz8
Radicle CI broker
Radicle
Git
feat: make sure the HTML and JSON files get created
Merged liw opened 1 year ago

This is the most rudimentary requirement. It does not verify they get updated as the CI broker continues running and doing things, as that’s a little difficult to arrange a test for.

This revealed a problem in how the cib process-events threads work together, so fix that too. Changed the page updater thread to output the HTML report and JSON status file at least once, even if there were not events to process. In addition, the event processing thread uses a timeout to receive notification of new events, so that it doesn’t get stuck, if there aren’t any events coming from the node control socket.

Added some logging to make it easier to debug these things in the future.

Signed-off-by: Lars Wirzenius liw@liw.fi

liw opened with revision 428f0e7e on base 413fd686 +77 -14 1 year ago

This is the most rudimentary requirement. It does not verify they get updated as the CI broker continues running and doing things, as that’s a little difficult to arrange a test for.

This revealed a problem in how the cib process-events threads work together, so fix that too. Changed the page updater thread to output the HTML report and JSON status file at least once, even if there were not events to process. In addition, the event processing thread uses a timeout to receive notification of new events, so that it doesn’t get stuck, if there aren’t any events coming from the node control socket.

Added some logging to make it easier to debug these things in the future.

Signed-off-by: Lars Wirzenius liw@liw.fi

liw merged revision 428f0e7e at 7a11bedc 1 year ago