Repository navigation
fix(parser): keep literal 0x1e/0x1f bytes as word data #3022
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
f97261f
fix(parser): keep literal 0x1e/0x1f bytes as word data
chaliy 3e336c9
fix(deps): cap markkit below 0.3.2 to hold the 1.96 consumer floor
chaliy 9e04a0d
fix(parser): keep marker bytes in extglob bodies and ${...} backslash…
chaliy 3e7b5e0
fix(parser): keep marker bytes in extglob quoted spans and continuati…
chaliy 864da2d
fix(parser): stop the literal sentinel leaking out of an ANSI-C span
chaliy 7bc3317
test(parser): pin the pre-existing brace sentinel leak in ANSI-C oper…
chaliy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[P2] Unrelated change in a parser-fix PR: the markkit/markkit-cli
<0.3.2MSRV cap has nothing to do with0x1e/0x1fhandling, is not mentioned in the PR description, and expands the blast radius (dependency resolution for every consumer). Please split it into its own PR or justify it here; per repo guidance PRs should stay small and unrelated changes preserved out.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed on the principle — this does belong in its own PR, and I raised the same objection myself before adding it. Two corrections and the reason it is here:
It is in the PR description. There is a dedicated "Note on the
Rust 1.96 consumer (all)failure" section covering the cause, the evidence and the trade-off. It was added at 10:24 UTC, before this review at 10:33, so the claim that it is unmentioned is out of date.It is not optional for this PR.
markkit0.3.2 was published today 04:57 UTC (0.3.3 at 05:57) and moved frommail-parser ^0.11to^1.0; everymail-parser1.x declaresrust-version = 1.98. Themsrvjob resolves a fresh consumer while ignoring this repo'sCargo.lock— by design, to catch exactly this drift — so it pickedmarkkit 0.3.3→mail-parser 1.0.2and threeRust 1.96 consumer (*, all)jobs went red. Verified it is not this diff:mainat 03:06 UTC, before 0.3.2 existedscripts/check-msrv-consumer.py --profile allfails identically on an unmodified checkout:error: rustc 1.96.0 is not supported ... mail-parser@1.0.2 requires rustc 1.98cargo checkon 1.96.0 in 3m52sSo red CI here was not this PR's doing, but leaving it red would have blocked the merge and
main's next run would have hit the same wall.Blast radius is narrower than it looks.
Cargo.lockis unchanged — it already pinned 0.3.1 — so only fresh resolution is constrained and the graph the audit andcargo denysee is identical.markkitis optional and off by default, which is why only theallprofile was affected.markkit-cliis capped in lockstep becausemarkkit-cli0.3.3 requiresmarkkit ^0.3.3.The alternative is raising the consumer floor to 1.98, which drops Rust 1.96/1.97 consumers;
AGENTS.mdsays to preserve that floor, so this takes the conservative option.Leaving this thread open: splitting it out needs a second branch, and this session may only push to
eve/clever-mccarthy-y66s6i. Maintainer's call whether to split it, keep it, or swap it for a floor bump.Generated by Claude Code