Skip to content

Avoid repeated scans for unfinished uppercase tags (#7600) - #2332

Merged
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync
Oct 26, 2026
Merged

inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync

Conversation

@inkeep-oss-sync

Copy link
Copy Markdown
Contributor

Copybara-translated 1 Inkeep OSS change. Rebase-merge this PR so the prepared commit lands directly on public main.

* Avoid repeated scans for unfinished uppercase tags

Reuse the existing terminator index before both uppercase tag scans so blocks without a closing angle return their existing result without scanning every suffix. Preserve the quote, brace and blank-line rules. Pin four one-block shapes with native work counts and replace the bodyless known-bug todo.

* Pin unfinished quote and brace tag scan work

* Reuse unfinished tag suffix scan results

* Keep one owner for tag coverage cleanup

* Pin tag-scan output for escaped quotes and quoted braces

The suffix-end index re-implements the backslash skip inside quoted
attribute values and the quote skip inside braces. Add closed uppercase
tag cases whose expected output is the base guard's output, so dropping
either rule fails a committed test.

GitOrigin-RevId: fc489fc1292c17b07abb45c9f2839edbee244b4f
@inkeep-oss-sync
inkeep-oss-sync Bot merged commit 8fef3ef into main Oct 26, 2026
@inkeep-oss-sync
inkeep-oss-sync Bot deleted the copybara/sync branch October 26, 2026 15:15
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.

1 participant