Repository navigation
fix(queue): 允许取消等待中的立即发送消息 - #965
Merged
Merged
Conversation
Keep promoted inputs removable while they wait for the active turn and report rejected graceful stops. Reserve only the input being delivered so runtime IO does not block unrelated queue actions. Record acceptance before durable cleanup to avoid acknowledging a cancellation after execution. Retain queue records on storage failure and retry accepted-input cleanup without replay in the live host. Refs vastsa#877
zszz3
marked this pull request as ready for review
September 23, 2026 13:41
vastsa
added a commit
that referenced
this pull request
Sep 23, 2026
- ADR 0255: mention devkit author-time check (#944) - 08-component-spec: cross-reference SVG file-only classification (#969) - e2e-test-plan: register E2E-ATTACHMENTS-svg-file-fallback scenario (#969) - zh-CN 08-component-spec: mirror SVG exclusion rule (#969) - zh-CN 09-interaction-patterns: add §3.4 queued send with promoted-row cancel semantics (#965)
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题与改动
关联 #877:执行 A 时,将排队消息 B 设为“立即发送”会锁住删除按钮;如果停止请求没有生效,B 会一直显示“即将发送”,无法取消。
验证
候选提交:
f88f3e7a3244904e9063cf09fa00d5118ce91d40基线:
fd03cf0a345bd4114ea3bca84c4dc6678ff5266b(vastsa/main)通过:
pnpm build:jspnpm --filter @pi-desktop/desktop typecheckpnpm lintpnpm test:e2e:composer-paste:完整 Composer 提交、会话切换及附件回归通过pnpm check:pr-base --base upstream/main、git diff --check环境:macOS arm64,独立 worktree、临时 E2E profile,复用主工作区 Electron 43.6.0,无真实模型调用。上游升级运行时至 0.87.1,本地旧版 0.86.1 不兼容,已按锁文件更新依赖后重新验证。
origin指向个人 fork,基线检查使用实际 PR 目标upstream/main,没有混入 fork 的额外提交。范围与限制