ktx/examples/package-artifacts/README.md

25 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2026-05-10 23:12:26 +02:00
# Package artifact smoke checks
The package artifact smoke checks create temporary projects instead of storing
2026-05-10 23:51:24 +02:00
sample projects in this directory. Run the checks from `ktx/`:
2026-05-10 23:12:26 +02:00
```bash
pnpm run artifacts:check
```
2026-05-11 12:51:24 +02:00
The npm smoke project installs the generated public `@kaelio/ktx` tarball,
imports the package entry point, and runs installed `ktx` commands against a
generated local project.
2026-05-10 23:12:26 +02:00
2026-05-11 13:27:36 +02:00
The managed Python runtime smoke requires `uv` on `PATH`, isolates
`KTX_RUNTIME_ROOT`, verifies `ktx runtime status`, runs `ktx sl query --yes` to
install the core runtime from the bundled wheel, checks `ktx runtime doctor`,
starts and reuses the managed daemon, stops it, previews a stale runtime with
`ktx runtime prune --dry-run`, verifies confirmation is required, and removes
the stale runtime with `ktx runtime prune --yes`.
2026-05-11 12:51:24 +02:00
The artifact manifest contains the public `@kaelio/ktx` npm tarball and the
bundled `kaelio-ktx` runtime wheel. The smoke does not install standalone
Python packages directly; Python-backed behavior is verified through the
managed runtime installed from the npm package.