Repository navigation
test(sandbox): 钉住不开沙盒恢复 Pi 会话时也复制新工作目录的旧记录 - #2580
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
deepcoldy
requested review from
47seek,
LucasIcarus,
xiaoxueSunn and
xiongz-c
as code owners
October 30, 2026 05:16
deepcoldy
pushed a commit
that referenced
this pull request
Oct 30, 2026
deepcoldy
pushed a commit
to uestcwangci/botmux
that referenced
this pull request
Oct 30, 2026
…ity-recovery-2473-final 五次同步 master(eb4311607..4896715,9 提交,含 deepcoldy#2563 真机沙盒跑道/deepcoldy#2547 沙盒 四修/deepcoldy#2577 herdr 认窗格/deepcoldy#2522 失效终端入口/deepcoldy#2558 白名单沙盒/deepcoldy#2552 会话控制 页精简/deepcoldy#2570 自动更新跳过/deepcoldy#2537 沙盒文档/deepcoldy#2580 Pi 恢复复制)。与本 PR 仅 worker-pool.ts / worker.ts 文件交集(deepcoldy#2547/deepcoldy#2522/deepcoldy#2558),git 自动合并干净、 无冲突标记;PR 关键接线(codexAppTurnFailureCode 四处、!turn.error 守卫、 pool 恢复落账、worker 签名 final 失败字段、Pi boot 20s 预算)逐处 grep 仍在 原位。合并树 build 过、codex 集成/容量/engine/deployment 243 项 vitest 绿、 容量 30 + Pi argv 1 项 bun 绿。 Co-Authored-By: Claude Code <[email protected]>
deepcoldy
pushed a commit
that referenced
this pull request
Oct 30, 2026
a247797 之后 master 进 #2547/#2577/#2580/#2563/#2540。3 文件 4 块冲突人工合成: - dashboard-ipc-server.ts:import 两边都留(本 PR 的 existsSync 与 #2540 的 sandbox-network-policy import),不重复 readFileSync。 - bot-defaults-page.tsx:保留 #2540 改的 export function SandboxSection,本 PR 的 CodexIsolatedConfigInfo 同存;networkUnsupported 调用逻辑已随 master 自动取三分支。 - i18n.ts(zh/en 真语义冲突): networkRequirements 合成双方意图「需 Linux 本地 PTY 后端 + 白名单隔离沙箱」; 删掉本 PR 仍引用的旧 networkUnsupported 单 key,采用 #2540 的 networkUnsupportedPlatform/Backend/Mode 三新 key,并把其中 oncall 文案 (Mode、networkPolicyBlocksChange)按本 PR 改名同步为白名单隔离/allowlist-isolation。 zh/en 各 3959 key 完全对称、无重复。 - 补落点回归 test/session-sandbox-drift-placement.test.ts(新增):钉 SandboxDriftChip 在会话表格 status 列与看板卡片头两个主视图都接上(#2552 拆分后 易在解冲突时丢失);SessionsTableBase 改 export 供断言。删任一落点双用例分别咬红。
This was referenced Oct 30, 2026
|
@deepcoldy 合入 master 后的 Midscene E2E 失败:Feishu live Midscene 失败。 这次运行覆盖 e93ebf9…9b5544155(12 个提交),同批合入的还有 #2562 #2514 #2558 #2537 #2570 #2522 #2552 #2577 #2547 #2563 #2540,失败不一定由本 PR 引起。
|
This was referenced Oct 30, 2026
|
🚀 Released in v3.56.0 |
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.
改了什么
#2558 合入时首审留的跟进项(不阻断,双审一致):
worker.ts里 Pi 恢复前复制记录的触发条件是(sandboxRequested && !scratchRequested) || piSessionUsesBotmuxDir(sid)它的第二个分支(不开沙盒,但会话曾在沙盒下跑过、自己的目录里已有记录)没有自动化守卫。本 PR 补一条用例:
--session-dir,B 的记录已复制进自己的目录。只加测试,不改生产代码。
验证
sandboxRequested && !scratchRequested,新用例变红;还原后通过。🤖 Generated with Claude Code