Skip to content

DO NOT MERGE: Unified: test JSON data extension conversion preserves all tuples - #23100

Closed
nickrolfe wants to merge 3 commits into
mainfrom
nickrolfe/json-data-extensions-unified-test
Closed

nickrolfe wants to merge 3 commits into
mainfrom
nickrolfe/json-data-extensions-unified-test

Conversation

@nickrolfe

Copy link
Copy Markdown
Contributor

No description provided.

@nickrolfe
nickrolfe requested a review from a team as a code owner November 11, 2026 13:06
Copilot AI auto review requested due to automatic review settings November 11, 2026 13:06
@nickrolfe
nickrolfe marked this pull request as draft November 11, 2026 13:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The production-pack change lacks the requested DCA results and assessment of changed alerts or regressions, while the tuple-enumeration test does not provide equivalent real-database evidence.

1 open issue
What changed in this PR

Migrates Unified model-extension fixtures from YAML to JSON and adds coverage verifying preservation of all legacy source, sink, and summary model tuples.

Changes:

  • Enables JSON model-extension discovery in the Unified library pack.
  • Converts legacy Swift, MaD, and dataflow model extensions to JSON.
  • Adds exhaustive model enumeration query results covering the converted tuples.
File Description
unified/​ql/​test/​modelconversion/​EnumerateModels.ql Enumerates legacy source, sink, and summary model tuples for conversion verification.
unified/​ql/​test/​modelconversion/​EnumerateModels.expected Records the expected complete set of enumerated model tuples.
unified/​ql/​test/​modelconversion/​Empty.swift Provides the empty Swift fixture used by the model-conversion test.
unified/​ql/​test/​library-tests/​mad/​test.ext.yml Removes the YAML MaD test extension fixture in favor of its JSON representation.
unified/​ql/​test/​library-tests/​mad/​test.ext.json Provides the JSON MaD test extension fixture.
unified/​ql/​test/​library-tests/​dataflow/​test.ext.yml Removes the YAML dataflow test extension fixture in favor of its JSON representation.
unified/​ql/​test/​library-tests/​dataflow/​test.ext.json Provides the JSON dataflow test extension fixture.
unified/​ql/​lib/​qlpack.yml Enables loading JSON model extensions in the Unified library pack.
unified/​ql/​lib/​ext/​legacy-swift.model.yml Removes the YAML legacy Swift model extension in favor of JSON.

Review effort: Lite (auto)

Comment thread unified/ql/lib/qlpack.yml
codeql/util: ${workspace}
dataExtensions:
- ext/*.model.yml
- ext/*.model.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants