Repository navigation
[vite-plugin v1 backport] Update November 19 runtime and remote sessions - #17054
Conversation
🦋 Changeset detectedLatest commit: 4d078f0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
@edmundhung (latest qualifying human approval before merge, current ant-core member), please check this v1 backport of #17031 and approve if it looks good. The original author is dependabot[bot], so there is no human original author to request. This uses exact Miniflare/workers-utils pins for the original runtime/default-date behavior and preserves earlier #17012 dependency coverage. Required November 19 packages are unpublished; please check the draft and approve if it looks good after publication, real lockfile regeneration and runtime validation. Native stack #17050 is rooted at vite-plugin-v1. |
d43436f to
62ab215
Compare
|
@petebacondarwin @edmundhung, please check this v1 backport of #17035 and approve if it looks good. You are the verified original author and latest qualifying human ant-core approver before merge (deduplicated where applicable). The retained remote-bindings implementation and all nine original regression cases are carried directly from #17035. Only the changeset is limited to the v1 plugin; absent Wrangler tests are not restored. This existing draft also carries #17031 runtime pins, with earlier dependencies supplied by merged #17012. The newer packages remain unpublished; final installed-stack validation is pending. |
62ab215 to
5323a5a
Compare
5323a5a to
75441c4
Compare
|
Codeowners approval required for this PR:
|
commit: |
There was a problem hiding this comment.
Superseded by the review of
e974f141.
This review, of b86fc8b7
✅ Approved — No correctness, security, performance or release problems found. The remote preview-session change keeps the old subdomain fallback, and the dependency pins match across the plugin and its direct consumers.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
🚀 Release: ✅ LGTM
Overall risk: Medium. The runtime dependency refresh and the Worker-scoped preview-session change both affect remote development. Each has its own plugin changeset, and the dependency pins match. Live validation with credentials has not been done yet.
🔒 Security: ✅ LGTM
No issues found.
📖 AGENTS.md: ✅ LGTM
No issues found.
📋 Code Quality: ✅ LGTM
No issues found.
⚡ Performance: ✅ LGTM
Taking the preview host from exchange_url skips the workers.dev subdomain lookup when that URL is present. The other changes are dependency pins and import-path moves, which add no runtime cost.
📝 Documentation: ✅ LGTM
No issues found.
Reviewed commit: b86fc8b7
|
@james-elicx @petebacondarwin, please check this v1 backport of #16174 and approve if it looks good. You are the verified original author and latest qualifying human ant-core approver before merge (deduplicated where applicable). This existing runtime backport consumes the published workers-utils 0.56.0 extraction. Installed-version checks reproduced eight deprecated root-export errors; six retained files now use the canonical /config imports. Upstream legacy aliases point to the same types/functions. The real lockfile, full build/types/checks, package tests and retained fixtures now pass. No public sibling source is restored. Native GitHub stack #17084 is rooted at vite-plugin-v1. Earlier runtime and dependency coverage is supplied by #17054; no duplicate dependency PR is created. |
There was a problem hiding this comment.
Superseded by the review of
4d078f09.
This review, of e974f141
✅ Approved — No correctness, security, performance or release problems found. The pins match across the plugin and its direct consumers, and the remote preview-session change keeps the old subdomain fallback.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
🚀 Release: ✅ LGTM
Overall risk: Medium. This release combines the runtime and dependency refresh (#17031) with the Worker-scoped remote preview sessions (#17035), and each has its own patch changeset scoped to the v1 plugin. The dependency pins match. Live validation with credentials is still outstanding.
🔒 Security: ✅ LGTM
No issues found.
📖 AGENTS.md: ✅ LGTM
No issues found.
📋 Code Quality: ✅ LGTM
The changeset and packages/remote-bindings/package.json match the rest of the pull request. The /config import moves only change where things are imported from; the behaviour is the same. getWorkersDevPreviewHost falls back to the account subdomain lookup when exchange_url is missing, can't be parsed, or has a single-label hostname. The new tests cover the public and fedramp_high hosts, the fallback inputs, subdomain registration after a 404, and authorization errors.
⚡ Performance: ✅ LGTM
When exchange_url is present, the preview host is taken from it, which skips the workers.dev subdomain lookup. The other changes are dependency pins and import-path moves, which add no runtime cost.
📝 Documentation: ✅ LGTM
No issues found.
Reviewed commit: e974f141
e974f14 to
4d078f0
Compare
There was a problem hiding this comment.
✅ Approved — No correctness, security, performance or release problems found. The pins match across the plugin and its direct consumers, and the remote preview-session change keeps the old subdomain fallback.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
🚀 Release: ✅ LGTM
Overall risk: Medium. This release combines the runtime and dependency refresh (#17031) with the Worker-scoped remote preview sessions (#17035), and each has its own patch changeset scoped to the v1 plugin. The dependency pins match. Live validation with credentials is still outstanding.
🔒 Security: ✅ LGTM
No issues found.
📖 AGENTS.md: ✅ LGTM
No issues found.
📋 Code Quality: ✅ LGTM
The changeset and packages/remote-bindings/package.json match the rest of the pull request. The /config import moves only change where things are imported from; the behaviour is the same. getWorkersDevPreviewHost falls back to the account subdomain lookup when exchange_url is missing, can't be parsed, or has a single-label hostname. The new tests cover the public and fedramp_high hosts, the fallback inputs, subdomain registration after a 404, and authorization errors.
⚡ Performance: ✅ LGTM
When exchange_url is present, the preview host is taken from it, which skips the workers.dev subdomain lookup. The other changes are dependency pins and import-path moves, which add no runtime cost.
📝 Documentation: ✅ LGTM
No issues found.
Reviewed commit: 4d078f09 — same changes as e974f141, so this is that commit's review (no new review was run; line numbers are as of e974f141)
workers-devprod
left a comment
There was a problem hiding this comment.
Codeowners reviews satisfied
Backports #17031's November 19 runtime/default compatibility date and #17035's Worker-scoped remote binding preview sessions to v1. The exact remote-bindings implementation and all nine original regression cases are retained; its changeset is scoped to the published v1 plugin. Absent public Wrangler source/tests are not restored.
Version Packages #17027 is merged and its required packages are now published. This PR pins Miniflare 5.20261119.0-beta, Wrangler 4.166.0, workers-utils 0.56.0, deploy-helpers 0.29.0, Workers types 5.20261119.1, and remote-bindings’ workers-auth 0.18.6 / cli-shared-helpers 0.3.12 consistently across the plugin and direct retained consumers. The pnpm lockfile is regenerated from npm. Private workspace:* references and intentionally older fixture/playground API pins remain intact. This supersedes the earlier publication blocker; merged #17012 supplies the preceding November 18 increment.
The runtime adaptation preserves #17031 through exact public dependency pins; Miniflare supplies workerd 1.20261119.1 and workers-utils supplies DEFAULT_COMPAT_DATE 2026-11-19. #17035 uses the same Worker-scoped endpoint, derives the hostname from exchange_url, and retains the legacy account subdomain fallback. Before/after evidence recovered from November 19 shows all nine original regression tests failing before and all 49 retained remote-bindings tests passing after. All 49 tests also pass with the final installed, published runtime and auth dependencies. Live validation with a granular account-owned token remains outstanding, as in the original.
Installed-version validation: pnpm install --no-frozen-lockfile, pnpm check (58 tasks, including build/types/lint/format), pnpm test:ci (8 tasks, including 271 plugin tests) and pnpm test:fixtures (6 tasks, including 30 dev-registry tests, 5 API harness tests and 2 browser harness tests) pass. The initial check reproduced eight deprecated-root-export lint errors introduced by #16174 in the newly published workers-utils. Six retained source files now import the same canonical Config types / partitionExports / resolveBindingRemote / createArtifactsLocalDefaultWarner values from /config. Upstream legacy.ts aliases those exact exports, so this is a required import-path compatibility adaptation with no behavior change. No standalone mapping PR or copied public-package tests are added. No credentialed E2E or granular-token live validation is claimed.
Native GitHub stack #17084 is rooted at vite-plugin-v1: #17082 → #17083 → #17085 → this PR → #17105 → #17106. Preserve earlier merged dependencies and these validated increments. Published Miniflare and Wrangler metadata both verify internal Undici 7.30.2, supplying their portion of #17043 alongside #17083. The existing remote-bindings auth and CLI helper pins also advance to the matching releases, removing their older Undici copies. Intentionally older standalone fixture/playground and containers-shared API pins remain unchanged; this does not claim every historical lockfile copy is upgraded. This release also supplies the shared localhost fix from #17034 and relevant shared validation from #17044/#16679. Merged release #17027 is covered here; no duplicate release PR is needed. By explicit maintainer decision on November 20, #17034's opt-in Vite host forwarding is v2-only, while the shared localhost fix is consumed through Miniflare. The #17076 lazy-loading optimization will not be backported to v1. Neither source change is included here, and no guidance remains pending. The required #16174 canonical-import adaptation is described above.
Note
This is a contribution from an AI agent: Codex.