debian-forge-cli/bib/pkg/progress
Michael Vogt 3e7ebe81c4 progress: fix missing build log output on errors in progress
This commit fixes a silly mistake from PR#810. The issue is that
in #810 we started to collect the osbuild stdout/stderr so that
we can show crashes from osbuild or other unexpected output.

However when a stage fails this is reported via the json progress
and not directly on stdout/stderr - this was missed when #810
was done.

This commit does a short term fix by collecting the buildlog again
and showing it in the error and also updates the test to be more
realistic. However we really need a test that actually tests
the real behavior, ideally a real osbuild run with a stage error
so that we can be sure we capture this (criticial!) functionality.
2025-03-31 19:42:59 +00:00
..
export_test.go progress: tweak progress error reporting 2025-03-31 19:42:59 +00:00
progress.go progress: fix missing build log output on errors in progress 2025-03-31 19:42:59 +00:00
progress_test.go progress: fix missing build log output on errors in progress 2025-03-31 19:42:59 +00:00