chore(deps-dev): bump @vitejs/plugin-react from 4.7.0 to 6.0.2#178
Merged
Conversation
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 4.7.0 to 6.0.2. - [Release notes](https://github.com/vitejs/vite-plugin-react/releases) - [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@6.0.2/packages/plugin-react) --- updated-dependencies: - dependency-name: "@vitejs/plugin-react" dependency-version: 6.0.2 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Three pre-existing failures on ``main`` were blocking every open Dependabot PR (#167–#189). None of them were caused by the dependency bumps themselves — they were latent bugs that only surfaced once unpinned tooling drifted forward. * ``services/ingest`` no longer fails ``go build`` with ``./main.go:38:5: undefined: envmode``. The ``envmode.IsDevRuntime`` call introduced in PR #127 forgot its import line. * ``scripts/run_evals.py`` no longer raises ``NameError: name '_SUITE_NAMES' is not defined`` at startup. The ``--suite`` argparse choice tuple referenced a constant that was never authored; reconstructed it from the canonical ``summary["suites"]`` key order in ``main()``. * ``.github/workflows/ci.yml`` pins ruff and mypy to the version ranges declared in each service's ``pyproject.toml`` (``ruff = "^0.4.4"``, ``mypy = "^1.10.0"``). The previous ``pip install ruff mypy`` was unpinned, so each upstream release silently re-baselined the lint gate (ruff 0.15.x adds UP037 enforcement, etc.). Dependabot bumps to the pyproject constraints (#186, #187) will need to widen this pin in the same diff. The remaining ``Web — Vitest smoke tests`` failure (``SOCInsightsView`` SWR cache leakage between test cases) is documented as a separate follow-up — it pre-dates this PR and affects every Dependabot bump equally, so it doesn't block the dependency sweep.
``apps/web/src/test/setup.ts`` already runs @testing-library's ``cleanup()`` in ``afterEach``, but SWR keeps a *module-scoped* cache that survives DOM teardown. The SOCInsightsView smoke tests trip over this: the first test mocks the fetcher with ``new Promise(() => {})`` to hold the loading state open, which pins that unresolved promise to the SWR cache key. The second test's ``mockResolvedValue`` is then silently ignored — SWR returns the cached pending promise — so ``screen.getByText('MTTA')`` fails with ``TestingLibraryElementError: Unable to find an element with the text``. Call ``mutate(() => true, undefined, { revalidate: false })`` in the same ``afterEach`` to drop every cached key. This is the lightest fix; wrapping every test in ``<SWRConfig provider={() => new Map()}>`` would be more isolated but needs touching every test file. Closes the last of the four ``main`` CI failures that block the open Dependabot sweep.
Owner
|
Deferred for owner migration session. |
…rn/vitejs/plugin-react-6.0.2
Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps @vitejs/plugin-react from 4.7.0 to 6.0.2.
Release notes
Sourced from @vitejs/plugin-react's releases.
... (truncated)
Changelog
Sourced from @vitejs/plugin-react's changelog.
... (truncated)
Commits
6535b55release: plugin-react@6.0.2bf0e43bfeat(react): whitelist debugging-options (#1189)3bd1f08feat: use carets for rolldown versions (#1216)2b8df67fix(deps): update all non-major dependencies (#1218)8fa9619fix(deps): update react 19.2.6 (#1211)a4296adfix(deps): update all non-major dependencies (#1209)323ccd7fix(deps): update all non-major dependencies (#1196)a7506e1chore(deps): update vite 8.0.10 (#1198)02cff2afix(deps): update all non-major dependencies (#1184)4b9c890fix(deps): update react 19.2.5 (#1181)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for
@vitejs/plugin-reactsince your current version.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)