Skip to content

W-23461549 fix(ci): align DataWeave versions to fix native-cli test failures#123

Merged
mlischetti merged 1 commit into
masterfrom
fix/ci-weave-version-mismatch
Jul 15, 2026
Merged

W-23461549 fix(ci): align DataWeave versions to fix native-cli test failures#123
mlischetti merged 1 commit into
masterfrom
fix/ci-weave-version-mismatch

Conversation

@mlischetti

Copy link
Copy Markdown
Contributor

Problem

The scheduled CI Native CLI workflow fails on :native-cli:test (6 failures) with:

NoSuchMethodError: 'void org.mule.weave.v2.model.types.ArrayType.<init>(org.mule.weave.v2.model.values.Value)'

Root cause

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. So process-module (via
ioVersion) resolved at 2.12.0 while runtime (which provides ArrayType, via weaveVersion) resolved at 2.11.0-SNAPSHOT — NativeProcessModule loaded against an incompatible runtime.

The 2.11.0-SNAPSHOT pins were stale leftovers from before gradle.properties was 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 gradlew steps so every dependency resolves to the unified gradle.properties defaults (2.12.0), matching the "Run Build (Latest)" intent.

Verification (local, against real Mule artifacts)

  • Old command → 9 passed / 6 failed
  • New command → 15/15 passed

…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>
@mlischetti
mlischetti requested a review from a team as a code owner July 15, 2026 18:20
@mlischetti
mlischetti merged commit cdc6e65 into master Jul 15, 2026
3 checks passed
@mlischetti
mlischetti deleted the fix/ci-weave-version-mismatch branch July 15, 2026 18:36
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>
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.

2 participants