fed-sx-m1: Step 4b-vld — 3 bootstrap validators + manifest update + 5 new parse tests (36 total)
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 37s
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 37s
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#
|
||||
# Confirms the seed genesis SX files parse cleanly and have the
|
||||
# expected top-level head form. The bundler (Step 4c+) consumes
|
||||
# these forms directly as data. 31 cases.
|
||||
# these forms directly as data. 36 cases.
|
||||
|
||||
set -uo pipefail
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
@@ -84,6 +84,16 @@ cat > "$TMPFILE" <<'EPOCHS'
|
||||
(eval "(get (apply dict (rest (parse (file-read \"next/genesis/projections/audience-graph.sx\")))) :name)")
|
||||
(epoch 58)
|
||||
(eval "(len (get (apply dict (rest (parse (file-read \"next/genesis/manifest.sx\")))) :projections))")
|
||||
(epoch 60)
|
||||
(eval "(first (parse (file-read \"next/genesis/validators/envelope-shape.sx\")))")
|
||||
(epoch 61)
|
||||
(eval "(get (apply dict (rest (parse (file-read \"next/genesis/validators/envelope-shape.sx\")))) :name)")
|
||||
(epoch 62)
|
||||
(eval "(get (apply dict (rest (parse (file-read \"next/genesis/validators/signature.sx\")))) :name)")
|
||||
(epoch 63)
|
||||
(eval "(get (apply dict (rest (parse (file-read \"next/genesis/validators/type-schema.sx\")))) :name)")
|
||||
(epoch 64)
|
||||
(eval "(len (get (apply dict (rest (parse (file-read \"next/genesis/manifest.sx\")))) :validators))")
|
||||
EPOCHS
|
||||
|
||||
OUTPUT=$(timeout 30 "$SX_SERVER" < "$TMPFILE" 2>/dev/null)
|
||||
@@ -138,6 +148,11 @@ check 55 "actor-state.sx name" "actor-state"
|
||||
check 56 "define-registry.sx name" "define-registry"
|
||||
check 57 "audience-graph.sx name" "audience-graph"
|
||||
check 58 "manifest has 7 projections" "7"
|
||||
check 60 "envelope-shape.sx head form" "DefineValidator"
|
||||
check 61 "envelope-shape.sx name" "envelope-shape"
|
||||
check 62 "signature.sx name" "signature"
|
||||
check 63 "type-schema.sx name" "type-schema"
|
||||
check 64 "manifest has 3 validators" "3"
|
||||
|
||||
TOTAL=$((PASS+FAIL))
|
||||
if [ $FAIL -eq 0 ]; then
|
||||
|
||||
Reference in New Issue
Block a user