File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -435,7 +435,7 @@ SUMMARY_FILE="$SCREENSHOT_TMP_DIR/screenshot-summary.txt"
435435COMMENT_FILE=" $SCREENSHOT_TMP_DIR /screenshot-comment.md"
436436
437437ra_log " STAGE:COMMENT_BUILD -> Rendering summary and PR comment markdown"
438- python3 << ' PY ' "$COMPARE_JSON" "$COMMENT_FILE" "$SUMMARY_FILE"
438+ python3 - " $COMPARE_JSON " " $COMMENT_FILE " " $SUMMARY_FILE " << ' PY '
439439import json
440440import pathlib
441441import sys
@@ -592,6 +592,18 @@ else:
592592 comment_path.write_text("", encoding="utf-8")
593593PY
594594
595+ if [ -s " $SUMMARY_FILE " ]; then
596+ ra_log " -> Wrote summary entries to $SUMMARY_FILE ($( wc -l < " $SUMMARY_FILE " 2> /dev/null || echo 0) line(s))"
597+ else
598+ ra_log " -> No summary entries generated (all screenshots matched stored baselines)"
599+ fi
600+
601+ if [ -s " $COMMENT_FILE " ]; then
602+ ra_log " -> Prepared PR comment payload at $COMMENT_FILE (bytes=$( wc -c < " $COMMENT_FILE " 2> /dev/null || echo 0) )"
603+ else
604+ ra_log " -> No PR comment content produced"
605+ fi
606+
595607if [ -s " $SUMMARY_FILE " ]; then
596608 while IFS=' |' read -r status test message copy_flag path preview_note; do
597609 [ -n " ${test:- } " ] || continue
You can’t perform that action at this time.
0 commit comments