Repository navigation
fix(mysql): update mysql2 - #18004
Conversation
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including You can disable this status message by setting the WalkthroughUpdates mysql2 dependency in packages/mysql and adds a new boolean connection option gracefulEnd to the MySQL connection options map, propagating to the exported boolean option names. No other logic or control-flow changes are indicated. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
packages/mysql/src/_internal/connection-options.ts (1)
30-41: Consider adding tests for the new gracefulEnd option.Adding test coverage for the new
gracefulEndconnection option would help ensure it's properly handled and parsed.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
yarn.lockis excluded by!**/yarn.lock,!**/*.lock
📒 Files selected for processing (2)
packages/mysql/package.json(1 hunks)packages/mysql/src/_internal/connection-options.ts(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: Upload install and build artifact (Node 18)
- GitHub Check: Upload install and build artifact (Node 20)
🔇 Additional comments (3)
packages/mysql/package.json (1)
44-44: mysql2 ^3.15.2 is available and secure — npm confirms v3.15.2 exists and all known vulnerabilities (<3.9.x) were patched in earlier 3.9.x releases.packages/mysql/src/_internal/connection-options.ts (2)
34-34: gracefulEnd support verifiedgracefulEndis a supported boolean option in mysql2 ^3.15.x and is correctly included inMySqlConnectionOptions.
30-41: Verify MySqlConnectionOptions includes gracefulEnd
The BooleanConnectionOptions map listsgracefulEnd, but I couldn’t locate it in the MySqlConnectionOptions declaration—confirmgracefulEnd?: booleanis defined in the typedef/interface in connection-manager.js.
6d1d3a1 to
02a3282
Compare
Pull Request Checklist
Description of Changes
Updates
mysql2Summary by CodeRabbit
New Features
Chores