Repository navigation
Replies: 2 comments
|
这个复现与当前源码语义一致,也准确指出了一个 UI 可见性缺口。 当前 客户端侧的已知限制更关键:归档后的 Session 会从 workspace、Ungrouped、搜索和平铺列表全部消失;当前也没有 archived-session 查看或 unarchive 控件: 现阶段安全操作顺序建议是:
产品侧建议把语义拆清楚:
你的日志大小采样已经是很好的证据。若再附上 archive 前后的 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Summary
Archiving a conversation while its current turn is still running hides it from the active list, but the underlying turn continues without a visible running state. It is then unclear whether the task is still consuming resources, whether the final transcript will be preserved, or whether Archive is expected to stop the turn.
Reproduction
你好帮我完成一个我的世界.Observed behavior
In a local reproduction, the archived session log continued growing after the Archive action:
The newest events were still
reasoning-chunks; there was no new terminalfinish/stopevent. The generated conversation title was帮我完成我的世界任务.This confirms that the turn continued after the conversation was archived, but the UI did not expose that state.
Expected behavior
Any of these would make the lifecycle safe and understandable:
still running/archivingstate in the archived view and preserve the eventual transcript.Please document the intended semantics of archiving an active conversation and make the running/final state visible.
补充
我的操作顺序是先点“继续”,再点 Archive。我不认为 Archive 必须自动等同于 Stop;允许任务继续运行可以接受。问题是归档后会话直接从正常入口消失,我无法再查看它是否还在运行、做了什么,或者如何停止。
这次会话的后续记录如下:
interrupted结束,即归档后又继续约 24 分钟。next-stepinbox。这次只能确认:Archive 没有中止当时正在运行的任务。日志后续还有两个 turn,但触发来源无法确定,因此不把它们当作自动唤醒的证据。会话最终正常完成,inbox 为空,也没有发现相关进程遗留。
另外,Stop 也不一定让整个会话完全安静:当前
session.cancel会保留 inbox;通过run_in_background启动的 Job 由 Job 服务独立管理,不会自动执行job_kill,完成后还可能向会话投递通知。因此,如果还有后台 Job 或排队消息,“先 Stop,再 Archive”仍可能不够。结合已有的归档恢复反馈 #40、#1147、#1587,以及后台任务控制建议 #757,我觉得比较直接的改进可以是:
这次复现没有发现权限绕过、异常外联或永久孤儿进程。这里确认的是一个可见性和控制问题:会话仍在按已有权限正常工作,但用户归档后缺少入口了解它是否还在运行、做了什么,以及如何停止。
All reactions