From 039b33ac1861dca23aa75e1465aa11c673b5e8fe Mon Sep 17 00:00:00 2001 From: mlischetti Date: Wed, 15 Jul 2026 15:13:45 -0300 Subject: [PATCH] W-23461549 fix(ci): align DataWeave versions to fix native-cli test failures 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.( 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) --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 56197e65..a6510f59 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,12 +37,12 @@ jobs: # Runs a single command using the runners shell - name: Run Build (Latest) run: | - ./gradlew --stacktrace --no-problems-report -PskipNodeTests=true -PweaveVersion=2.11.0-SNAPSHOT -PweaveTestSuiteVersion=2.11.0-SNAPSHOT -PweaveSuiteVersion=2.11.0-SNAPSHOT build + ./gradlew --stacktrace --no-problems-report -PskipNodeTests=true build shell: bash # Generate distro - name: Create Distro - run: ./gradlew --stacktrace --no-problems-report -PweaveVersion=2.11.0-SNAPSHOT -PweaveTestSuiteVersion=2.11.0-SNAPSHOT -PweaveSuiteVersion=2.11.0-SNAPSHOT native-cli:distro + run: ./gradlew --stacktrace --no-problems-report native-cli:distro shell: bash # Install Python build dependencies (setuptools/wheel may be missing on Windows runners) @@ -52,7 +52,7 @@ jobs: # Generate native-lib python wheel - name: Create Native Lib Python Wheel - run: ./gradlew --stacktrace --no-problems-report -PweaveVersion=2.11.0-SNAPSHOT native-lib:buildPythonWheel + run: ./gradlew --stacktrace --no-problems-report native-lib:buildPythonWheel shell: bash # Setup Node.js for native-lib Node package @@ -63,12 +63,12 @@ jobs: # Stage the native lib and build Node package (npm install, node-gyp, tsc, npm pack) - name: Create Native Lib Node Package - run: ./gradlew --stacktrace --no-problems-report -PweaveVersion=2.11.0-SNAPSHOT native-lib:buildNodePackage + run: ./gradlew --stacktrace --no-problems-report native-lib:buildNodePackage shell: bash # Run Node.js tests - name: Run Node.js Tests - run: ./gradlew --stacktrace --no-problems-report -PweaveVersion=2.11.0-SNAPSHOT native-lib:nodeTest + run: ./gradlew --stacktrace --no-problems-report native-lib:nodeTest shell: bash # Upload the artifact file