test(gate): model registry step; ignore jcstress dumps
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 14 Nov 2026 12:21:33 +0000 (14:21 +0200)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 14 Nov 2026 12:21:33 +0000 (14:21 +0200)
.gitignore
verify.sh

index 10104ac..31e209b 100644 (file)
@@ -9,4 +9,6 @@ target/
 /aukio.iml
 /.settings/
 /*.iml
-*.html
\ No newline at end of file
+*.html
+# jcstress result dumps (parallel agent)
+jcstress-results-*.bin.gz
index c3d243b..3d5871f 100755 (executable)
--- a/verify.sh
+++ b/verify.sh
@@ -60,6 +60,11 @@ step "engine install" \
     bash -c "cd '$ENGINE' && mvn -o -q -DskipTests install"
 step "fo4 tests (fo4-2)" \
     bash -c "cd '$FO4' && xvfb-run -a mvn -o -q test"
+# The memory model: TLC proves the protocol, jcstress proves the ORDERING the
+# protocol relies on on real CPUs (one writer, one reader, C2 stress flags).
+# A forbidden outcome here is a lost update or a hole, not a crash.
+step "memory model (jcstress)" \
+    bash -c "'$ENGINE/verification/jcstress/run.sh'"
 # The model registry: every active TLA+ model must have a gate config, a
 # non-vacuity config and a Maven execution, or it silently stops being checked.
 step "model registry (TLA+)" \