-
Notifications
You must be signed in to change notification settings - Fork 1
fix: add missing sqlstring deps #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,17 @@ | ||||||
| name: eggjs_rds_dev_services_mysql | ||||||
|
|
||||||
|
Comment on lines
+1
to
+2
|
||||||
| name: eggjs_rds_dev_services_mysql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Invalid MySQL version specified.
MySQL 9 does not exist yet. The latest MySQL version is 8.x (as of March 2025). This will cause the Docker container to fail.
- image: mysql:9
+ image: mysql:8📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| image: mysql:9 | |
| image: mysql:8 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| export default { | ||
| host: process.env.TEST_ALI_RDS_HOST || '127.0.0.1', | ||
| port: parseInt(process.env.TEST_ALI_RDS_PORT || '3306'), | ||
| user: process.env.TEST_ALI_RDS_USER || 'root', | ||
| password: process.env.TEST_ALI_RDS_PASSWORD || '', | ||
| database: process.env.TEST_ALI_RDS_DATABASE || 'test', | ||
| host: process.env.TEST_ALI_RDS_HOST ?? '127.0.0.1', | ||
| port: parseInt(process.env.TEST_ALI_RDS_PORT ?? '3306'), | ||
| user: process.env.TEST_ALI_RDS_USER ?? 'root', | ||
| password: process.env.TEST_ALI_RDS_PASSWORD ?? '', | ||
| database: process.env.TEST_ALI_RDS_DATABASE ?? 'test', | ||
| }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Node.js and MySQL version expansion.
Adding Node.js 22 and MySQL 9 for testing is forward-looking, but be aware that MySQL 9 doesn't exist yet - this will cause test failures for that matrix entry.
🌐 Web query:
💡 Result:
The latest stable versions of MySQL depend on the release track chosen, with distinct options available for Long-Term Support (LTS) and Innovation tracks as of March 2025:
LTS Track (Stability-Focused)
Innovation Track (Feature-Rich)
Key Details:
For most production environments requiring stability, MySQL 8.4.1 LTS is recommended. Developers seeking cutting-edge features should opt for MySQL 9.0.0 Innovation[5][9].
Citations:
Action: Remove the unsupported MySQL version from the testing matrix
While including Node.js 22 is forward-looking, keep in mind that—even though MySQL 9.0.0 is now available as an Innovation release—our testing should focus on production-ready, stable releases. For stability (e.g., MySQL 8.4.1 LTS for most production environments), it is best to limit the matrix to versions 5 and 8. Please update the workflow file accordingly:
.github/workflows/nodejs.yml(Lines 15-16)📝 Committable suggestion