Skip to content

[Automated] Sync master after 1.19.0 release#793

Merged
niveathika merged 7 commits intomasterfrom
release-1.19.0
Mar 31, 2026
Merged

[Automated] Sync master after 1.19.0 release#793
niveathika merged 7 commits intomasterfrom
release-1.19.0

Conversation

@ballerina-cicd-bot
Copy link
Copy Markdown
Contributor

@ballerina-cicd-bot ballerina-cicd-bot commented Mar 31, 2026

Sync master after 1.19.0 release

Summary

This pull request synchronizes the master branch with changes from the 1.19.0 release cycle. The changes focus on dependency management, version updates, and release documentation.

Changes

Dependency Resolution: Updated references to released build artifacts in configuration files by replacing SNAPSHOT versions with corresponding release versions in Ballerina.toml and CompilerPlugin.toml.

Version Management: Incremented the project version from 1.19.0-SNAPSHOT to 1.19.1-SNAPSHOT in gradle.properties to reflect the next development cycle. Updated dependency versions for the observe and url libraries to maintain compatibility with the latest compatible versions.

Dependency Compatibility: Adjusted dependency versions in Dependencies.toml to align with the release requirements.

Release Documentation: Added changelog entry for version 1.19.0 documenting the addition of observability metrics for SQL connection pools.

All changes are configuration and metadata updates with minimal code review effort required. No changes to exported or public entity declarations were made.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 31, 2026

📝 Walkthrough

Walkthrough

This PR updates dependency paths and versions across Ballerina configuration files. SNAPSHOT artifact references are converted to release versions in Ballerina.toml and CompilerPlugin.toml. Ballerina dependency versions in Dependencies.toml and gradle.properties are adjusted, and a changelog entry is added for version 1.19.0.

Changes

Cohort / File(s) Summary
Snapshot to Release Conversion
ballerina/Ballerina.toml, ballerina/CompilerPlugin.toml
Updated platform.java21 SQL dependencies and compiler plugin artifact paths from SNAPSHOT JAR versions to release JAR versions.
Dependency Version Updates
ballerina/Dependencies.toml, gradle.properties
Updated Ballerina stdlib dependency versions: observe downgraded to 1.5.0 and upgraded to 1.5.1 across files, url upgraded to 2.6.1; project version incremented to 1.19.1-SNAPSHOT.
Release Documentation
changelog.md
Added version 1.19.0 release entry dated 2026-03-31 with observability metrics for SQL connection pools feature.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • Update versions #792: Modifies the same SQL dependency paths in Ballerina.toml, CompilerPlugin.toml, and version properties across configuration files.

Suggested reviewers

  • shafreenAnfar
  • RDPerera
  • Nuvindu

Poem

🐰 Hops through the gradle files with glee,
SNAPSHOT to release, wild and free!
Dependencies hop to their latest tune,
Version bumps dance beneath the moon. 🌙✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description 'Sync master after 1.19.0 release' is minimal and lacks the structured information required by the template (Purpose/Fixes, Examples, Checklist sections). Expand the description to follow the template structure: add a Purpose section explaining the release synchronization, note that the changelog was updated, and complete the checklist items as applicable.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title '[Automated] Sync master after 1.19.0 release' clearly describes the main objective of the PR: synchronizing the master branch after a release, which aligns with the actual changes (version bumps, dependency updates, and release notes).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release-1.19.0

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

niveathika
niveathika previously approved these changes Mar 31, 2026
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 31, 2026

CLA assistant check
All committers have signed the CLA.

@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@ballerina/Ballerina.toml`:
- Around line 19-22: The artifact paths in the TOML are pinned to 1.19.0 (the
two entries containing "sql-native-1.19.0.jar" and "sql-test-utils-1.19.0.jar")
which will fail on this branch; update those path values to match the branch
snapshot (e.g., replace "1.19.0" with "1.19.1-SNAPSHOT") or switch to a
non-versioned/globbed artifact name used by your Gradle build so the expected
jars exist in build/libs during CI.

In `@ballerina/CompilerPlugin.toml`:
- Line 6: The path value in CompilerPlugin.toml currently points to
sql-compiler-plugin-1.19.0.jar which mismatches the project version
1.19.1-SNAPSHOT; update the path string on the line with path =
"../compiler-plugin/build/libs/sql-compiler-plugin-1.19.0.jar" to reference the
actual build artifact (e.g., sql-compiler-plugin-1.19.1-SNAPSHOT.jar) or use a
stable selector (such as the wildcarded/shorthand artifact name produced by the
build) so the compiler plugin resolves the local ../compiler-plugin/build/libs
output correctly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 54ee6d52-8052-4026-94b0-6951677c1412

📥 Commits

Reviewing files that changed from the base of the PR and between bb6dbbe and 1fa8240.

📒 Files selected for processing (5)
  • ballerina/Ballerina.toml
  • ballerina/CompilerPlugin.toml
  • ballerina/Dependencies.toml
  • changelog.md
  • gradle.properties

Comment thread ballerina/Ballerina.toml
Comment on lines +19 to +22
path = "../native/build/libs/sql-native-1.19.0.jar"

[[platform.java21.dependency]]
path = "../test-utils/build/libs/sql-test-utils-1.19.0-SNAPSHOT.jar"
path = "../test-utils/build/libs/sql-test-utils-1.19.0.jar"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Artifact path version mismatch can break snapshot builds

On Line 19 and Line 22, paths are pinned to 1.19.0 jars, but this branch is already on 1.19.1-SNAPSHOT. With default Gradle jar naming, these files may not exist in build/libs during normal master builds.

Proposed fix
-path = "../native/build/libs/sql-native-1.19.0.jar"
+path = "../native/build/libs/sql-native-1.19.1-SNAPSHOT.jar"
...
-path = "../test-utils/build/libs/sql-test-utils-1.19.0.jar"
+path = "../test-utils/build/libs/sql-test-utils-1.19.1-SNAPSHOT.jar"
📝 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.

Suggested change
path = "../native/build/libs/sql-native-1.19.0.jar"
[[platform.java21.dependency]]
path = "../test-utils/build/libs/sql-test-utils-1.19.0-SNAPSHOT.jar"
path = "../test-utils/build/libs/sql-test-utils-1.19.0.jar"
path = "../native/build/libs/sql-native-1.19.1-SNAPSHOT.jar"
[[platform.java21.dependency]]
path = "../test-utils/build/libs/sql-test-utils-1.19.1-SNAPSHOT.jar"
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@ballerina/Ballerina.toml` around lines 19 - 22, The artifact paths in the
TOML are pinned to 1.19.0 (the two entries containing "sql-native-1.19.0.jar"
and "sql-test-utils-1.19.0.jar") which will fail on this branch; update those
path values to match the branch snapshot (e.g., replace "1.19.0" with
"1.19.1-SNAPSHOT") or switch to a non-versioned/globbed artifact name used by
your Gradle build so the expected jars exist in build/libs during CI.


[[dependency]]
path = "../compiler-plugin/build/libs/sql-compiler-plugin-1.19.0-SNAPSHOT.jar"
path = "../compiler-plugin/build/libs/sql-compiler-plugin-1.19.0.jar"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Compiler plugin jar path likely mismatched with snapshot artifact name

Line 6 references sql-compiler-plugin-1.19.0.jar, but current project version is 1.19.1-SNAPSHOT; this can fail when resolving local build outputs from ../compiler-plugin/build/libs.

Proposed fix
-path = "../compiler-plugin/build/libs/sql-compiler-plugin-1.19.0.jar"
+path = "../compiler-plugin/build/libs/sql-compiler-plugin-1.19.1-SNAPSHOT.jar"
📝 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.

Suggested change
path = "../compiler-plugin/build/libs/sql-compiler-plugin-1.19.0.jar"
path = "../compiler-plugin/build/libs/sql-compiler-plugin-1.19.1-SNAPSHOT.jar"
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@ballerina/CompilerPlugin.toml` at line 6, The path value in
CompilerPlugin.toml currently points to sql-compiler-plugin-1.19.0.jar which
mismatches the project version 1.19.1-SNAPSHOT; update the path string on the
line with path = "../compiler-plugin/build/libs/sql-compiler-plugin-1.19.0.jar"
to reference the actual build artifact (e.g.,
sql-compiler-plugin-1.19.1-SNAPSHOT.jar) or use a stable selector (such as the
wildcarded/shorthand artifact name produced by the build) so the compiler plugin
resolves the local ../compiler-plugin/build/libs output correctly.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.36%. Comparing base (bb6dbbe) to head (1fa8240).
⚠️ Report is 8 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #793   +/-   ##
=========================================
  Coverage     78.36%   78.36%           
  Complexity      109      109           
=========================================
  Files            44       44           
  Lines          3962     3962           
  Branches        634      634           
=========================================
  Hits           3105     3105           
  Misses          594      594           
  Partials        263      263           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@niveathika niveathika merged commit 06da5f3 into master Mar 31, 2026
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants