Skip to content

Commit 348f111

Browse files
committed
fix: fail VC test when verification_context is empty
1 parent f967535 commit 348f111

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/smoke-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ jobs:
142142
*) echo "Invalid or missing verified output: '$VERIFIED'" >&2; exit 1 ;;
143143
esac
144144
if [ -z "$VERIFICATION_CONTEXT" ]; then
145-
echo "verification_context not yet emitted by image — VC v1.0 output support requires Docker image update (tracked separately)"
146-
echo "Skipping VC document validation (backward-compatible mode)"
147-
exit 0
145+
echo "FAIL: verification_context is empty but output_format=verification-context was requested" >&2
146+
echo "The Docker image does not yet support VC v1.0 outputs (tracked in #9)" >&2
147+
exit 1
148148
fi
149149
echo "VC document emitted — validating full contract"
150150
printf '%s' "$VERIFICATION_CONTEXT" | jq -e . >/dev/null

0 commit comments

Comments
 (0)