diff --git a/justfile b/justfile index 28389a7..bbe4f6d 100644 --- a/justfile +++ b/justfile @@ -36,7 +36,10 @@ environment-contract: # Offline: validate the vendored upstream Grafana dashboard and its parser. dashboard-test: python3 tools/adapt_dashboard.py --check - python3 -m unittest tests/test_dashboard_contract.py + # Run the file, not `-m unittest `: that form resolves the path to a + # module name, and tests/ is not a package, so whether it imports depends on + # the python version. 3.14 accepts it, the gate host's 3.10 does not. + python3 tests/test_dashboard_contract.py # METRICS may be a saved scrape, localhost URL, or '-' for stdin. dashboard-contract METRICS: @@ -460,12 +463,13 @@ backfill-batch-contract: differential-oracle: zig build -Doptimize=ReleaseSafe - python3 tests/differential_oracle.py + STREAM_UPSTREAM_REPO='{{upstream}}' python3 tests/differential_oracle.py # Five seed-derived upstream predicate kills against real Stream children. differential-oracle-multiseed: zig build -Doptimize=ReleaseSafe JETSTREAM_ORACLE_SEED=7001 \ + STREAM_UPSTREAM_REPO='{{upstream}}' \ STREAM_ORACLE_RUN='^TestStreamRestartPredicateKillOracle$' \ python3 tests/differential_oracle.py