probe: stop filtering away the RUN output

The probe kept succeeding while its results vanished: the grep -vE plus tail -40
dropped the buildkit progress lines that carry the actual curl output. Keep the
full log, then print only the RUN lines with their #N prefix stripped.
This commit is contained in:
agent committed 2026-08-31 14:51:14 +02:00
1 parent c3989179ad
commit b26acb5dfd
1 file changed
+3 -1
+3 -1
View File
@@ -60,5 +60,7 @@ jobs:
--frontend dockerfile.v0 \ --frontend dockerfile.v0 \
--local context="$work" \ --local context="$work" \
--local dockerfile="$work" \ --local dockerfile="$work" \
--opt platform=linux/amd64 2>&1 | grep -vE "^#[0-9]+ (sha256|extracting|resolve|DONE|CACHED)" | tail -40 --opt platform=linux/amd64 2>&1 | tee /tmp/probe.log | tail -80
echo "=== PROBE RESULTS ==="
grep -E "^#[0-9]+ [0-9.]+ " /tmp/probe.log | sed -E "s/^#[0-9]+ [0-9.]+ //" || echo "(no RUN output captured)"
echo "probe finished (results above, from buildkitd's network position)" echo "probe finished (results above, from buildkitd's network position)"