Conversation
Co-authored-by: PavelVanecek <1100170+PavelVanecek@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6934 +/- ##
=======================================
Coverage 94.29% 94.29%
=======================================
Files 571 571
Lines 56002 56002
Branches 5222 5222
=======================================
Hits 52807 52807
Misses 3186 3186
Partials 9 9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Bundle ReportBundle size has no change ✅ |
|
Staging Deployment Details
These deployments will remain available for 30 days. To update snapshots: Comment |
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the
Comment |
Description
Recharts 3.7 calls
prepareAutoBatched()from Redux Toolkit, introduced in RTK 1.9.0. The dependency range1.x.x || 2.x.xpermits RTK 1.8.x installation, causing runtime failures.Updated dependency constraint to
^1.9.0 || 2.x.x.Related Issue
Recharts 3.7 uses Redux Toolkit APIs not available in 1.8, but dependency range allows 1.x.x
Fixes #6933
Motivation and Context
prepareAutoBatchedis used in 5 slice files (tooltip, legend, graphicalItems, cartesianAxis, zIndex) but only exists in RTK ≥1.9.0. Package managers can resolve to 1.8.x under the previous constraint, breaking at runtime.How Has This Been Tested?
prepareAutoBatchedabsent in RTK 1.8.6, present in 1.9.0Screenshots (if appropriate):
N/A
Types of changes
Checklist:
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
redux-toolkit.js.org/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.