Skip to content

chore(deps): update Vite Plus and React lint rules - #46079

Merged
hyoban merged 1 commit into
mainfrom
chore/deps-vite-lint-43035-main
Nov 11, 2026
Merged

hyoban merged 1 commit into
mainfrom
chore/deps-vite-lint-43035-main

Conversation

@hyoban

@hyoban hyoban commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Summary

Update Vite Plus and its Vite alias to 1.6.0 and @eslint-react/eslint-plugin to 5.30.1. Migrate the newly reported invalid-type guards to TypeError, move existing effect exceptions to the callback sites inspected by the new rule, and prune the corresponding suppression counts. Four embedded-chatbot effects now list the derived isTryApp value they read as a dependency.

Refs #43035. Based independently on main after #46057.

Validation

  • Before the split: the two affected rules passed across 7,145 source files; existing non-type-aware rules passed for 31 changed source files; changed-file formatting passed with two threads.
  • Preserved unrelated suppression baseline entries and the existing chat/session effect behavior.
  • On the independent branch rebased to latest main: normal frozen install passed with lifecycle scripts and all 1,512 supply-chain policy checks. The affected-rule scan, changed-source non-type-aware lint, and changed-file formatting all passed again (two threads, 888 MiB peak process-tree RSS).
  • Final-head CI TS Common passed full type-aware lint and workspace type checks; SuperLinter passed. The CI prune check identified one obsolete static-components suppression (count 2) in segment-list.tsx; that entry was removed while preserving the rest of the baseline. The temporary diagnostic workflow was removed from the final diff.
  • Full Web tests and builds run in CI; local checks are deliberately scoped to fit the development machine.

Checklist

  • Linked the existing dependency-tracking issue and reviewed the contribution guidelines.
  • Inspected each new rule diagnostic and used existing exception boundaries where behavior must remain unchanged.
  • Recorded the actual local validation scope.

@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. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Nov 11, 2026
@codecov

codecov Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 90.14%. Comparing base (1630628) to head (ba8dfef).

Files with missing lines Patch % Lines
...des/human-input-v2/components/message-template.tsx 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #46079      +/-   ##
==========================================
- Coverage   90.14%   90.14%   -0.01%     
==========================================
  Files        6307     6307              
  Lines      394725   394726       +1     
  Branches    79183    79183              
==========================================
- Hits       355810   355809       -1     
- Misses      32799    32801       +2     
  Partials     6116     6116              
Flag Coverage Δ
cli 94.26% <ø> (ø)
dify-ui 92.65% <ø> (ø)
web 90.12% <66.66%> (-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.

@hyoban
hyoban force-pushed the chore/deps-vite-lint-43035-main branch from fda251c to 1f86c5a Compare November 11, 2026 10:04
@github-actions github-actions Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Nov 11, 2026
@hyoban
hyoban force-pushed the chore/deps-vite-lint-43035-main branch from 1f86c5a to ba8dfef Compare November 11, 2026 10:12
@hyoban
hyoban marked this pull request as ready for review November 11, 2026 10:21
@hyoban
hyoban added this pull request to the merge queue Nov 11, 2026
Merged via the queue into main with commit f2298c7 Nov 11, 2026
65 of 66 checks passed
@hyoban
hyoban deleted the chore/deps-vite-lint-43035-main branch November 11, 2026 10:29
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.

2 participants