Repository navigation
fix(ci): render the queued-acknowledgement comment #8726
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
8 commits
Select commit
Hold shift + click to select a range
254b8e8
fix(ci): render the queued-acknowledgement comment
5d29984
Merge main; harden the marker guard per review
e781f47
Merge main; bring in the external-context build fix (#8693)
aff47ff
fix(ci): harden the marker guard per review round 2
ab4af89
Merge branch 'main' into fix/review-ack-comment-render
qwen-code-dev-bot 798cb71
fix(ci): widen marker-guard regex and declare known gaps per review
0259892
fix(ci): pin ack link shape and dedupe workflow scan per review
9bb5a8f
Merge branch 'main' into fix/review-ack-comment-render
qwen-code-dev-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.
[Suggestion] The URL-pin test asserts
%sand"$RUN_URL"merely co-exist on the ack line, not that the URL is woven into the markdown link — a displaced%sor marker-as-argument refactor passes both tests and re-ships the dead-link comment this PR fixes.Failure scenario: a future edit rewrites the ack line to
ACK_BODY="$(printf '%s%s' '<!-- qwen-review-ack -->' "$RUN_URL")"(marker moved out of the format into its own argument — the natural refactor, since$RUN_URLis already an argument) or moves%soutside the link parens ([workflow run]%s._). Both forms keep%sand"$RUN_URL"somewhere on the line, so the twotoContainassertions pass. Real bash confirms the output renders[workflow run]https://…with no parens / the URL glued onto the marker line — GitHub's HTML block swallows the line, the comment ships as raw source with a dead link again, and CI stays green.中文说明
URL 固定测试只断言
%s与"$RUN_URL"同时出现在 ack 行上,并未断言 URL 真的织入了 markdown 链接——一旦%s被移出链接括号、或标记被改成 printf 的独立参数,两个toContain断言仍然通过,死链评论会再次发出。失败场景:把 ack 行改写为printf '%s%s' '<!-- qwen-review-ack -->' "$RUN_URL",或把%s移出括号。bash 实测输出为[workflow run]https://…(无括号)或 URL 直接粘在标记行——GitHub 的 HTML block 吞掉整行,评论以原始文本发出且链接失效,CI 依旧全绿。建议改为断言链接形状,例如expect(ackLine).toContain('[workflow run](%s)')。— DeepSeek/deepseek-v4-flash via Qwen Code /review (v0.21.8)