qwen-code/.github/workflows
Shaojin Wen c003e17181
fix(autofix): answer every review thread, resolve the ones actually fixed (#7758)
* fix(autofix): answer every review thread, resolve the ones actually fixed

Two gaps made a handled finding look unhandled on #7731.

A finding the bot declined, deferred, or escalated keeps its thread open,
but its reason was recorded only in the round summary — a separate
comment. The reviewer who opens that thread sees their finding answered
by silence. The agent now writes comment-replies.json and the push step
posts each reason as a reply on that finding's own thread, leaving the
thread open. Replies are neutralised like the summary body, since a
reply is model output posted verbatim under the bot identity.

Resolution was also keyed on "did I edit a file this round", so a
Critical an earlier commit had already fixed stayed open and read as
unaddressed. Key it on the finding being resolved in the code, which
covers a prior commit's fix the agent re-verified still holds.

* style: apply prettier to the new review-reply test

* test(autofix): update stale escape-site comment from five to six sites

* fix(autofix): reply at thread roots and guard the reply id, per review (#7758)

Address the maintainer review on the in-thread reply mechanism:

- Map each reply to its thread's top-level comment before posting. The
  feedback step lists every review comment, replies included, so an rc:<id>
  can be a reply id; GitHub rejects a reply aimed at another reply, which
  would have left escalated findings answered by silence. Hoist the threads
  GraphQL fetch above both the resolve and reply blocks so a reply-only
  round still has it, and fall back to the id as given past the page cap.
- Skip any id already present in resolved-comments.txt so a finding is never
  both resolved and replied to; the match tolerates the rc: prefix and a
  trailing CR like the resolve block's own parsing.
- Mutation-verify the previously untested ^[0-9]+$ id guard (the boundary
  between a model-authored id and an arbitrary API path), the -f body= field
  name, the type=="array" skip, and the new cross-check.

---------

Co-authored-by: wenshao <wenshao@example.com>
2026-07-26 23:39:13 +00:00
..
audio-capture-prebuilds.yml Upgrade GitHub Actions for Node 24 compatibility (#5157) 2026-07-07 12:17:22 +00:00
build-and-publish-image.yml Upgrade GitHub Actions for Node 24 compatibility (#5157) 2026-07-07 12:17:22 +00:00
cd-cua-driver.yml fix(mcp): add opt-in model payload filtering (#7413) 2026-07-21 09:49:04 +00:00
cd-mobile-mcp.yml fix(mcp): add opt-in model payload filtering (#7413) 2026-07-21 09:49:04 +00:00
ci.yml test(triage): regression-guard the triage workflow, and make the git cleanup an allowlist (#7660) 2026-07-24 11:02:19 +00:00
codeql.yml Upgrade GitHub Actions for Node 24 compatibility (#5157) 2026-07-07 12:17:22 +00:00
comment-attachment-guard.yml ci: add suspicious comment attachment guard (#6599) 2026-07-10 09:40:54 +00:00
desktop-release.yml fix(ci): avoid oversized desktop release notes (#6792) 2026-07-13 03:25:21 +00:00
docs-page-action.yml Upgrade GitHub Actions for Node 24 compatibility (#5157) 2026-07-07 12:17:22 +00:00
e2e.yml ci: quarantine cron-interactive from push E2E to nightly-only (#6986) 2026-07-15 17:18:28 +00:00
finalize-release.yml ci(release): finalize stable releases asynchronously (#6868) 2026-07-15 00:30:51 +00:00
gemini-scheduled-pr-triage.yml Upgrade GitHub Actions for Node 24 compatibility (#5157) 2026-07-07 12:17:22 +00:00
main-ci-failure-issue.yml feat(release): generate AI-assisted release notes (#6756) 2026-07-12 13:00:22 +00:00
pr-force-push-reminder.yml ci(autofix): run agents on dedicated ECS runners (#6207) 2026-07-03 07:40:07 +00:00
pr-self-report-label.yml ci: label a PR that closes an issue its own author opened (#7630) 2026-07-24 05:50:47 +00:00
qwen-autofix.yml fix(autofix): answer every review thread, resolve the ones actually fixed (#7758) 2026-07-26 23:39:13 +00:00
qwen-ci-flaky-rerun.yml fix(ci): stop a slow patrol classifier from killing every flaky rerun (#7358) 2026-07-21 02:33:51 +00:00
qwen-code-pr-review.yml fix(ci): serialise the two workflows that push to a PR head branch (#7392) 2026-07-21 07:40:56 +00:00
qwen-fleet-shepherd.yml feat(autofix): label-driven takeover and release; fix forced-dispatch green no-op (#7165) 2026-07-19 07:35:13 +00:00
qwen-issue-followup-bot.yml fix(ci): consolidate issue triage ownership (#7180) 2026-07-19 10:58:40 +00:00
qwen-pr-safety-precheck.yml Upgrade GitHub Actions for Node 24 compatibility (#5157) 2026-07-07 12:17:22 +00:00
qwen-triage-finalize.yml fix(ci): rename triage status marker to avoid duplicate-guard collision (#7723) 2026-07-26 15:51:22 +00:00
qwen-triage.yml fix(ci): rename triage status marker to avoid duplicate-guard collision (#7723) 2026-07-26 15:51:22 +00:00
release-sdk-java.yml fix(sdk-java): Harden daemon transport reliability (#7603) 2026-07-24 04:22:05 +00:00
release-sdk-python.yml Upgrade GitHub Actions for Node 24 compatibility (#5157) 2026-07-07 12:17:22 +00:00
release-sdk.yml fix(ci): skip empty SDK release PR (#6861) 2026-07-14 13:19:42 +00:00
release-vscode-companion.yml fix(ci): add retry logic to VSCode IDE Companion publish steps (#6574) 2026-07-09 09:54:27 +00:00
release.yml ci: move release-note classifier from per-PR workflow to release-time batch (#7339) 2026-07-20 23:52:09 +00:00
sdk-java.yml fix(sdk-java): Harden daemon transport reliability (#7603) 2026-07-24 04:22:05 +00:00
sdk-python.yml Upgrade GitHub Actions for Node 24 compatibility (#5157) 2026-07-07 12:17:22 +00:00
serve-ab-publish.yml ci(serve): daemon A/B before/after preview on response-surface PRs (#6975) 2026-07-16 00:58:52 +00:00
serve-ab.yml ci(serve): daemon A/B before/after preview on response-surface PRs (#6975) 2026-07-16 00:58:52 +00:00
stale.yml Upgrade GitHub Actions for Node 24 compatibility (#5157) 2026-07-07 12:17:22 +00:00
sync-cua-driver-to-oss.yml Upgrade GitHub Actions for Node 24 compatibility (#5157) 2026-07-07 12:17:22 +00:00
sync-release-to-oss.yml Upgrade GitHub Actions for Node 24 compatibility (#5157) 2026-07-07 12:17:22 +00:00
terminal-bench.yml Upgrade GitHub Actions for Node 24 compatibility (#5157) 2026-07-07 12:17:22 +00:00
update-ecs-runner-qwen.yml fix(ci): update qwen in the runner's active npm prefix (#7689) 2026-07-24 19:11:41 +00:00
web-shell-visuals-cleanup.yml feat(web-shell): auto-post visual previews (screenshots + flow GIFs) on PRs (#6880) 2026-07-15 06:48:52 +00:00
web-shell-visuals-publish.yml fix(ci): don't let one failing scenario sink the whole visual preview (#7511) 2026-07-23 02:34:07 +00:00
web-shell-visuals.yml fix(ci): don't let one failing scenario sink the whole visual preview (#7511) 2026-07-23 02:34:07 +00:00