qwen-code/packages
yiliang114 d951e30cfa fix: clear retry error messages promptly after auto-retry succeeds
Previously, when an auto-retry countdown elapsed and the server sent a
Retry event (without retryInfo) to signal the actual retry attempt, the
error message was not cleared because `pendingRetryCountdownItemRef` was
still set. This caused stale error messages to persist in the UI until
the user manually initiated a new request.

Additionally, when the user pressed Ctrl+Y to retry, the error was
committed to history (without hint) instead of being discarded. This was
inconsistent with the auto-retry behavior where errors are silently
cleared on success.

Changes:
- Always call clearRetryCountdown() when a Retry event without retryInfo
  is received, removing the flawed guard condition
- Remove error-to-history commit in retryLastPrompt for consistent UX
- Add test covering the countdown-elapsed retry scenario

Closes #2310

Made-with: Cursor
2026-03-12 20:43:29 +08:00
..
cli fix: clear retry error messages promptly after auto-retry succeeds 2026-03-12 20:43:29 +08:00
core Merge pull request #2315 from xuewenjie123/fix/remove-qrcode-from-oauth-progress-v2 2026-03-12 18:53:25 +08:00
sdk-java fix(core/rateLimit): add support for IdealTalk rate limit error code 1305 2026-02-28 11:05:41 +08:00
sdk-typescript feat: enhance session ID handling and error propagation 2026-02-13 21:41:38 +08:00
test-utils chore: bump version to 0.12.2 2026-03-12 10:02:48 +08:00
vscode-ide-companion Merge pull request #2298 from QwenLM/mingholy/fix/vscode-acp-error 2026-03-12 17:53:23 +08:00
web-templates chore: bump version to 0.12.2 2026-03-12 10:02:48 +08:00
webui Merge pull request #2307 from QwenLM/release/v0.12.2 2026-03-12 17:45:40 +08:00
zed-extension chore(zed-extension): update package version to 0.10.0 2026-02-06 14:26:01 +08:00