Skip to content

chore(deps): replace Yuku with SWC Next 0.2.1 - #1734

Draft
SoonIter wants to merge 3 commits into
mainfrom
soon-codex/chore-replace-yuku-with-swc-next
Draft

SoonIter wants to merge 3 commits into
mainfrom
soon-codex/chore-replace-yuku-with-swc-next

Conversation

@SoonIter

@SoonIter SoonIter commented Aug 21, 2026

Copy link
Copy Markdown
Member

Summary

Replace Yuku with @swc-next/parser@0.2.1 in V8 coverage conversion and VS Code test discovery, using estree-walker for coverage AST traversal. The lockfile pins the parser, decoder, and native bindings to 0.2.1.

Copy the VS Code native binary beside the bundled loader so the extension can load it at runtime, and include the parser, decoder, and copied binding licenses in the generated notice.

Rebased onto the latest origin/main and resolved the AST walker API and updated-main test compatibility issues. Validated on macOS arm64 with coverage-v8 unit tests (76), VS Code unit tests (94), V8 coverage e2e tests (43 across 8 files), full package builds, affected lint, typecheck, check-unused, and the repository pre-push dependency-consistency, typecheck, formatting, and spelling hooks.

Checklist

  • Tests updated.
  • Documentation not required for this internal dependency migration.

Related Links

@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown

Rsdoctor Bundle Diff Analysis

⚠️ Note: The latest commit (8d4b32f1a4) does not have baseline artifacts. Using commit 53a24ab4a9 for baseline comparison instead. If this seems incorrect, please wait a few minutes and try rerunning the workflow.

Found 13 projects in monorepo, 4 projects with changes.

📊 Quick Summary
Project Total Size Change
browser 1.1 MB 0
adapter-rspack 12.4 KB 0
adapter-rsbuild 6.1 KB 0
adapter-rslib 51.1 KB 0
browser-react 6.4 KB 0
coverage-v8 82.4 KB +98.0 B (0.1%)
coverage-istanbul 20.1 KB 0
browser/client 79.7 KB 0
playwright 53.0 KB 0
core/browser 645.6 KB +54.0 B (0.0%)
core/main 2.0 MB +305.0 B (0.0%)
vscode/worker 18.4 KB 0
vscode/extension 1.4 MB 📈 +101.7 KB (+7.9%)
📋 Detailed Reports (Click to expand)

📁 coverage-v8

Path: packages/coverage-v8/.rsdoctor/rsdoctor-data.json

📌 Baseline Commit: 53a24ab4a9 | PR: #1847

Metric Current Baseline Change
📊 Total Size 82.4 KB 82.3 KB +98.0 B (0.1%)
📄 JavaScript 76.0 KB 75.9 KB +93.0 B (0.1%)
🎨 CSS 0 B 0 B 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 6.3 KB 6.3 KB +5.0 B (0.1%)

📦 Download Diff Report: coverage-v8 Bundle Diff

📁 core/browser

Path: packages/core/.rsdoctor/browser/rsdoctor-data.json

📌 Baseline Commit: 53a24ab4a9 | PR: #1847

Metric Current Baseline Change
📊 Total Size 645.6 KB 645.5 KB +54.0 B (0.0%)
📄 JavaScript 478.7 KB 478.7 KB 0
🎨 CSS 0 B 0 B 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 166.9 KB 166.8 KB +54.0 B (0.0%)

📦 Download Diff Report: core/browser Bundle Diff

📁 core/main

Path: packages/core/.rsdoctor/main/rsdoctor-data.json

📌 Baseline Commit: 53a24ab4a9 | PR: #1847

Metric Current Baseline Change
📊 Total Size 2.0 MB 2.0 MB +305.0 B (0.0%)
📄 JavaScript 1.6 MB 1.6 MB +251.0 B (0.0%)
🎨 CSS 0 B 0 B 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 440.3 KB 440.2 KB +54.0 B (0.0%)

📦 Download Diff Report: core/main Bundle Diff

📁 vscode/extension

Path: packages/vscode/.rsdoctor/extension/rsdoctor-data.json

📌 Baseline Commit: 53a24ab4a9 | PR: #1847

Metric Current Baseline Change
📊 Total Size 1.4 MB 1.3 MB +101.7 KB (+7.9%)
📄 JavaScript 476.7 KB 471.8 KB +4.9 KB (+1.0%)
🎨 CSS 0 B 0 B 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 918.2 KB 821.4 KB +96.8 KB (+11.8%)

📦 Download Diff Report: vscode/extension Bundle Diff

Generated by Rsdoctor GitHub Action

@SoonIter SoonIter changed the title chore(deps): replace Yuku with SWC Next chore(deps): replace Yuku with SWC Next 0.2.0 Sep 7, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstest with  Cloudflare Pages  Cloudflare Pages

Latest commit: 98c15e0
Status: ✅  Deploy successful!
Preview URL: https://6a7753e2.rstest.pages.dev
Branch Preview URL: https://soon-codex-chore-replace-yuk.rstest.pages.dev

View logs

@SoonIter SoonIter changed the title chore(deps): replace Yuku with SWC Next 0.2.0 chore(deps): replace Yuku with SWC Next 0.2.1 Sep 14, 2026
@SoonIter
SoonIter force-pushed the soon-codex/chore-replace-yuku-with-swc-next branch from 189b236 to dc832e6 Compare September 14, 2026 11:55
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