Skip to content

Commit ce1b314

Browse files
rustyconoverclaude
andcommitted
ci: expect one side of each VGI_ENGINE_* gated pair to skip
VGI_REF 5575cff carries engine-gated files (require-env V 1 / require-env-not V). The native runner exports the VGI_ENGINE_* vars its engine supports, so exactly one side of each pair skips; allow that side, mirroring the vgi Makefile VGI_ENGINE_EXPECTED_SKIPS. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 3665164 commit ce1b314

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎ci/run-integration.sh‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,22 @@ if [ "$TRANSPORT" = "http" ]; then
310310
)
311311
fi
312312

313+
# Engine-gated files (vgi Makefile VGI_ENGINE_TEST_VARS). The native runner
314+
# exports each VGI_ENGINE_* var its engine supports (=1, from the artifact
315+
# manifest, via scripts/ci_fetch_native_runner.py): the files written for
316+
# engines WITHOUT the feature then skip with "require-env-not V", and on an
317+
# engine lacking it (e.g. a local haybarn-unittest with the community
318+
# extension, which exports none) the files that need it skip with
319+
# "require-env V 1". Exactly one side of each pair runs, as in the vgi
320+
# Makefiles VGI_ENGINE_EXPECTED_SKIPS, so allow only that sides skip.
321+
for engine_var in VGI_ENGINE_CORRELATED_NAMED_ARGS VGI_ENGINE_DELETE_RETURNING_VIRTUAL_COLUMNS; do
322+
if [ "${!engine_var:-}" = "1" ]; then
323+
EXPECTED_SKIP_REASONS+=("require-env-not $engine_var")
324+
else
325+
EXPECTED_SKIP_REASONS+=("require-env $engine_var 1")
326+
fi
327+
done
328+
313329
# Floor on executed cases in the main suite invocation. Deliberately a floor, not
314330
# an equality — the upstream suite grows. Measured 2026-07-24 against
315331
# Query-farm/vgi main: the launch (and shm, which runs TRANSPORT=launch) lane

0 commit comments

Comments
 (0)