qwen-code/.github/workflows
qqqys acc46e58cb
fix(autofix): give the repair pass a budget it can finish in (#9691)
* fix(autofix): give the repair pass a budget it can finish in

The repair attempt ran on a hardcoded 18-minute agent budget while the
primary attempt gets 120 minutes from a configurable default. Raise the
repair budget to 45 minutes and carry the step and job caps that bound it.

The repair attempt is handed strictly less to work with than the primary
one: a deterministic rejection is an opaque check failure, not the
structured review feedback the primary attempt receives, so it must first
re-derive which change caused the rejection before it can amend anything.
Giving that 15% of the primary budget inverted the difficulty and the
allowance.

Measured on four takeover PRs over nine rounds on 2026-08-21: the primary
attempt reported `Autofix agent completed address-review successfully.` in
9 of 9 rounds, and the repair attempt hit `timeout (1080000ms)` in 9 of 9.
Every one of those rounds discarded work the primary attempt had already
finished — on #9340 a completed `origin/main` conflict resolution across
three files with two mutation probes and `vitest run src/commands/review/`
green at 97 files / 4335 tests. Three such rounds tripped
TIMEOUT_WINDOW_CAP and parked the PR at its round cap with
`autofix/needs-human`.

The rejections themselves were a mix — a flaky unrelated test (#9648), a
genuine defect in the PR, and a scope violation — so this is not a
substitute for fixing any one of them. It is the step they all funnel
through: whatever the gate rejects on, the repair attempt has to be able
to finish before the round can push.

Carried bounds, each preserving its documented margin:

- repair step cap 20m → 55m (budget + the same 10-minute margin the
  primary attempt keeps, so the internal kill path still writes
  `agent-timeout` before the step cap fires)
- review-address job cap 300m → 330m (the four long steps now sum to 305m
  plus the 25m setup/report reserve)
- PENDING_STALE_MIN 330 → 360 (its 30-minute margin over the job cap, so a
  live review-address run is never aged out mid-flight)

45 minutes is deliberately a fraction of the primary budget: a repair that
cannot land in 45m is a handoff, not a longer retry.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VgTjRF91xANQh6SY9YGyCf

* fix(autofix): carry the raised repair bounds through sibling prose

* fix(autofix): revert design-record edits outside this PR's footprint (#9691)

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: qwen-code-dev-bot <qwen-code-dev-bot@users.noreply.github.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-08-23 00:32:36 +00:00
..
.size-baseline fix(ci): record qwen-autofix.yml's shipped size in the workflow size baseline (#9747) 2026-08-22 17:57:38 +00:00
assign-issue-owner.yml feat(ci): auto-assign issues to area owners from labels (#8668) 2026-08-08 23:01:03 +00:00
audio-capture-prebuilds.yml Upgrade GitHub Actions for Node 24 compatibility (#5157) 2026-07-07 12:17:22 +00:00
auto-minimize-spam.yml fix(ci): minimize new spam comments on creation (#9266) 2026-08-17 05:12:04 +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 chore(cua-driver): sync upstream v0.17.0 (#8564) 2026-08-05 07:00:36 +00:00
cd-mobile-mcp.yml chore(ci): Drop NPM_TOKEN in favor of npm Trusted Publishing (#9552) 2026-08-20 08:31:41 +00:00
ci.yml test(ci): stage on-disk session state in the serve A/B (#9444) 2026-08-20 14:09:03 +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: route trusted-author fork PRs and no-checkout jobs to the ECS pool (#8502) 2026-08-04 03:48:24 +00:00
desktop-release.yml fix(desktop): bridge Electron users on Windows and Linux (#9079) 2026-08-13 15:42:31 +00:00
docs-page-action.yml ci: route trusted-author fork PRs and no-checkout jobs to the ECS pool (#8502) 2026-08-04 03:48:24 +00:00
dsw-swe-verified-release.yml feat: chain Terminal-Bench release evaluation (#9120) 2026-08-17 05:53:06 +00:00
e2e.yml chore(ci): Add security hygiene: CODEOWNERS for release workflows, least-privilege permissions, security checks and Scorecard (#9008) 2026-08-14 01:22:53 +00:00
finalize-release.yml chore(ci): Disable install scripts in release CI and guard security-checks workflow (#9577) 2026-08-21 03:48:03 +00:00
live-host-release.yml fix(ci): restore Live Host release mirroring (#8917) 2026-08-11 07:08:26 +00:00
live-host.yml refactor(cli): Generalize the Conversations runtime foundation (#8890) 2026-08-14 02:33:24 +00:00
main-ci-failure-issue.yml ci: route trusted-author fork PRs and no-checkout jobs to the ECS pool (#8502) 2026-08-04 03:48:24 +00:00
npm-cache.yml fix(ci): avoid root-owned npm cache workspace files (#8669) 2026-08-07 07:08:34 +00:00
pr-force-push-reminder.yml ci: route trusted-author fork PRs and no-checkout jobs to the ECS pool (#8502) 2026-08-04 03:48:24 +00:00
pr-self-report-label.yml feat(autofix): escalate stopped takeover PRs and age out unanswered pauses (#8960) 2026-08-15 17:32:23 +00:00
qwen-autofix-fork-bridge.yml feat(autofix): bridge fork-PR reviews into the credentialed review lane (#8676) 2026-08-07 16:11:48 +00:00
qwen-autofix-fork-signal.yml fix(ci): gate the fork signal on fields the review payload delivers (#9469) 2026-08-22 18:47:00 +00:00
qwen-autofix-round-seed.md docs(autofix): correct the round-seed guide on leading whitespace (#9663) 2026-08-21 16:06:48 +00:00
qwen-autofix.md chore(ci): migrate autofix prose to the design record and ratchet growth (#9677) 2026-08-22 16:31:56 +00:00
qwen-autofix.yml fix(autofix): give the repair pass a budget it can finish in (#9691) 2026-08-23 00:32:36 +00:00
qwen-ci-flaky-rerun.yml ci: bump qwen-code-action to 05f8171 (skip redundant install, surface install errors) (#8444) 2026-08-03 08:41:46 +00:00
qwen-code-pr-review.yml fix(review): stop the fallback comment from firing on superseded runs (#9716) 2026-08-22 15:38:34 +00:00
qwen-fleet-shepherd.yml fix(ci): stop counting wedged queued runs as in-flight in the shepherd (#9518) 2026-08-20 13:37:22 +00:00
qwen-issue-followup-bot.yml fix(ci): stop dropping agent settings in resolve and follow-up workflows (#9252) 2026-08-16 03:27:00 +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 ci: route trusted-author fork PRs and no-checkout jobs to the ECS pool (#8502) 2026-08-04 03:48:24 +00:00
qwen-triage.yml docs(ci): the ECS pool does run containers — correct two comments that say it does not (#9575) 2026-08-21 06:38:43 +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 chore(ci): Drop NPM_TOKEN in favor of npm Trusted Publishing (#9552) 2026-08-20 08:31:41 +00:00
release-vscode-companion.yml ci(vscode): gate sync publish on RELEASE_VSCODE_SYNC_PUBLISH variable (#9132) 2026-08-14 06:32:59 +00:00
release.yml chore(ci): Disable install scripts in release CI and guard security-checks workflow (#9577) 2026-08-21 03:48:03 +00:00
repo-hygiene.yml fix(ci): route workflow label mutations through REST (#8761) 2026-08-09 15:05:15 +00:00
scorecard-monthly.yml chore(ci): Add security hygiene: CODEOWNERS for release workflows, least-privilege permissions, security checks and Scorecard (#9008) 2026-08-14 01:22:53 +00:00
sdk-java.yml ci(sdk-java): drop the shared Maven toolchains.xml before setup-java on self-hosted runners (#9090) 2026-08-13 12:20:28 +00:00
sdk-python.yml chore(ci): Add security hygiene: CODEOWNERS for release workflows, least-privilege permissions, security checks and Scorecard (#9008) 2026-08-14 01:22:53 +00:00
security-checks.yml chore(deps): Clear high-severity CVE baseline and harden the security gate (#9584) 2026-08-21 07:43:32 +00:00
serve-ab-publish.yml ci: route trusted-author fork PRs and no-checkout jobs to the ECS pool (#8502) 2026-08-04 03:48:24 +00:00
serve-ab.yml test(ci): stage on-disk session state in the serve A/B (#9444) 2026-08-20 14:09:03 +00:00
stale.yml ci: route trusted-author fork PRs and no-checkout jobs to the ECS pool (#8502) 2026-08-04 03:48:24 +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-desktop-to-oss.yml fix(desktop): harden release pipeline (#9009) 2026-08-12 16:38:12 +00:00
sync-live-host-to-oss.yml fix(ci): restore Live Host release mirroring (#8917) 2026-08-11 07:08:26 +00:00
sync-release-to-oss.yml Upgrade GitHub Actions for Node 24 compatibility (#5157) 2026-07-07 12:17:22 +00:00
update-ecs-runner-qwen.yml ci: add hk ECS runners to update matrix (#8599) 2026-08-05 16:57:08 +00:00
web-shell-visuals-cleanup.yml ci: route trusted-author fork PRs and no-checkout jobs to the ECS pool (#8502) 2026-08-04 03:48:24 +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
windows-runner-smoke.yml ci: run Windows merge queue tests on ECS (#8386) 2026-08-05 12:14:42 +00:00