Skip to content

actions/setup wiring for wizen (#85): smoke the installed-tools path - #87

Merged
lann merged 1 commit into
mainfrom
actions-setup-wizen-smoke
Aug 11, 2026
Merged

actions/setup wiring for wizen (#85): smoke the installed-tools path#87
lann merged 1 commit into
mainfrom
actions-setup-wizen-smoke

Conversation

@lann

@lann lann commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

The actions/setup wiring checkbox from #85, reshaped by #86: there is no separate wizer-preinit tool to install anymore — setup's existing component-test-cli install carries wizen (and compose-runner/run), because the CLI hardwires the runner crate's wizer feature.

What this adds:

  • actions-setup-smoke exercises the installed binaries as a consumer would, not just test -x: builds the sample suite, wizens it (the one-line Productize wizer pre-initialization: library entry point, setup action, discoverability #85 CI path), holds the committed lockfile against the wizened artifact (finding Runner execution-policy guidance #22 through installed binaries), and reproduces both runner goldens from it — ct-runner and component-test run --jsonl, the latter with no wac and no wasmtime CLI anywhere in the job.
  • actions/README.md documents the surface the installed CLI brings and the one-line wizening recipe, with the run-the-wizened-artifact-everywhere caveat.
  • The considered wizen: true input deliberately lands nowhere for now: setup runs before the consumer's suite artifacts exist, and the action it belongs to (run-suite) is parked pending a second consumer — noted on that bullet so the flag arrives with it.

Verified locally with real cargo install --locked --path installs of both tools into a scratch root: wizen → lock --check → ct-runner golden → run --jsonl golden, all byte-exact. The smoke job on this PR is the same assertion under Actions via source-path.

The checkbox predates the CLI subsuming wizer-preinit: there is no
separate tool to install anymore — actions/setup's existing
component-test-cli install carries wizen (and compose-runner/run)
because the CLI hardwires the runner crate's `wizer` feature. What
was left of the wiring:

- actions-setup-smoke now exercises the installed binaries the way a
  consumer's CI would, not just `test -x`: build the sample suite,
  wizen it (one line, the #85 CI path), hold the committed lockfile
  against the wizened artifact (finding #22 through installed
  binaries), and reproduce both runner goldens from it — ct-runner
  and `component-test run --jsonl`, the latter with no wac and no
  wasmtime CLI anywhere in the job.
- actions/README.md documents the surface the installed CLI brings
  and the one-line wizening recipe, with the mixing-artifacts caveat.
- The considered `wizen: true` input lands nowhere for now, on
  purpose: setup runs before the consumer's artifacts exist, and the
  action it belongs to (run-suite) is deliberately parked; noted on
  its bullet so the flag arrives with it.

Step logic verified locally with real `cargo install --locked --path`
installs of both tools into a scratch root: wizen -> lock --check ->
ct-runner golden -> run --jsonl golden, all byte-exact.
@lann
lann enabled auto-merge August 11, 2026 16:22
@lann
lann merged commit f8b132a into main Aug 11, 2026
3 checks passed
@lann
lann deleted the actions-setup-wizen-smoke branch August 11, 2026 16:26
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