Skip to content

Version Packages#1383

Merged
Michael Price (michael-pr) merged 1 commit into
mainfrom
changeset-release/main
Jul 1, 2026
Merged

Version Packages#1383
Michael Price (michael-pr) merged 1 commit into
mainfrom
changeset-release/main

Conversation

@qa-wolf-ops

@qa-wolf-ops qa-wolf-ops Bot commented Jun 26, 2026

Copy link
Copy Markdown

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@qawolf/cli@1.1.0

Minor Changes

  • 38f4903: Resolve flow runtime dependencies through a layered, project-isolated node_modules so flows run correctly in monorepos, single-package projects, and empty directories across both the Node and compiled-binary channels. The CLI-owned executor is always pinned and never pollutes or is shadowed by the surrounding project, while the flow's own declared dependencies still resolve. Adds qawolf install clear to wipe the managed runtime cache.

Patch Changes

  • 2d98dc9: Exit flows run deterministically once the run completes. The flow runtime can launch browser processes (e.g. a channel-launched Google Chrome) whose CDP sockets and timers keep Node's event loop alive after teardown, so the CLI previously printed its results and then hung indefinitely. The process now flushes stdout/stderr and exits with the run's exit code (1 on flow failure, 0 on pass) as soon as the command resolves, with a backstop in case a stream stalls.
  • 5a81d70: Resolve the #playwright subpath import when running flows in the isolated managed runtime. QA Wolf flow bundles import Playwright through a Node.js imports alias (#playwright), but the pulled bundle's package.json omits the imports field, so the staged exec/package.json could not resolve it and flows failed with ERR_PACKAGE_IMPORT_NOT_DEFINED. The CLI now merges the #playwright alias into the staged exec/package.json, pointing it at the pinned Playwright resolved through the inner-hop node_modules symlink — fixing both the Node import path and the compiled-binary bundle path.
  • 621f5d4: Resolve flow imports whose specifier uses a .ts extension but ships as .js (and vice versa). Platform-generated bundles often import sibling utilities as .ts while the file on disk is .js; native Node ESM resolves extensions literally and throws ERR_MODULE_NOT_FOUND. A synchronous module.registerHooks resolve hook now transparently retries the sibling source extension (.ts.js, .mts.mjs, .cts.cjs) only on resolution failure — literal matches always win and nothing is rewritten on disk. Raises the Node engine floor to >=22.15.0, the release that introduced synchronous hooks.

@michael-pr

Copy link
Copy Markdown
Contributor

This release is currently blocked. I ran into an issue testing last night. Will post an update with a fix here today.

@michael-pr

Copy link
Copy Markdown
Contributor

Waiting on #1385.

@github-actions github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from b2e7623 to 5f24357 Compare July 1, 2026 21:10
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 5f24357 to 45ac4af Compare July 1, 2026 21:11
@michael-pr Michael Price (michael-pr) merged commit 4894a64 into main Jul 1, 2026
1 check passed
@michael-pr Michael Price (michael-pr) deleted the changeset-release/main branch July 1, 2026 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant