From 537bd070cf266c549e891ab3bd355aabb374d595 Mon Sep 17 00:00:00 2001 From: Lukasz Stocki Date: Mon, 16 Nov 2026 18:41:17 +0100 Subject: [PATCH 1/2] docs: clarify shared Oracle queue setup --- formal/README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/formal/README.md b/formal/README.md index 9d89797..9f22099 100644 --- a/formal/README.md +++ b/formal/README.md @@ -65,10 +65,24 @@ Every `..cfg` seeds one bug via `Mutant` and names the catching ## Running +Local runs and CI use the shared Oracle queue through `formal/run_tlc.sh`. +They require an installed, authorized `tla-queue` client and configured access to +the maintainer-operated Oracle backend. Ask the maintainer for client setup and +access; public repository access does not provide queue access. + +Run from the repository root after that setup: + ```sh -TLA_JAR=/path/to/tla2tools-1.7.4.jar formal/run_tlc.sh # needs Java 11+ +TLA_JAR=/path/to/tla2tools-1.7.4.jar formal/run_tlc.sh # needs Java 11+ on Oracle ``` +`TLA_JAR` and optional `JAVA` overrides refer to **Oracle-side tools**. The example +JAR path must already exist on Oracle; leave the overrides unset to use the remote +defaults. For this check, do not run Java/TLC locally, install or download a local +toolchain (including with `mise`), or use direct SSH as a fallback. A missing +client, unavailable queue, incomplete run, or nonzero wrapper exit is not a +verification pass. + The script checks the jar's SHA-256 against the pinned tla2tools 1.7.4. CI runs it on a self-hosted Oracle ARM64 runner, only on pushes to `master` or by manual dispatch (`.github/workflows/oracle-tla.yml`). From cafe06bcb2a29eec3927f606d45ec9faae2d668e Mon Sep 17 00:00:00 2001 From: Lukasz Stocki Date: Mon, 16 Nov 2026 19:41:24 +0100 Subject: [PATCH 2/2] fix: reject unexpected TLC native failures --- formal/run_tlc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formal/run_tlc.sh b/formal/run_tlc.sh index 5bac741..8e0d54e 100755 --- a/formal/run_tlc.sh +++ b/formal/run_tlc.sh @@ -125,7 +125,7 @@ for cfg in "${cfgs[@]}"; do echo "FAIL $cfg (expected no error)"; echo "$out" | tail -30; fail=$((fail+1)) fi else - if [[ $rc -ne 0 ]] && grep -q "Invariant $expect is violated" <<<"$out"; then + if [[ $rc -eq 12 ]] && grep -q "Invariant $expect is violated" <<<"$out"; then echo "PASS $cfg (mutant caught by $expect)"; pass=$((pass+1)) else echo "FAIL $cfg (mutant expected to violate $expect)"; echo "$out" | tail -30; fail=$((fail+1))