Skip to content

100x is a skill by a former Cursor engineer that turns prompts into formally verified, production-ready code

Read the failures from a TAP log in the CI annotation

Glitch006c4b62e7c8
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d6e0afa..7b29d3f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -33,7 +33,7 @@ jobs:
# Temporary: the failing part of the log as one annotation, which a check run shows without a login.
- if: failure()
run: |
- msg=$(grep -A80 "failing tests:" test.log | head -c 30000 | tr -d '\r' | sed 's/%/%25/g' | sed ':a;N;$!ba;s/\n/%0A/g')
+ msg=$(grep -E -A22 "^ *not ok" test.log | head -c 30000 | tr -d '\r' | sed 's/%/%25/g' | sed ':a;N;$!ba;s/\n/%0A/g')
echo "::error title=failing tests::$msg"
- run: node bin/100x.mjs validate --prose
- run: node scripts/vendor-companions.mjs --check