Repository navigation
fix(windows): report unexamined bytes in shortcut item lists - #12594
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
[Low impact] The changes appear safe to merge; no actionable defects were found. SummaryFixes shortcut coverage reports when bytes remain after an early
No actionable issues found. Available Git history shows no superseding fix; open-PR overlap was not verified. Tests were not rerun. Reviews (1) · Last reviewed commit: "fix(windows): report unexamined bytes in..." · Reviewed by Greptile |
Problem
A TerminalID could appear before the end of the declared LinkTargetIDList. The parser skipped the remaining list bytes and reported complete coverage.
Change
Report partial coverage at the first unexamined byte. Preserve the earlier items and resume parsing at the declared next section. Read the header and bounded item list through the shared
BinaryReader, removing 13 direct reads from #11865. Microsoft LinkTargetIDList formatValidation
The new regression reported complete coverage on main. The fixed parser marks it partial and retains the next StringData field. All 139 focused tests passed, including compiled CLI and MCP, along with
check:fastand whitespace checks.