Skip to content

fix(ui): queue follow-ups after aborted turns#2374

Open
BeiZi6 wants to merge 1 commit into
esengine:v1from
BeiZi6:fix/issue-2335-abort-followup
Open

fix(ui): queue follow-ups after aborted turns#2374
BeiZi6 wants to merge 1 commit into
esengine:v1from
BeiZi6:fix/issue-2335-abort-followup

Conversation

@BeiZi6
Copy link
Copy Markdown

@BeiZi6 BeiZi6 commented May 30, 2026

What

Queue ordinary follow-up prompts submitted after a turn has already been interrupted, instead of treating them as mid-turn steering that the abort path will clear. This covers the TUI path and the attached dashboard submit bridge.

Why

Fixes #2335. After Esc/Ctrl+C aborts a running turn, the UI still briefly accepts busy-turn input. That input previously went through loop.steer(...); the abort cleanup clears the steer queue, so the first corrective prompt appeared to do nothing and the user had to send it again.

How to verify

  • npm test -- tests/turn-interrupt.test.ts
  • npx biome check src/cli/ui/App.tsx src/cli/ui/turn-interrupt.ts tests/turn-interrupt.test.ts src/i18n/types.ts src/i18n/EN.ts src/i18n/zh-CN.ts src/i18n/JA.ts src/i18n/de.ts
  • npm run typecheck
  • npm run verify

Note: npm run verify exits successfully and reports the existing src/cli/ui/PlanPanel.tsx type-only import warning, which is outside this PR.

Checklist

  • npm run verify passes locally (lint + typecheck + tests + comment-policy gate)
  • No Co-Authored-By: Claude trailer in commits
  • Comments follow CONTRIBUTING.md (no module-essay headers, no incident history)
  • No edits to CHANGELOG.md — release notes are maintainer-written at release time

@esengine esengine added the v1 Legacy TypeScript line (0.x) — v1 branch, maintenance only label May 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v1 Legacy TypeScript line (0.x) — v1 branch, maintenance only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

中止对话后,对第一次提问无反应

2 participants