Skip to content

C++: Improve test stability when models are added - #22467

Merged
jketema merged 1 commit into
github:mainfrom
jketema:jketema/test-stable
Aug 31, 2026
Merged

C++: Improve test stability when models are added#22467
jketema merged 1 commit into
github:mainfrom
jketema:jketema/test-stable

Conversation

@jketema

@jketema jketema commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Without the additional filtering test results may change when new models are added (whether those are relevant for this test or not).

Without the additional filtering test results may change when new
models are added (whether those are relevant for this test or not).
Copilot AI balanced review requested due to automatic review settings August 31, 2026 08:11
@jketema
jketema requested a review from a team as a code owner August 31, 2026 08:11

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.

Copilot review overview

🟢 Approval recommended

The focused change follows established C++ test patterns and correctly stabilizes model references.

Review tier: Balanced
Findings: None

What changed in this PR

Stabilizes the C++ non-constant-format query test against unrelated model additions.

Changes:

  • Adds model pretty-printing before inline-expectation processing.
  • Updates the generated expected output with stable model identifiers.
File Description
NonConstantFormat.qlref Configures model normalization.
NonConstantFormat.expected Records normalized test output.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@andersfugmann andersfugmann 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.

LGTM

@jketema
jketema merged commit 973d5b5 into github:main Aug 31, 2026
7 of 10 checks passed
@jketema
jketema deleted the jketema/test-stable branch August 31, 2026 08:29
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.

3 participants