Skip to content

DSH Testkit v0.3.1

Latest

Choose a tag to compare

@iiwish iiwish released this 15 Aug 17:37
· 2 commits to main since this release
d5a9ad0

DSH Testkit v0.3.1

This corrective release hardens v0.3.0 one-command adoption for real repository-root lifecycle runs.

Fixed

  • Registers Git source-resolution stdout/stderr logs as declared report artifacts, so strict output audits pass when the tested plugin source is a Git repository.
  • Parses the final npm pack --json result even when legitimate prepare or lifecycle scripts emit output first.
  • Keeps the parser fail-closed: invalid final pack metadata cannot fall back to package-controlled output.

Verified

  • 111 tests across 22 files, typecheck, coverage, contracts, bundle E2E, pack smoke, audit, and CodeQL.
  • Full Docker lifecycle passed against the root of the public dsh-plugin-template: package, install, assemble, boot, register, exercise, uninstall, reboot, and cleanup.
  • Built and published by GitHub Actions with npm Trusted Publishing and provenance.

The one-command onboarding introduced in v0.3.0 remains:

pnpm dlx dsh-testkit@0 init

See the README and Chinese README.