Skip to content

ct-runner: --translator/DELTIC_TRANSLATOR for consumers outside a checkout - #23

Merged
lann merged 1 commit into
mainfrom
ct-runner-translator-flag
Aug 9, 2026
Merged

ct-runner: --translator/DELTIC_TRANSLATOR for consumers outside a checkout#23
lann merged 1 commit into
mainfrom
ct-runner-translator-flag

Conversation

@lann

@lann lann commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

Phase 0 of the polymorph-test migration (#14): the CLI's translator lookup was repo-relative, which cannot work when the runner is imported by URL at a release tag. Consumers now name the wasm explicitly (--translator / DELTIC_TRANSLATOR), taking it from the release's deltic-translator-shim.wasm asset (#16 interim scheme); inside a checkout the local-build default stands. A non-file: import.meta.url fails loud with the release-asset hint.

Gates: ct-runner check + test (new CLI subprocess tests; 10/10, +seeds 1/4242). Remote-consumption probe: full runtime+ct-runner graph over raw.githubusercontent at pre-40152e2, release-asset translator, fixture counts + L4 envelope exact.

Unblocks the side-by-side verify-deltic lane PR in polymorph-test (pins the next prerelease tag).

…ckout

The CLI's translator lookup was repo-relative (target/...), which cannot
work when the runner is imported by URL at a release tag — the consumer
migration path (#14): polymorph-test's deltic lane pins a pre-<hash> tag
and takes the wasm from that release's deltic-translator-shim.wasm asset
(#16 interim scheme).

Resolution order: --translator, DELTIC_TRANSLATOR, checkout-local build;
a non-file: import.meta.url now fails loud with the release-asset hint
instead of a readFile error. CLI-level subprocess tests cover all three
paths (the fixture suite's deliberate failure keeps exit-1 discipline).

Verified remote consumption end to end: runtime+ct-runner graph resolves
over raw.githubusercontent at pre-40152e2 with the release-asset
translator; fixture counts and L4 envelope exact.
@lann
lann enabled auto-merge (squash) August 9, 2026 19:29
@lann
lann merged commit 58875e8 into main Aug 9, 2026
4 checks passed
@lann
lann deleted the ct-runner-translator-flag branch August 9, 2026 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants