Skip to content

fix: migrate partytown @builder.io → @[email protected] - #3394

Merged
lemagnetic merged 1 commit into
devfrom
fix/partytown-migration
Jun 17, 2026
Merged

lemagnetic merged 1 commit into
devfrom
fix/partytown-migration

Conversation

@lemagnetic

@lemagnetic lemagnetic commented Jun 16, 2026 •

Copy link
Copy Markdown
Contributor

Replace @builder.io/partytown@^0.6.1 with @qwik.dev/partytown@^0.14.0 in packages/core/package.json and update the issue comment URL in lighthouserc.js from BuilderIO/partytown to QwikDev/partytown.

  • Replace @builder.io/partytown@^0.6.1 with @qwik.dev/partytown@^0.14.0 in packages/core/package.json
  • Update comment URL in packages/core/lighthouserc.js from BuilderIO/partytown to QwikDev/partytown
  • Re-run pnpm install — lock file updated, old package fully replaced

Summary by CodeRabbit

  • Chores
    • Updated Partytown library dependency to use the new package location with version ^0.14.0.
    • Updated configuration references to reflect the latest documentation sources.

Replace @builder.io/partytown@^0.6.1 with @qwik.dev/partytown@^0.14.0
in packages/core/package.json and update the issue comment URL in
lighthouserc.js from BuilderIO/partytown to QwikDev/partytown.

Closes VTE-18

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@lemagnetic
lemagnetic requested a review from a team as a code owner June 16, 2026 20:13
@lemagnetic
lemagnetic requested review from gabpaladino and renatamottam and removed request for a team June 16, 2026 20:13
@coderabbitai

coderabbitai Bot commented Jun 16, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 7a6fda36-a6d0-4c82-b97d-c8aa05ed2a13

📥 Commits

Reviewing files that changed from the base of the PR and between 6f4ccca and f4f0654.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml and included by none
📒 Files selected for processing (2)
  • packages/core/lighthouserc.js
  • packages/core/package.json

Walkthrough

The Partytown dependency in packages/core/package.json is migrated from @builder.io/partytown to @qwik.dev/partytown at version ^0.14.0. A companion comment URL in lighthouserc.js referencing a Partytown CSP/XSS GitHub issue is updated to point to the QwikDev repository accordingly.

Changes

Partytown Package Migration

Layer / File(s) Summary
Partytown dependency and reference URL update
packages/core/package.json, packages/core/lighthouserc.js
Replaces @builder.io/partytown with @qwik.dev/partytown@^0.14.0 in dependencies and updates the CSP/XSS Partytown issue comment URL from the BuilderIO GitHub org to QwikDev.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🎉 From builder.io to qwik.dev we go,
A package rename, a small but mighty flow,
The version bumped, the comment link aligned,
Partytown's new home, cleanly redefined.
🎸 One dep, one URL — crisp and clean!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: migrating the Partytown dependency from @builder.io to @qwik.dev with version update.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/partytown-migration

Comment @coderabbitai help to get the list of available commands and usage tips.

@codesandbox-ci

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@sonar-workflows

Copy link
Copy Markdown

@renatomaurovtex renatomaurovtex left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the dependency swap. The change is code-safe: nothing imports @builder.io/partytown as a module — core only runs the partytown copylib bin at predev/prebuild and loads the static /~partytown/partytown.js at runtime in _document.tsx. The new @qwik.dev/[email protected] still ships hasBin: true, and all CI is green (frozen install + codesandbox/node-ci builds pass under the regenerated lockfile). This is just the official Partytown relocation from the BuilderIO org to QwikDev. lighthouserc.js URL update is correct.

A few things to confirm before merge:

🟠 [hygiene] Duplicate of #3344

This is the same title and the same change as the still-open #3344 (fix: migrate partytown @builder.io → @[email protected]). We should close one so we don't merge the migration twice / fight over the lockfile. Which one wins?

💬 [build] Lockfile reformat churn

The real change is two lines (package.json + lighthouserc.js), but pnpm-lock.yaml comes in at +9395/-16656 — almost entirely a quote-style reflow ("9.0" → '9.0', multiline blocks → compact). lockfileVersion stays 9.0 and frozen install passes, so this isn't blocking, but a 16k-line reflow will conflict with every other open PR's lockfile and tends to flip back. Was the lockfile regenerated with the repo-pinned [email protected]? If a formatter touched pnpm-lock.yaml previously, worth nailing down the canonical format so this doesn't ping-pong.

💬 [deps] Runtime-dep on published @faststore/core + 0.6→0.14 jump

@faststore/core is published, so per Dependency Discipline a runtime-dep change normally wants maintainer sign-off in the PR body. In practice the dep is build-time only here (no JS import — just the copylib bin + static assets), which lowers the risk, but 0.6.1 → 0.14.0 is a big 0.x jump. CI green covers the build; please add a quick manual smoke that partytown copylib still populates public/~partytown/ and GTM-via-Partytown still forwards dataLayer.push (the forward config in _document.tsx), since that's the path no automated test exercises. New transitive [email protected] is build-time only — fine.

Verdict: Approved with comments

Blocking (🔴/🟠):

  • 🟠 Resolve the duplication with #3344 — close one before merging.

Non-blocking (🟡/💬):

  • 💬 Confirm the lockfile was regenerated with the pinned [email protected] and that the reflow is the canonical format (avoids conflicts with other open PRs).
  • 💬 Manual smoke: partytown copylib output + GTM forward behavior under 0.14, given no automated test covers it.

Checks to confirm before merge: pnpm lint · build · pnpm size (touches core) — all green on this run.

@lemagnetic
lemagnetic merged commit dae8d3b into dev Jun 17, 2026
10 checks passed
@lemagnetic
lemagnetic deleted the fix/partytown-migration branch June 17, 2026 15:19
@eduardoformiga eduardoformiga mentioned this pull request Jun 17, 2026
2 tasks
eduardoformiga added a commit that referenced this pull request Jun 17, 2026
## Summary

Graduate the `4.3.0-dev.8` prerelease cycle to the stable `4.3.0`
release on `latest`.

Merging this PR triggers CD on `main`, which runs `lerna version
--conventional-graduate` and publishes all `@faststore/*` packages to
the `latest` dist-tag.

### Features
- Password Protection (v4) (#3276)
- File upload via Order Entry Service (OES) (#3334)
- Add sitemap to CMS Landing Page content-type (#3386)

### Bug Fixes
- **core:** use authenticator route for setpassword (#3380)
- migrate partytown `@builder.io` → `@[email protected]` (#3394)
- **api:** use account-scoped cookie in orderEntry headers (#3395)
- forward auth token only via account-scoped cookie (#3381)
- **core:** propagate upstream error status instead of always 500
(#3379)

## Pre-flight (faststore-release skill)
- Working tree clean; `release.yml` has `fetch-depth: 0`
- All 8 packages have `repository.url`
- No breaking changes since `v4.2.0`
- `dev → main` merges cleanly (no CHANGELOG/codegen conflicts)
- No unmerged hotfixes on `main` (accidental `4.2.1` was fully reverted
in #3375)

## Test plan
- [ ] CI green on this PR
- [ ] After merge, confirm CD publishes all 8 packages at `4.3.0` under
`latest`

Made with [Cursor](https://cursor.com)

---------

Co-authored-by: Matheus P. Silva <[email protected]>
Co-authored-by: vtexgithubbot <[email protected]>
Co-authored-by: Lucas Feijó <[email protected]>
Co-authored-by: Luiz Falcão <[email protected]>
Co-authored-by: Artur Santiago <[email protected]>
Co-authored-by: Larícia Mota <[email protected]>
Co-authored-by: Sahan Jayawardana <[email protected]>
Co-authored-by: Mateus Pontes <[email protected]>
Co-authored-by: Matheus Martins <[email protected]>
Co-authored-by: renatomaurovtex <[email protected]>
Co-authored-by: Leandro Rodrigues <[email protected]>
Co-authored-by: Fanny Chien <[email protected]>
Co-authored-by: Arthur Andrade <[email protected]>
Co-authored-by: Leandro Rodrigues <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Thiago Pereira <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Giuliana Rigaud <[email protected]>
Co-authored-by: renato <[email protected]>
Co-authored-by: Bruna Santos <[email protected]>
Co-authored-by: BrunaCubos <[email protected]>
Co-authored-by: Ícaro Oliveira <[email protected]>
Co-authored-by: Bruna Santos <[email protected]>
Co-authored-by: Everton Ataide <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Otavio Moreira Meirelles <[email protected]>
Co-authored-by: Marco Cardoso <[email protected]>
Co-authored-by: Gabriel Paladino <[email protected]>
Co-authored-by: CodeRabbit <[email protected]>
Co-authored-by: dk-portal[bot] <134092483+dk-portal[bot]@users.noreply.github.com>
Co-authored-by: Rodrigo Tavares <[email protected]>
Co-authored-by: vitorflg <[email protected]>
Co-authored-by: Claude Sonnet 4.6 <[email protected]>
Co-authored-by: Válber Laux <[email protected]>
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.

3 participants