Repository navigation
fix(triage): render the verify report as sanitized markdown, not an escaped pre dump #8147
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 3 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
35066bc
fix(triage): render the verify report as sanitized markdown, not an e…
47c4867
fix(triage): cap sanitized report size and use portable ERE sed (#8147)
qwen-code-ci-bot a67c6a0
fix(triage): budget fold-closer overhead against the report size cap …
qwen-code-ci-bot 09375d0
fix(triage): annotate emit_report fallbacks with distinct warnings (#…
qwen-code-ci-bot f614380
fix(triage): sanitize the verify report code-region-aware and re-coll…
qwen-code-ci-bot 289df62
fix(triage): close dangling code fences at EOF and test the sanitize-…
qwen-code-ci-bot b0ae340
fix(triage): defuse mentions with ZWSP and track HTML blocks in sanit…
qwen-code-ci-bot 7175d35
fix(triage): prose-escape code spans inside HTML blocks and widen inH…
qwen-code-ci-bot 33951c3
fix(triage): degrade to escaped fallback when a code fence is open at…
qwen-code-ci-bot c30b53f
fix(triage): fail closed on paragraph code-span and container-fence d…
qwen-code-ci-bot cea325f
fix(triage): fail closed on escaped-backtick and entity-forgery sanit…
qwen-code-ci-bot 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
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.
Declined — the premise does not hold. This test is reachable in CI:
ci.yml's "Run tests and generate reports" step runs the rootnpm run test:ci, which chains&& npm run test:scripts(package.json), and that runsvitest run --config ./scripts/tests/vitest.config.tswhose include glob coversscripts/tests/**/*.test.{js,ts}. So this file gates every full PR. Verified by running it through that exact config — 108/108 passed. Adding a separate CI job would duplicate an existing gate, so no change was made.中文说明
拒绝——前提不成立。该测试在 CI 中可达:
ci.yml的 "Run tests and generate reports" 步骤运行根级npm run test:ci,其后链式调用&& npm run test:scripts(package.json),该脚本运行vitest run --config ./scripts/tests/vitest.config.ts,其 include glob 覆盖scripts/tests/**/*.test.{js,ts}。因此本文件对每个 full PR 构成闸门。已通过该配置实际运行验证——108/108 通过。新增独立 CI 作业会重复已有闸门,故不做更改。