Skip to content

Python: Post-process XsltInjection test appropriately - #22745

Merged
tausbn merged 1 commit into
mainfrom
tausbn/python-xslt-test-provenance
Oct 2, 2026
Merged

tausbn merged 1 commit into
mainfrom
tausbn/python-xslt-test-provenance

Conversation

@tausbn

@tausbn tausbn commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Without this, any change to the models might cause the provenance to change spuriously.

Without this, any change to the models might cause the provenance to
change spuriously.
@tausbn tausbn added the no-change-note-required This PR does not need a change note label Oct 2, 2026
@github-actions github-actions Bot added the Python label Oct 2, 2026
@tausbn
tausbn marked this pull request as ready for review October 2, 2026 13:08
@tausbn
tausbn requested a review from a team as a code owner October 2, 2026 13:08
Copilot AI balanced review requested due to automatic review settings October 2, 2026 13:08

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 post-processing order matches established tests and preserves inline-expectation validation.

Review effort: Balanced
Findings: None

What changed in this PR

Adds stable provenance post-processing to the XSLT injection test, preventing model changes from causing spurious failures.

Changes:

  • Runs model normalization before inline-expectation validation.
  • Updates the generated expected output accordingly.
File Description
XsltInjection.qlref Configures both required post-processors.
XsltInjection.expected Records normalized provenance output.

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

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

:shipit:

@tausbn
tausbn merged commit 0e7b41d into main Oct 2, 2026
12 checks passed
@tausbn
tausbn deleted the tausbn/python-xslt-test-provenance branch October 2, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-change-note-required This PR does not need a change note Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants