Skip to content

ci: run the packed CLI smoke before release-sensitive publishes #113

Closed

Description

@Ducksss

Summary

Wire the existing packed-artifact smoke into a release-sensitive CI path so packaging regressions are caught before publishing or promotion.

Current Baseline

  • pnpm test:pack exists and runs tests/int/payload-components-pack.int.spec.ts with RUN_PACK_TEST=1.
  • The pack test exercises the installed tarball, shipped files whitelist, runtime dependencies, and plain Node CLI execution.
  • pnpm test:release and the release-gate workflow do not currently run pnpm test:pack.

Scope

  • Decide the least expensive CI placement for pnpm test:pack: manual release workflow, scheduled smoke, or release-gate only on publish-sensitive branches.
  • Add the command to that path without slowing every routine PR unnecessarily.
  • Document when maintainers should run pnpm test:pack locally.
  • Keep the existing explicit RUN_PACK_TEST=1 behavior for the Vitest spec.

Out Of Scope

  • Publishing to npm.
  • Changing package contents unless the pack test exposes a real packaging bug.
  • Running test:pack on every Dependabot PR if that proves too slow.

Acceptance Criteria

  • There is a CI path that runs pnpm test:pack before release-sensitive promotion or publish work.
  • Maintainer docs mention when to run the packed CLI smoke.
  • The default fast integration test path remains reasonably fast.
  • Failure artifacts/logs make pack failures diagnosable.

Test Plan

  • Run the updated workflow path or its command sequence locally where practical.
  • pnpm test:pack.

Activity

  1. added
    enhancement
    help wanted
    on Jun 18, 2026
  2. added a commit that references this issue on Jul 25, 2026
    2e2138e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions