Skip to content

chore(deps): refresh compatible JavaScript dependencies - #46057

Merged
hyoban merged 4 commits into
mainfrom
chore/deps-refresh-20261111
Nov 11, 2026
Merged

hyoban merged 4 commits into
mainfrom
chore/deps-refresh-20261111

Conversation

@hyoban

@hyoban hyoban commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Summary

Refs #43035. Closes #46060.

Refresh 63 JavaScript workspace catalog entries and pnpm 12.16.1 → 12.18.0, including compatible maintenance releases hidden by newer major versions. Regenerate the lockfile with the existing build-script, trust and runtime policies. The branch includes main through a75c498f09 and preserves its es-module-lexer 3.0.4 migration.

Notable updates include Next.js 16.4.6, Vinext 1.4.5, Storybook 10.6.7, Playwright 1.65.0, Tailwind CSS 4.3.5, oRPC 1.16.2, TanStack Query 5.107.1, Jotai 3.0.2, Zustand 5.1.0, i18next 26.7.2, react-i18next 17.1.13, KaTeX 0.18.10 and undici 7.30.2. The undici maintenance release includes upstream security fixes.

Stabilize the two Chromium interactions that failed successive merge-queue runs:

  • Keep the SupportMenu error toast visible until the test hovers and closes it through the real notification control, then reopen the menu and retry Zendesk. This removes the race against the fixture's 100ms auto-dismiss window while retaining error-display and retry assertions.
  • Await and interact with the visible comment preview for dragging and opening. Hovering a comment marker displays the preview over it, so clicking the marker raced the preview's rendering and could time out. The test still checks keyboard focus/movement, real dragging, no opening on drag, and opening on the subsequent click.

Validation

Latest changes, with local checks run sequentially at reduced priority:

  • Both affected Chromium specs passed: 7 tests, using --maxWorkers=1 and a 4 GiB Node heap. The comment interception failure was first reproduced locally by awaiting the preview before the original marker click; the corrected visible-preview interaction passed.
  • Repository formatting passed for 9,443 files with two threads, excluding the globally Git-ignored, machine-local .claude/launch.json. The unqualified root check stops on that file's existing formatting; it was left untouched.
  • Repository Oxlint passed with two threads; ESLint passed with concurrency disabled. git diff --check passed.
  • Both full Chromium CI shards passed on dd6818adec: Browser Tests 1/2 and Browser Tests 2/2.

Earlier dependency validation passed frozen installation with pnpm 12.18.0, all workspace type checks, repository static checks, and 2,564 tests reported passing across CLI, tooling/adapters/SDK/contracts, focused Web regressions, Dify UI, Storybook and mapper integrations. The CLI had 40 existing skipped cases. The earlier Web Chromium run reported all 13 files / 49 tests passing, then its launcher was terminated during shutdown to relieve local machine load. Full suites and application builds were not repeated for this test-only fix; CI checks the updated branch.

Vinext production builds passed before and after the dependency update with a 4 GiB Node heap and reduced priority. Total emitted client JS gzip changed from 13,438,062 to 13,432,731 bytes (−0.04%); CSS gzip changed from 371,069 to 370,652 bytes (−0.11%). These are all emitted chunks, not initial-page transfer sizes.

Follow-ups

  • Vite+ 1.6.0 and @eslint-react/eslint-plugin 5.30.1 need a focused lint migration. A combined trial reported 57 errors, including expanded unicorn/prefer-type-error checks, changed set-state-in-effect locations and obsolete suppressions. This refresh retains Vite+ 1.5.0 / Vitest 5.1.0 and the existing React lint plugin.
  • Keep the SDK's public Vite peer at ^8.3.5, which already permits current Vite releases. Raising its minimum unnecessarily rejected the independent-install fixture using Vite 8.3.5; retaining the existing range passes that test.
  • Major and pre-1.0 minor migrations remain separate: the existing tracker items plus i18next 27 / react-i18next 18, KaTeX 0.19, newer Hotkeys, intl-localematcher, highlights and Markdown lint packages.
  • pnpm audit remains at 5 advisories: 2 high, 2 moderate, 1 low. These are the two unpatched extract-zip advisories, glob@13.0.6, minimatch@10.2.6, and katex@0.16.47 used by the Markdown lint toolchain. Addressing these requires upstream changes or separate compatibility work; the application's direct KaTeX is 0.18.10.

Checklist

  • Linked the dependency-maintenance discussion and browser CI failure report.
  • Validated the dependency update with installation, static, type, behavior and build checks.
  • Preserved real component owners and user-visible assertions in the affected browser tests.
  • No user-facing documentation update is required.

@github-actions github-actions Bot added size:L This PR changes 100-499 lines, ignoring generated files. web This relates to changes on the web. labels Nov 11, 2026
@codecov

codecov Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.14%. Comparing base (a75c498) to head (dd6818a).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #46057   +/-   ##
=======================================
  Coverage   90.13%   90.14%           
=======================================
  Files        6305     6305           
  Lines      394701   394684   -17     
  Branches    79183    79182    -1     
=======================================
+ Hits       355779   355790   +11     
+ Misses      32806    32784   -22     
+ Partials     6116     6110    -6     
Flag Coverage Δ
cli 94.26% <ø> (ø)
dify-ui 92.65% <ø> (ø)
web 90.12% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Vinext bundle analysis

JS gzip: 🟢 −5.57 KiB (−0.06%) · CSS gzip: 🟢 −417 B (−0.12%)

All client output Base gzip → Merge gzip Gzip change
JS 10038.39 KiB → 10032.82 KiB 🟢 −5.57 KiB (−0.06%)
CSS 342.13 KiB → 341.72 KiB 🟢 −417 B (−0.12%)

Entry changes: 🟠 79 increased · 🟢 6 decreased (gzip).

Largest entry changes

Top 5 by absolute gzip delta. Static dependencies overlap; do not sum entries.

Source entry Base gzip → Merge gzip Gzip change
app/components/base/voice-input/mp3-encoder.ts 263.96 KiB → 251.89 KiB 🟢 −12.07 KiB (−4.57%)
app/components/base/markdown-blocks/mermaid-diagram/index.tsx 414.21 KiB → 417.36 KiB 🟠 +3.15 KiB (+0.76%)
app/components/workflow/nodes/agent-v2/panel.tsx 1619.64 KiB → 1621.95 KiB 🟠 +2.32 KiB (+0.14%)
app/components/workflow/panel/debug-and-preview/index.tsx 1388.97 KiB → 1391.28 KiB 🟠 +2.31 KiB (+0.17%)
app/components/workflow/features.tsx 1350.93 KiB → 1353.24 KiB 🟠 +2.31 KiB (+0.17%)
Top 20 of 85 changed entries (full paths and raw sizes)
Source entry Base gzip → Merge gzip Gzip change Raw change
dynamic-entry: app/components/base/voice-input/mp3-encoder.ts 263.96 KiB → 251.89 KiB 🟢 −12.07 KiB (−4.57%) 🟠 +158.88 KiB (+20.85%)
dynamic-entry: app/components/base/markdown-blocks/mermaid-diagram/index.tsx 414.21 KiB → 417.36 KiB 🟠 +3.15 KiB (+0.76%) 🟠 +9.17 KiB (+0.79%)
dynamic-entry: app/components/workflow/nodes/agent-v2/panel.tsx 1619.64 KiB → 1621.95 KiB 🟠 +2.32 KiB (+0.14%) 🟠 +6.28 KiB (+0.12%)
dynamic-entry: app/components/workflow/panel/debug-and-preview/index.tsx 1388.97 KiB → 1391.28 KiB 🟠 +2.31 KiB (+0.17%) 🟠 +6.28 KiB (+0.14%)
dynamic-entry: app/components/workflow/features.tsx 1350.93 KiB → 1353.24 KiB 🟠 +2.31 KiB (+0.17%) 🟠 +6.28 KiB (+0.14%)
dynamic-entry: app/components/workflow/panel/chat-record/index.tsx 1382.74 KiB → 1385.05 KiB 🟠 +2.31 KiB (+0.17%) 🟠 +6.28 KiB (+0.14%)
dynamic-entry: app/components/workflow/nodes/human-input/panel.tsx 1336.76 KiB → 1339.06 KiB 🟠 +2.30 KiB (+0.17%) 🟠 +6.28 KiB (+0.15%)
dynamic-entry: app/components/workflow/nodes/human-input-v2/panel.tsx 1355.89 KiB → 1358.18 KiB 🟠 +2.30 KiB (+0.17%) 🟠 +6.28 KiB (+0.14%)
dynamic-entry: app/components/workflow/nodes/knowledge-retrieval/panel.tsx 1408.64 KiB → 1410.93 KiB 🟠 +2.29 KiB (+0.16%) 🟠 +6.28 KiB (+0.14%)
dynamic-entry: app/components/workflow/nodes/start/panel.tsx 1327.48 KiB → 1329.77 KiB 🟠 +2.29 KiB (+0.17%) 🟠 +6.28 KiB (+0.15%)
dynamic-entry: app/components/workflow/panel/workflow-preview.tsx 1331.16 KiB → 1333.45 KiB 🟠 +2.29 KiB (+0.17%) 🟠 +6.28 KiB (+0.15%)
dynamic-entry: app/components/workflow/nodes/knowledge-base/panel.tsx 1325.94 KiB → 1328.23 KiB 🟠 +2.29 KiB (+0.17%) 🟠 +6.28 KiB (+0.15%)
dynamic-entry: app/components/workflow/nodes/list-operator/panel.tsx 1324.19 KiB → 1326.48 KiB 🟠 +2.29 KiB (+0.17%) 🟠 +6.28 KiB (+0.15%)
dynamic-entry: app/components/workflow-app/components/workflow-onboarding-modal/index.tsx 1318.29 KiB → 1320.57 KiB 🟠 +2.29 KiB (+0.17%) 🟠 +6.28 KiB (+0.15%)
dynamic-entry: app/components/rag-pipeline/components/panel/test-run/index.tsx 1321.84 KiB → 1324.13 KiB 🟠 +2.29 KiB (+0.17%) 🟠 +6.28 KiB (+0.15%)
dynamic-entry: app/components/workflow/panel/version-history-panel/index.tsx 1326.73 KiB → 1329.02 KiB 🟠 +2.29 KiB (+0.17%) 🟠 +6.28 KiB (+0.15%)
dynamic-entry: app/components/snippets/components/snippet-run-panel.tsx 1322.06 KiB → 1324.34 KiB 🟠 +2.28 KiB (+0.17%) 🟠 +6.28 KiB (+0.15%)
dynamic-entry: app/components/rag-pipeline/components/panel/input-field/index.tsx 1321.09 KiB → 1323.37 KiB 🟠 +2.28 KiB (+0.17%) 🟠 +6.28 KiB (+0.15%)
dynamic-entry: app/components/workflow/nodes/knowledge-retrieval-v2/panel.tsx 1396.79 KiB → 1399.07 KiB 🟠 +2.28 KiB (+0.16%) 🟠 +6.28 KiB (+0.14%)
dynamic-entry: app/components/workflow/nodes/llm/panel.tsx 1345.14 KiB → 1347.42 KiB 🟠 +2.28 KiB (+0.17%) 🟠 +6.28 KiB (+0.15%)
📦 27 package attribution changes (uncompressed modules)

Showing 15 of 27, ordered by absolute module-size delta.

Package Base Merge Δ
@mediabunny/mp3-encoder 309.81 KiB 469.29 KiB 🟠 +159.48 KiB (+51.48%)
vinext 954.08 KiB 968.04 KiB 🟠 +13.96 KiB (+1.46%)
@amplitude/session-replay-browser 363.43 KiB 377.31 KiB 🟠 +13.88 KiB (+3.82%)
i18next 82.60 KiB 90.71 KiB 🟠 +8.11 KiB (+9.82%)
@amplitude/analytics-core 289.39 KiB 296.58 KiB 🟠 +7.19 KiB (+2.49%)
@amplitude/analytics-browser 139.60 KiB 146.46 KiB 🟠 +6.86 KiB (+4.91%)
zustand 23.96 KiB 30.76 KiB 🟠 +6.80 KiB (+28.40%)
mediabunny 721.32 KiB 725.77 KiB 🟠 +4.45 KiB (+0.62%)
pele 709.00 KiB 712.24 KiB 🟠 +3.23 KiB (+0.46%)
react-i18next 29.79 KiB 32.06 KiB 🟠 +2.27 KiB (+7.60%)
@amplitude/plugin-network-capture-browser 17.82 KiB 15.93 KiB 🟢 −1.89 KiB (−10.63%)
@amplitude/plugin-page-view-tracking-browser 11.57 KiB 13.25 KiB 🟠 +1.68 KiB (+14.55%)
@amplitude/plugin-autocapture-browser 184.57 KiB 186.23 KiB 🟠 +1.67 KiB (+0.90%)
cron-parser 97.82 KiB 99.25 KiB 🟠 +1.43 KiB (+1.46%)
@tanstack/virtual-core 71.42 KiB 71.96 KiB 🟠 +557 B (+0.76%)
Measurement details and build revisions

Base: a75c498f09dcd1c6e8493d21a7c274656e5d056f · Merge: d4a8fcb6c822c23a1eb8ebe4f96a8e760366ba07
Vinext: 1.4.0 → 1.4.5; Rolldown: 1.2.16 → 1.2.16

Raw JS change: 🟠 +178.20 KiB (+0.54%) · Raw CSS change: 🟠 +294 B (+0.02%)

🟠 Increase · 🟢 Decrease · ⚪ Unchanged. Colors indicate direction, not a performance budget verdict. Percentages use the base size.

Entries follow only static edges in the official Rolldown chunk graph, deduplicating shared files. Dynamic entries are measured when loaded; they are not page first-load metrics. Entry totals overlap and must not be summed.
Package attribution sums module sizes reported by Rolldown, not compressed emitted bytes. Gzip totals are measured per emitted file. This is Vinext output, not Next.js/Turbopack output.
Report only: increases do not fail this check. Missing or incompatible analysis data does.

Compiler versions differ; changes may include compiler effects.

Download base/merge snapshots and official Rolldown analysis reports.

Comparison: event base SHA vs the tested merge commit at GITHUB_SHA (PR or merge queue).

@hyoban
hyoban marked this pull request as ready for review November 11, 2026 08:11
lyzno1
lyzno1 previously approved these changes Nov 11, 2026
@hyoban
hyoban added this pull request to the merge queue Nov 11, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 11, 2026
lyzno1
lyzno1 previously approved these changes Nov 11, 2026
@hyoban
hyoban added this pull request to the merge queue Nov 11, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 11, 2026
@hyoban
hyoban added this pull request to the merge queue Nov 11, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 11, 2026
@hyoban
hyoban added this pull request to the merge queue Nov 11, 2026
Merged via the queue into main with commit f5c0b49 Nov 11, 2026
67 checks passed
@hyoban
hyoban deleted the chore/deps-refresh-20261111 branch November 11, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files. web This relates to changes on the web.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Browser test failures repeatedly remove dependency refresh PR from merge queue

2 participants