Prevent include parsing across inline documentation tokens#1975
Open
RyanTanuki wants to merge 2 commits into
Open
Prevent include parsing across inline documentation tokens#1975RyanTanuki wants to merge 2 commits into
RyanTanuki wants to merge 2 commits into
Conversation
Collaborator
Author
|
Added commit Root cause of the first auto-heal failure:
The fingerprint is now explicitly tracked as the reconciliation record. The other reported drift, |
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.
Summary
Fixes #1974 by preventing the body-form include regex from crossing a nested <include opener.
Root cause
An inline documentation token could pair with a much later genuine closing tag. The parser returned hundreds of lines as one include path, and agentic_update._compute_include_allowlist raised OSError: [Errno 36] File name too long when constructing Path(...).
Changes
Validation
Per the requested workflow, no local test command was run; PR CI is the validation gate.