[Automated] Sync master after 1.16.2 release#1430
Conversation
📝 WalkthroughWalkthroughThis pull request updates MySQL native library and compiler plugin dependencies from SNAPSHOT to stable versions in Ballerina configuration files, and increments the project version from 1.16.2-SNAPSHOT to 1.16.3-SNAPSHOT. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
ballerina/Ballerina.toml (1)
15-19:⚠️ Potential issue | 🟠 MajorUpdate the native jar version to match the project version in gradle.properties.
The
mysql-nativedependency currently specifies version1.16.2in both theversionandpathfields, butgradle.propertiesdefines the project version as1.16.3-SNAPSHOT. Theballerina/build.gradlehas anupdateTomlFilestask that should regenerateBallerina.tomlby replacing the@project.version@placeholder with the actual project version. The file appears out-of-sync and needs to be regenerated before the build, or the path will point to a non-existent artifact.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@ballerina/Ballerina.toml` around lines 15 - 19, Ballerina.toml's mysql-native dependency block (artifactId "mysql-native") is out of sync: the version and path use 1.16.2 but the project is 1.16.3-SNAPSHOT; regenerate the file by running the Gradle task updateTomlFiles (or run the build that invokes it) so the `@project.version`@ placeholder is replaced, ensuring the version and path fields in the Ballerina.toml dependency block match the project version (e.g., 1.16.3-SNAPSHOT) and point to the existing native jar.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Outside diff comments:
In `@ballerina/Ballerina.toml`:
- Around line 15-19: Ballerina.toml's mysql-native dependency block (artifactId
"mysql-native") is out of sync: the version and path use 1.16.2 but the project
is 1.16.3-SNAPSHOT; regenerate the file by running the Gradle task
updateTomlFiles (or run the build that invokes it) so the `@project.version`@
placeholder is replaced, ensuring the version and path fields in the
Ballerina.toml dependency block match the project version (e.g.,
1.16.3-SNAPSHOT) and point to the existing native jar.
---
Duplicate comments:
In `@ballerina/CompilerPlugin.toml`:
- Around line 5-6: The dependency path in CompilerPlugin.toml hard-codes the jar
name "mysql-compiler-plugin-1.16.2.jar" under the [[dependency]] entry, which
will break if the build emits a different version (e.g. 1.16.3-SNAPSHOT); change
this to either (a) make the packaging use a stable, deterministic filename
produced by the build (update the build task that produces mysql-compiler-plugin
to always output the expected artifact name), or (b) parameterize the path
(consume a version variable or property) or use a build step that resolves the
latest jar from build/libs (e.g. glob/select the mysql-compiler-plugin-*.jar) so
the CompilerPlugin.toml [[dependency]] path always points to the actual produced
artifact rather than a hard-coded versioned filename.
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project status has failed because the head coverage (74.51%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## master #1430 +/- ##
============================================
- Coverage 74.81% 74.51% -0.30%
+ Complexity 126 125 -1
============================================
Files 27 27
Lines 671 671
Branches 128 128
============================================
- Hits 502 500 -2
- Misses 121 122 +1
- Partials 48 49 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Sync master after 1.16.2 release
Release Sync Update
This PR synchronizes the master branch following the 1.16.2 release. The changes finalize the release process and prepare for the next development cycle.
Changes Made
mysql-nativeandmysql-compiler-plugin) from SNAPSHOT builds (1.16.2-SNAPSHOT) to stable release versions (1.16.2) in platform and compiler plugin configurations