Some of our PR builds are running for 6 hours (the default GitHub action timeout). They seem to do nothing for 5+ hours but don't complete. To help us to figure out why, it would be useful if the cancellation of the workflow caused thread dumps of all the running JVMs to be printed out.
Comment From: wilkinsona
Thanks to @normanmaurer asking the question and @lhotari contributing the answer this should be pretty straightforward, particularly as we don't run any JVMs within Docker.