Skip to content

test: verify packed consumer upgrades - #601

Merged
ueberBrot merged 2 commits into
mainfrom
test/stabilization-verification
Oct 8, 2026
Merged

ueberBrot merged 2 commits into
mainfrom
test/stabilization-verification

Conversation

@ueberBrot

@ueberBrot ueberBrot commented Oct 8, 2026 •

Copy link
Copy Markdown
Owner

Summary

Add an opt-in consumer check that installs packed packages outside workspace resolution and upgrades an existing Job collection.

vp run verify:consumer
  build and pack all six packages
  install each combination in a temporary application
    minimum published Core + current integrations
    minimum Management + current integrations
    current packages + TsED
  verify package entrypoints, HTTP integrations, priority backfill, and indexes
  remove the temporary applications and MongoDB container

The two .mts scripts run with Bun. The root TypeScript configuration checks their types against installed dependencies and built declarations; the copied consumer runs outside that configuration and resolves its own installed packages.

This is a local command, not a CI gate. It requires Docker and registry access and writes its result to ignored .verification/consumer.json. Use bun scripts/verification/consumer.mts --skip-build to reuse package builds.

Evidence

  • Before: Workspace tests could resolve local package sources without proving that the packed packages work together in a separate application.
    After: All three consumer combinations pass. Checks cover ESM/CommonJS entrypoints, authenticated Express and Dashboard HTTP assets, current TsED integration, preserved Job fields and index definitions, priority defaults, and repeated initialization.
  • After: Repository type checks, formatting, and scoped lint pass. The earlier baseline run passed 1,540 Vitest tests and 420 Playwright tests; that full suite was not repeated for this script-only revision.

Core 1.16.0 is the first published version satisfying the declared ^1.15.1 peer range. Dashboard checks cover HTTP assets, not browser compatibility with older API combinations. These runs exercise Bun; they do not establish equivalent Node runtime compatibility.

Merge Danger

Door: two-way

Revert the scripts, command, and TypeScript configuration changes to undo the change.

Blast Radius: tooling

The command uses temporary installs and disposable local MongoDB. Library runtime code is unchanged.

@changeset-bot

changeset-bot Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 639000f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ueberBrot ueberBrot changed the title test: verify consumer upgrades and scheduler recovery test: verify packed consumer upgrades Oct 8, 2026
@ueberBrot
ueberBrot enabled auto-merge (squash) October 8, 2026 11:15
@ueberBrot
ueberBrot merged commit 0b64cf4 into main Oct 8, 2026
11 checks passed
@ueberBrot
ueberBrot deleted the test/stabilization-verification branch October 8, 2026 11:23
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