mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-07 15:55:50 +00:00
|
Some checks failed
E2E Tests / E2E Test (Linux) - sandbox:docker - shard 1/3 (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:docker - shard 2/3 (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:docker - shard 3/3 (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:none - shard 1/3 (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:none - shard 2/3 (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:none - shard 3/3 (push) Waiting to run
E2E Tests / E2E Test - macOS - shard 1/2 (push) Waiting to run
E2E Tests / E2E Test - macOS - shard 2/2 (push) Waiting to run
E2E Tests / channel-plugin E2E (nightly) (push) Waiting to run
E2E Tests / cron-interactive E2E (nightly) (push) Waiting to run
E2E Tests / web-shell Browser Regression (push) Waiting to run
SDK Java / ubuntu-latest / Java 11 (push) Waiting to run
SDK Java / ubuntu-latest / Java 17 (push) Waiting to run
SDK Java / macos-latest / Java 21 (push) Waiting to run
SDK Java / ubuntu-latest / Java 21 (push) Waiting to run
SDK Java / windows-latest / Java 21 (push) Waiting to run
SDK Java / Real daemon E2E / Java 11 (push) Waiting to run
Sync cua-driver to Aliyun OSS / Mirror cua-driver binaries to Aliyun OSS (push) Has been cancelled
* feat(web-shell): run read-only info commands immediately mid-turn /stats, /about (/status) and /context were silently swallowed while a turn was streaming, because their local user echo would act as a turn boundary in applyTurnCollapse and split the active turn. Their output is a status block, which is not a turn boundary and is not counted in turn metrics, so only the echo needs to be skipped mid-turn. Add appendLocalUserEchoIfIdle, which echoes when idle and skips the echo while streaming without blocking the command, and switch these three commands to it so their results render inline immediately even during an active turn. * fix(web-shell): keep streaming assistant block intact for mid-turn info commands Address PR review. A status dispatch finalizes the active assistant block by default, so running /stats, /about or /context mid-turn would fragment the streaming answer around the status card and drop later usage frames. Add an optional clearActiveText flag to the status event and pass false from these three command dispatches, covered by reducer-level tests. Also collapse the echo gate into a single body (the new helper now delegates to appendOrDeferLocalUserMessage), add App-level wiring tests for the responding/idle behavior of /stats and /about, and surface failed getStats via reportError instead of swallowing them. * fix(web-shell): reset the echo user block when info output keeps streaming (#8496) The clearActiveText: false opt-out skipped the whole clearActiveText call, leaving the local command echo as the active user block indefinitely. A peer client's prompt echo then merged into it, corrupting turn boundaries. Keep the streaming assistant/thought block open on the opt-out path but still drop the user pointer. Also report /about load failures like /stats and /context already do, and pin the new /context wiring plus the /stats failure path with tests. * refactor(web-shell): centralize the mid-turn read-only status dispatch (#8496) Address the round-3 review feedback on the mid-turn read-only commands: - The read-only result dispatch (status block with clearActiveText: false plus the follow-resume) was copied verbatim at the /context, /stats, and /about sites, leaving the load-bearing flag enforced by convention at three places. Centralize it in one dispatchReadOnlyStatus callback next to echoLocalCommandIfIdle; the three .then bodies now call it with their serialized text. - Pin the /about catch the way the sibling /stats catch is pinned: make collectSystemInfo throw once and assert the failure surfaces through console.error instead of becoming an unhandled rejection with zero user feedback. * test: pin thought opt-out and serialized mid-turn status payloads (#8496) * refactor(web-shell): consolidate read-only command echo into echoOrDeferLocalCommand (#8496) * test(web-shell): cover /status routing and document the echo-suppression exception (#8496) --------- Co-authored-by: qwen-code-dev-bot <qwen-code-dev@service.alibaba.com> |
||
|---|---|---|
| .. | ||
| ansi.test.ts | ||
| ansi.ts | ||
| askUserPermission.test.ts | ||
| askUserPermission.ts | ||
| commandDisplay.ts | ||
| composerInputState.test.ts | ||
| composerInputState.ts | ||
| composerModels.ts | ||
| composerTag.test.ts | ||
| composerTag.ts | ||
| composerTasks.test.ts | ||
| composerTasks.ts | ||
| copyCommand.test.ts | ||
| copyCommand.ts | ||
| cssUrlVar.test.ts | ||
| cssUrlVar.ts | ||
| dialogLabels.ts | ||
| dom.ts | ||
| errorDetail.ts | ||
| escapeIntent.test.ts | ||
| escapeIntent.ts | ||
| formatRelativeTime.ts | ||
| formatRuntime.ts | ||
| formatTokenCount.ts | ||
| goalCondition.test.ts | ||
| goalCondition.ts | ||
| localCommandQueue.test.ts | ||
| localCommandQueue.ts | ||
| modelDisplay.ts | ||
| modelEncoding.test.ts | ||
| modelEncoding.ts | ||
| modelSwitchMessages.test.ts | ||
| modelSwitchMessages.ts | ||
| monitorTasks.test.ts | ||
| monitorTasks.ts | ||
| queueDrain.test.ts | ||
| queueDrain.ts | ||
| sentinelMessage.ts | ||
| sessionErrors.test.ts | ||
| sessionErrors.ts | ||
| sessionPath.test.ts | ||
| sessionPath.ts | ||
| sessionPreparation.test.ts | ||
| sessionPreparation.ts | ||
| slash-command-action.ts | ||
| slashSectionPlan.test.ts | ||
| slashSectionPlan.ts | ||
| splitUrl.test.ts | ||
| splitUrl.ts | ||
| systemInfo.ts | ||
| timeAgo.test.ts | ||
| timeAgo.ts | ||
| todos.test.ts | ||
| todos.ts | ||
| workspace.test.ts | ||
| workspace.ts | ||
| workspaceColor.test.ts | ||
| workspaceColor.ts | ||