[Automated] Sync master after 1.1.0 release#200
Conversation
📝 WalkthroughWalkthroughUpdates dependency and version configurations across the project. Releases jaeger extension from SNAPSHOT to stable version 1.1.0, adds log package dependency (2.11.0), updates io and observe package versions, updates distribution version, and increments project version to 1.1.1-SNAPSHOT. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 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.
Actionable comments posted: 2
🤖 Fix all issues with AI agents
In `@ballerina/Ballerina.toml`:
- Around line 26-30: The Ballerina.toml dependency uses the wrong native
artifact name and version; update the path string
"../native/build/libs/jaeger-extension-native-1.1.0.jar" and the version value
"1.1.0" to the actual native artifact name and version
"jaeger-extension-native-1.1.1-SNAPSHOT.jar" and "1.1.1-SNAPSHOT" respectively
so the [[platform.java21.dependency]] entry (path, artifactId =
"jaeger-extension-native", version) matches the native/build.gradle produced
artifact.
In `@ballerina/Dependencies.toml`:
- Around line 6-9: The auto-generated ballerina/Dependencies.toml has
distribution-version "2201.11.0" that conflicts with gradle.properties'
ballerinaLangVersion=2201.12.0 and with
ballerina-tests/jaeger-server-tests/Dependencies.toml; investigate the
generation source (the script or Gradle task that writes Dependencies.toml),
update it to read the canonical version from gradle.properties
(ballerinaLangVersion) or the centralized version variable, then regenerate
Dependencies.toml so distribution-version matches 2201.12.0 (or intentionally
document why it should differ) and ensure all other generated Dependencies.toml
files (e.g., in ballerina-tests/jaeger-server-tests) are produced from the same
source/version to restore consistency.
| [[platform.java21.dependency]] | ||
| path = "../native/build/libs/jaeger-extension-native-1.1.0-SNAPSHOT.jar" | ||
| path = "../native/build/libs/jaeger-extension-native-1.1.0.jar" | ||
| groupId = "ballerina" | ||
| artifactId = "jaeger-extension-native" | ||
| version = "1.1.0-SNAPSHOT" | ||
| version = "1.1.0" |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Locate where the native artifact name/version is set
find . -path ./.* -prune -o -type f \( -name "build.gradle" -o -name "build.gradle.kts" -o -name "gradle.properties" \) -print | grep native | head -20
echo "---"
# Search for native build configuration
find . -path ./.* -prune -o -type d -name "native" -print | head -5
echo "---"
# Check gradle.properties for version
if [ -f gradle.properties ]; then
echo "=== Root gradle.properties ==="
grep -n "version" gradle.properties
fi
echo "---"
# Find native-specific gradle files
find . -name "*.gradle*" -path "*/native/*" -type f | head -10Repository: ballerina-platform/module-ballerinax-jaeger
Length of output: 420
🏁 Script executed:
# Check for native build configuration and version references
rg -l "jaeger-extension-native" --type-list --type gradle 2>/dev/null | head -10
rg "jaeger-extension-native|archiveBaseName|version\s*=" --type gradle -A 2 -B 2 | head -50Repository: ballerina-platform/module-ballerinax-jaeger
Length of output: 1830
🏁 Script executed:
# Look for native build.gradle or build.gradle.kts
find . -path "*/native/*" -name "build.gradle*" -type f -exec cat -n {} +Repository: ballerina-platform/module-ballerinax-jaeger
Length of output: 6528
Update jar path and version to match native artifact naming.
The native artifact's version is set to project.version (native/build.gradle:122), which is 1.1.1-SNAPSHOT. The jar will be built as jaeger-extension-native-1.1.1-SNAPSHOT.jar, but Ballerina.toml hardcodes 1.1.0. Update the path and version to 1.1.1-SNAPSHOT to match the actual native artifact.
🤖 Prompt for AI Agents
In `@ballerina/Ballerina.toml` around lines 26 - 30, The Ballerina.toml dependency
uses the wrong native artifact name and version; update the path string
"../native/build/libs/jaeger-extension-native-1.1.0.jar" and the version value
"1.1.0" to the actual native artifact name and version
"jaeger-extension-native-1.1.1-SNAPSHOT.jar" and "1.1.1-SNAPSHOT" respectively
so the [[platform.java21.dependency]] entry (path, artifactId =
"jaeger-extension-native", version) matches the native/build.gradle produced
artifact.
| [ballerina] | ||
| dependencies-toml-version = "2" | ||
| distribution-version = "2201.12.0" | ||
| distribution-version = "2201.11.0" | ||
|
|
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
rg -n "distribution-version|ballerinaLangVersion|distribution\s*=" -SRepository: ballerina-platform/module-ballerinax-jaeger
Length of output: 1227
🏁 Script executed:
cat -n ballerina/Dependencies.toml | head -20Repository: ballerina-platform/module-ballerinax-jaeger
Length of output: 703
🏁 Script executed:
cat -n gradle.properties | head -25Repository: ballerina-platform/module-ballerinax-jaeger
Length of output: 1175
Investigate version mismatch in auto-generated Dependencies.toml.
The distribution-version in ballerina/Dependencies.toml is 2201.11.0, while gradle.properties declares ballerinaLangVersion=2201.12.0. Since Dependencies.toml is auto-generated (per its header comment), the concern is why the generation process creates a mismatched version. Additionally, ballerina-tests/jaeger-server-tests/Dependencies.toml declares 2201.12.0, creating inconsistency across the project. Verify whether this mismatch is intentional or if the version alignment needs to be corrected at the generation source.
🤖 Prompt for AI Agents
In `@ballerina/Dependencies.toml` around lines 6 - 9, The auto-generated
ballerina/Dependencies.toml has distribution-version "2201.11.0" that conflicts
with gradle.properties' ballerinaLangVersion=2201.12.0 and with
ballerina-tests/jaeger-server-tests/Dependencies.toml; investigate the
generation source (the script or Gradle task that writes Dependencies.toml),
update it to read the canonical version from gradle.properties
(ballerinaLangVersion) or the centralized version variable, then regenerate
Dependencies.toml so distribution-version matches 2201.12.0 (or intentionally
document why it should differ) and ensure all other generated Dependencies.toml
files (e.g., in ballerina-tests/jaeger-server-tests) are produced from the same
source/version to restore consistency.
Overview
This pull request synchronizes the main branch after the 1.1.0 release by finalizing release artifacts and updating dependencies to maintain consistency across the codebase.
Changes
Release Finalization
1.1.0-SNAPSHOTto1.1.0in the platform Java21 configurationDependency Updates
iopackage from version 1.8.0 to 1.7.0observepackage from version 1.6.0 to 1.4.0logpackage (version 2.11.0) as a new dependency with its own module dependenciesVersion Bump for Next Development Cycle
Impact
These changes align the main branch with the released 1.1.0 version while incorporating updated transitive dependencies and preparing the codebase for future development.