[Automated] Sync master after 2.17.0 release#1448
[Automated] Sync master after 2.17.0 release#1448ballerina-bot wants to merge 3 commits intomasterfrom
Conversation
📝 WalkthroughWalkthroughThe pull request updates three platform dependencies in configuration files from SNAPSHOT to non-SNAPSHOT release versions, and increments the Gradle project version from 2.17.0-SNAPSHOT to 2.17.1-SNAPSHOT. No logic or control flow changes are introduced. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 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-31:⚠️ Potential issue | 🔴 CriticalJar filenames in Ballerina.toml will not match build outputs.
The project version is2.17.1-SNAPSHOT(gradle.properties). The build template (build-config/resources/Ballerina.toml) uses@project.version@placeholders, which expand to2.17.1-SNAPSHOT, producing jars likelog-native-2.17.1-SNAPSHOT.jar. However, ballerina/Ballerina.toml hardcodes paths referencing2.17.0.jarjars. This mismatch will break packaging and plugin resolution.Either use the templating system with
@project.version@placeholders, or ensure the hardcoded versions (2.17.0) are built and copied explicitly.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@ballerina/Ballerina.toml` around lines 15 - 31, The Ballerina.toml currently hardcodes dependency paths and filenames with version "2.17.0" (entries for artifactId "log-native", "log-compiler-plugin", "log-test-utils"), which will not match the actual build version (2.17.1-SNAPSHOT); update those dependency blocks to use the templating placeholder for the project version (replace the "2.17.0" literal in both the version and the path filenames with `@project.version`@) so the generated jar names (e.g., log-native-@project.version@.jar) match the build outputs, or alternatively change `@project.version`@ in the build template to 2.17.0 if you intend to keep building 2.17.0 — ensure the artifactId strings ("log-native", "log-compiler-plugin", "log-test-utils") remain unchanged while making the version/path dynamic and consistent with gradle.properties.
🤖 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-31: The Ballerina.toml currently hardcodes dependency paths and
filenames with version "2.17.0" (entries for artifactId "log-native",
"log-compiler-plugin", "log-test-utils"), which will not match the actual build
version (2.17.1-SNAPSHOT); update those dependency blocks to use the templating
placeholder for the project version (replace the "2.17.0" literal in both the
version and the path filenames with `@project.version`@) so the generated jar
names (e.g., log-native-@project.version@.jar) match the build outputs, or
alternatively change `@project.version`@ in the build template to 2.17.0 if you
intend to keep building 2.17.0 — ensure the artifactId strings ("log-native",
"log-compiler-plugin", "log-test-utils") remain unchanged while making the
version/path dynamic and consistent with gradle.properties.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1448 +/- ##
=========================================
Coverage 81.66% 81.66%
Complexity 108 108
=========================================
Files 10 10
Lines 731 731
Branches 156 156
=========================================
Hits 597 597
Misses 92 92
Partials 42 42 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|



Sync master after 2.17.0 release
This pull request syncs the master branch following the 2.17.0 release. The changes finalize the release by updating platform dependencies from SNAPSHOT builds to stable release versions and prepare the codebase for the next development cycle.
Key Changes:
Updated three core platform dependencies in
ballerina/Ballerina.tomlfrom version 2.17.0-SNAPSHOT to the final 2.17.0 release:Updated the compiler plugin dependency in
ballerina/CompilerPlugin.tomlfrom 2.17.0-SNAPSHOT to 2.17.0Incremented the project version in
gradle.propertiesfrom 2.17.0-SNAPSHOT to 2.17.1-SNAPSHOT to begin the next development cycleThese are routine, automated post-release synchronization updates that align dependencies with the stable release and prepare the repository for ongoing development.