W-23461549 fix(ci): align DataWeave versions to fix native-cli test failures#123
Merged
Merged
Conversation
…ailures The CI steps pinned -PweaveVersion / -PweaveTestSuiteVersion / -PweaveSuiteVersion to 2.11.0-SNAPSHOT but never overrode ioVersion, which gradle.properties sets to 2.12.0-20260408. As a result process-module (via ioVersion) resolved at 2.12.0 while runtime (via weaveVersion) resolved at 2.11.0-SNAPSHOT, so NativeProcessModule loaded against an incompatible runtime and failed with: NoSuchMethodError: 'void org.mule.weave.v2.model.types.ArrayType.<init>( org.mule.weave.v2.model.values.Value)' failing 6 :native-cli:test tests on every scheduled run since gradle.properties was bumped to the 2.12.0 line (de0207a, 2026-05-06). The 2.11.0-SNAPSHOT pins were stale leftovers. Drop them from all gradlew steps so every dependency resolves to the unified gradle.properties defaults (2.12.0), matching the "Run Build (Latest)" intent. Verified locally: old command -> 6 failed; new command -> 15/15 passed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
martincousido
approved these changes
Jul 15, 2026
mlischetti
added a commit
that referenced
this pull request
Jul 16, 2026
The rebase onto master preserved this branch's own ci.yml rework, which still carried the stale -PweaveVersion/-PweaveTestSuiteVersion/-PweaveSuiteVersion= 2.11.0-SNAPSHOT overrides that master's #123 (W-23461549) removed. Left as-is those overrides would shadow the onboarded fix and reintroduce the process-module (2.12.0) vs runtime (2.11.0-SNAPSHOT) mismatch that fails :native-cli:test. Drop the overrides from all gradlew steps so dependencies resolve to the unified gradle.properties defaults (2.12.0). Keeps this branch's other ci.yml change (dropping the dwlib.dylib upload path). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
mlischetti
added a commit
that referenced
this pull request
Jul 16, 2026
The rebase onto master preserved this branch's own ci.yml rework, which still carried the stale -PweaveVersion/-PweaveTestSuiteVersion/-PweaveSuiteVersion= 2.11.0-SNAPSHOT overrides that master's #123 (W-23461549) removed. Left as-is those overrides would shadow the onboarded fix and reintroduce the process-module (2.12.0) vs runtime (2.11.0-SNAPSHOT) mismatch that fails :native-cli:test. Drop the overrides from all gradlew steps so dependencies resolve to the unified gradle.properties defaults (2.12.0). Keeps this branch's other ci.yml change (dropping the dwlib.dylib upload path). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
mlischetti
added a commit
that referenced
this pull request
Jul 16, 2026
The rebase onto master preserved this branch's own ci.yml rework, which still carried the stale -PweaveVersion/-PweaveTestSuiteVersion/-PweaveSuiteVersion= 2.11.0-SNAPSHOT overrides that master's #123 (W-23461549) removed. Left as-is those overrides would shadow the onboarded fix and reintroduce the process-module (2.12.0) vs runtime (2.11.0-SNAPSHOT) mismatch that fails :native-cli:test. Drop the overrides from all gradlew steps so dependencies resolve to the unified gradle.properties defaults (2.12.0). Keeps this branch's other ci.yml change (dropping the dwlib.dylib upload path). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
mlischetti
added a commit
that referenced
this pull request
Jul 16, 2026
The rebase onto master preserved this branch's own ci.yml rework, which still carried the stale -PweaveVersion/-PweaveTestSuiteVersion/-PweaveSuiteVersion= 2.11.0-SNAPSHOT overrides that master's #123 (W-23461549) removed. Left as-is those overrides would shadow the onboarded fix and reintroduce the process-module (2.12.0) vs runtime (2.11.0-SNAPSHOT) mismatch that fails :native-cli:test. Drop the overrides from all gradlew steps so dependencies resolve to the unified gradle.properties defaults (2.12.0). Keeps this branch's other ci.yml change (dropping the dwlib.dylib upload path). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The scheduled
CI Native CLIworkflow fails on:native-cli:test(6 failures) with:Root cause
The CI steps pinned
-PweaveVersion/-PweaveTestSuiteVersion/-PweaveSuiteVersionto2.11.0-SNAPSHOTbut never overrodeioVersion, whichgradle.propertiessets to2.12.0-20260408. Soprocess-module(viaioVersion) resolved at 2.12.0 whileruntime(which providesArrayType, viaweaveVersion) resolved at 2.11.0-SNAPSHOT —NativeProcessModuleloaded against an incompatible runtime.The
2.11.0-SNAPSHOTpins were stale leftovers from beforegradle.propertieswas bumped to the 2.12.0 line (de0207a, 2026-05-06). The build has failed on every scheduled run since.Fix
Drop the stale version overrides from all
gradlewsteps so every dependency resolves to the unifiedgradle.propertiesdefaults (2.12.0), matching the "Run Build (Latest)" intent.Verification (local, against real Mule artifacts)