Skip to content

fix: test the compiled version lookup without a tsx subprocess - #15

Merged
TheCryptoDonkey merged 1 commit into
mainfrom
fix/version-test-no-subprocess
Sep 23, 2026
Merged

TheCryptoDonkey merged 1 commit into
mainfrom
fix/version-test-no-subprocess

Conversation

@TheCryptoDonkey

Copy link
Copy Markdown
Owner

The underpayment fixes (#13) couldn't publish: the version test spawned tsx on a copied .ts file, which fails with ERR_REQUIRE_CYCLE_MODULE on one of anvil's two reproducibility runners. The test now calls readPackageVersion directly with a base URL in a temporary dist/src layout. Nothing was published or deployed by the failed runs.

The subprocess loaded a copied .ts file through tsx, which fails with
ERR_REQUIRE_CYCLE_MODULE on one of anvil's reproducibility runners and
blocked the release. readPackageVersion now takes its base URL, so the
test calls it directly against a temporary dist/src layout.
@TheCryptoDonkey
TheCryptoDonkey merged commit 6b8810c into main Sep 23, 2026
4 checks passed
@TheCryptoDonkey
TheCryptoDonkey deleted the fix/version-test-no-subprocess branch September 23, 2026 15:46
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.

1 participant