Repository navigation
Conversation
Signed-off-by: Vamsi-klu <nrvamsi13@gmail.com>
Vamsi-klu
marked this pull request as ready for review
October 17, 2026 11:11
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.
Description
Fixes #5287.
Preserve literal SQL in GitHub plan-summary diffs, including T-SQL bracketed identifiers that Rich currently interprets as markup. A shared Markdown diff emitter captures the original text, prints it literally, and selects a fence longer than any embedded backtick sequence. It covers both model-diff emitters and environment SQL statements.
Regression coverage includes actual T-SQL models, tabs, long lines, markup-like literals, embedded fences, capture ordering, and the mocked final GitHub summary boundary.
Suggested reviewers: erindru, treysp.
Test Plan
python -m pytest tests/core/test_console.py tests/integrations/github/cicd/test_github_controller.py -q -n 0 -p no:rerunfailures: 63 passed.python -m pytest tests/integrations/github/cicd/test_integration.py -k test_merge_pr_has_non_breaking_change -q -n 0 -p no:rerunfailures: 3 passed.make styleandmake fast-testpassed on this branch.Checklist
make styleand fixed any issuesmake fast-test)git commit -s) per the DCO