W-23595942: Migrate integration tests to the TCK artifact - #141
Merged
Conversation
martincousido
approved these changes
Jul 27, 2026
…ifact Migrate native-cli-integration-tests from the three test@zip artifacts (runtime, yaml-module, core-modules) to the DataWeave runtime's new tck@zip artifact, available in 2.13.0-SNAPSHOT and 2.12.2-SNAPSHOT. TCK scenarios are pre-expanded and self-contained, so the CLI test no longer manipulates the AST. - build.gradle: pull runtime + yaml-module + core-modules as tck@zip (was three test@zip); drop the parser dependency (no longer needed); load each zip by its natural <module>-<ver>-tck.zip name. - gradle.properties: supported versions -> 2.13.0-SNAPSHOT / 2.12.2-SNAPSHOT; drop support for < 2.12. - TCKCliTest.scala: remove all AST manipulation (CodeGenerator, MappingParser, output-directive rewriting); run transform.dwl directly; read encoding from the `encoding` sidecar file when present; keep the original listFiles accept filters (single non-in/out dwl, inX/outX-config.properties, groovy, config.properties); collapse the version-conditional ignoreTests (2.4-2.10 no longer supported) into a single list whose entries are the full <scenario>-out.<ext> directory names that acceptScenario matches on. - main.yml: regression steps run 2.12.2-SNAPSHOT and 2.13.0-SNAPSHOT (was 2.9.8 / 2.10.0); master-only gating unchanged. Validated: native-cli-integration-tests:test -> 709 passed, 0 failed on both 2.13.0-SNAPSHOT and 2.12.2-SNAPSHOT. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
mlischetti
force-pushed
the
tck-cli-migration
branch
from
July 27, 2026 15:47
9ed8c6f to
01b71a2
Compare
martincousido
approved these changes
Jul 27, 2026
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.
What
Migrates
native-cli-integration-testsfrom the threetest@zipartifacts (runtime, yaml-module, core-modules) to the DataWeave runtime's newtck@zipartifact, available in 2.13.0-SNAPSHOT and 2.12.2-SNAPSHOT.TCK scenarios are pre-expanded and self-contained, so the CLI test no longer manipulates the DataWeave AST.
Changes
build.gradle— pullruntime+yaml-module+core-modulesastck@zip(was threetest@zip); drop theparserdependency (no longer needed); load each zip by its natural<module>-<ver>-tck.zipname.gradle.properties— supported versions →2.13.0-SNAPSHOT/2.12.2-SNAPSHOT; drop support for < 2.12.listFilesaccept filters (single non-in/out dwl, inX/outX-config.properties, groovy, config.properties); collapse the version-conditionalignoreTests(2.4–2.10 no longer supported) into a single list whose entries are the full<scenario>-out.<ext>directory names thatacceptScenariomatches on..github/workflows/main.yml— regression steps run 2.12.2-SNAPSHOT and 2.13.0-SNAPSHOT (was 2.9.8 / 2.10.0); master-only gating unchanged.Testing
native-cli-integration-tests:testagainst the compileddwbinary:🤖 Generated with Claude Code