Repository navigation
test(cli): cover literal Markdown heading output - #7779
Closed
ShuaixinHuang wants to merge 1 commit into
Closed
ShuaixinHuang wants to merge 1 commit into
ShuaixinHuang wants to merge 1 commit into
Conversation
7 of 8 tasks
Codex Review SummaryThis 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. |
Contributor
[Low impact] This test-only PR appears safe to merge. SummaryAdds one regression test for literal Markdown headings through registered CLI result output.
Reviews (1) · Last reviewed commit: "test(cli): cover literal Markdown headin..." · Reviewed by Greptile |
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.
Problem and result
Resubmits the remaining regression from #7062 at the author's request, on pinned main
18a8e71c. The original production correction is already upstream; this PR contains one test file only, rather than repeating that fix or carrying historical shared CI patches.The registered CLI result-output path must retain source keys literally in Markdown headings, including HTML-like text, Markdown links/emphasis, backslashes, embedded line breaks and nested paths. The frozen input and JSON output remain unchanged. This existing regression is carried over without new runtime behavior.
Verification
Windows x64, Node 24.22.1 / npm 11.16.0, fresh locked dependencies and matching verified Windows native 6.8.0 artifact:
markdownNestedFacts.test.tsfile passed 3/3 throughnpm run test:focused, including the compiled archive-inventory Markdown/JSON case.npm run checkstopped at ordinary Knip's unchangedHexRecordRegionMetadataunused export (4/6 tasks completed). Restoring the changed test to exact clean18a8e71creproduces that sole Knip error. fix: remove unused hex record metadata type #7718 addresses this independent upstream issue; this aggregate check is not green and no unrelated cleanup is imported.git diff --checkpassed. This is deterministic CLI formatting coverage, with no external provider execution claim.The replacement is one file, 65 additions / 1 deletion. Older shared fixture repairs are already upstream or outside this test and are omitted. Hosted CI must validate this new head independently; previous #7062 results are historical.
Author readiness
Human owner: @ShuaixinHuang
The human owner explicitly confirmed review and responsibility for this PR and requested formal maintainer review in this session on 2026-10-25.
The existing initial human review declaration is retained from #7062 for this unchanged, narrowed regression and upstream refresh.
Before merge