Skip to content

chore(deps): update dependency @testing-library/react to v16.3.2#221

Closed
jevy wants to merge 1 commit intomainfrom
renovate/testing-library-monorepo
Closed

chore(deps): update dependency @testing-library/react to v16.3.2#221
jevy wants to merge 1 commit intomainfrom
renovate/testing-library-monorepo

Conversation

@jevy
Copy link
Copy Markdown
Contributor

@jevy jevy commented Feb 6, 2026

This PR contains the following updates:

Package Change Age Confidence
@testing-library/react 16.3.116.3.2 age confidence

Release Notes

testing-library/react-testing-library (@​testing-library/react)

v16.3.2

Compare Source

Bug Fixes
  • Update 'onCaughtError' type inference in 'RenderOptions' to work with React v19 (#​1438) (f32bd1b)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@jevy
Copy link
Copy Markdown
Contributor Author

jevy commented Feb 6, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: uiv2/package-lock.json
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @connectrpc/connect-query@1.4.2
npm error Found: react@19.2.3
npm error node_modules/react
npm error   peer react@">=16.8.0" from @emotion/react@11.14.0
npm error   node_modules/@emotion/react
npm error     peer @emotion/react@"^11.0.0-rc.0" from @emotion/styled@11.14.1
npm error     node_modules/@emotion/styled
npm error       peerOptional @emotion/styled@"^11.3.0" from @mui/material@7.3.7
npm error       node_modules/@mui/material
npm error         peer @mui/material@"^7.3.7" from @mui/icons-material@7.3.7
npm error         node_modules/@mui/icons-material
npm error         2 more (@mui/x-charts, the root project)
npm error       4 more (@mui/styled-engine, @mui/system, @mui/x-charts, the root project)
npm error     peerOptional @emotion/react@"^11.5.0" from @mui/material@7.3.7
npm error     node_modules/@mui/material
npm error       peer @mui/material@"^7.3.7" from @mui/icons-material@7.3.7
npm error       node_modules/@mui/icons-material
npm error         @mui/icons-material@"^7.3.7" from the root project
npm error       2 more (@mui/x-charts, the root project)
npm error     4 more (@mui/styled-engine, @mui/system, @mui/x-charts, the root project)
npm error   peer react@">=16.8.0" from @emotion/styled@11.14.1
npm error   node_modules/@emotion/styled
npm error     peerOptional @emotion/styled@"^11.3.0" from @mui/material@7.3.7
npm error     node_modules/@mui/material
npm error       peer @mui/material@"^7.3.7" from @mui/icons-material@7.3.7
npm error       node_modules/@mui/icons-material
npm error         @mui/icons-material@"^7.3.7" from the root project
npm error       2 more (@mui/x-charts, the root project)
npm error     peerOptional @emotion/styled@"^11.3.0" from @mui/styled-engine@7.3.7
npm error     node_modules/@mui/styled-engine
npm error       @mui/styled-engine@"^7.3.7" from @mui/system@7.3.7
npm error       node_modules/@mui/system
npm error         @mui/system@"^7.3.7" from @mui/material@7.3.7
npm error         node_modules/@mui/material
npm error         1 more (@mui/x-charts)
npm error     3 more (@mui/system, @mui/x-charts, the root project)
npm error   20 more (@emotion/use-insertion-effect-with-fallbacks, ...)
npm error
npm error Could not resolve dependency:
npm error peer react@"^18.3.1" from @connectrpc/connect-query@1.4.2
npm error node_modules/@connectrpc/connect-query
npm error   @connectrpc/connect-query@"^1.4.2" from the root project
npm error
npm error Conflicting peer dependency: react@18.3.1
npm error node_modules/react
npm error   peer react@"^18.3.1" from @connectrpc/connect-query@1.4.2
npm error   node_modules/@connectrpc/connect-query
npm error     @connectrpc/connect-query@"^1.4.2" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /tmp/renovate/cache/others/npm/_logs/2026-02-06T20_24_50_032Z-eresolve-report.txt
npm error A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2026-02-06T20_24_50_032Z-debug-0.log

@claude
Copy link
Copy Markdown
Contributor

claude bot commented Feb 6, 2026

Pull Request Review: @testing-library/react v16.3.1 → v16.3.2

Summary

This is a Renovate Bot automated dependency update that bumps @testing-library/react from 16.3.1 to 16.3.2 in the uiv2 UI project. This is a patch version update addressing a React v19 type inference bug.

Code Quality ✅

  • Clean lockfile update: The change is isolated to pnpm-lock.yaml with proper dependency resolution
  • Automated update: Renovate Bot follows established patterns for dependency management
  • Version compatibility: The update maintains the ^16.3.1 semver range specified in uiv2/package.json:44

What Changed

The update includes:

  • @testing-library/react: 16.3.116.3.2
  • @babel/runtime transitive dependency: 7.28.47.28.6

Bug Fix: Updates onCaughtError type inference in RenderOptions to work correctly with React v19 (#1438)

Analysis

Benefits:

  • Fixes type inference issues when using onCaughtError in test render options with React 19.2.0 (currently used in this project per uiv2/package.json:31-32)
  • Improves TypeScript developer experience by catching type errors during development
  • Patch version indicates backward compatible bug fix with no breaking changes

Risk Assessment: Low

  • Patch version bump (semantic versioning indicates bug fixes only)
  • No API changes or breaking modifications
  • Existing test suite in uiv2/src/ should validate compatibility (7 test files found)

Test Coverage: ✅
The project has test coverage with:

  • uiv2/src/utils/graphDependencyKey.test.ts
  • uiv2/src/components/Sparkline.test.tsx
  • uiv2/src/components/graph-builder/nodes/NodeMemo.test.tsx
  • uiv2/src/components/StreamInspectorPanel.test.tsx
  • uiv2/src/hooks/usePreviewJob.test.ts
  • uiv2/src/providers/ThroughputHistoryProvider.test.tsx
  • uiv2/src/providers/ServerConnectionProvider.test.tsx

The CI pipeline will run these tests to validate the update.

Recommendations

✅ Approve and Merge once CI checks pass:

  1. Wait for uiv2 CI check to complete successfully
  2. Verify no test failures or type errors introduced
  3. The renovate/artifacts failure appears unrelated to the code change itself (likely a Renovate Bot configuration issue)

Note on CI Status: The renovate/artifacts check failed with "Artifact file update failure", but this appears to be a Renovate Bot operational issue rather than a problem with the dependency update itself. The actual code checks (check, welcome) have passed, and uiv2 tests are pending.

Security Concerns

✅ None identified - this is a testing library used in development only, not in production bundles.

Performance Considerations

✅ No performance impact - testing library is a devDependency used only during test execution.


Verdict: This is a safe, beneficial update that improves React v19 type compatibility. Recommend merging once CI confirms test suite passes.

@jevy
Copy link
Copy Markdown
Contributor Author

jevy commented Feb 6, 2026

Closing to let Renovate recreate after pnpm workspace migration in #219

@jevy jevy closed this Feb 6, 2026
@jevy jevy deleted the renovate/testing-library-monorepo branch February 13, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants