Skip to content

chore(ui-mac): REQ-088 T7 — remove unmounted session-spike/ dead code (#502) - #517

Merged
jinjunnn merged 1 commit into
alphafrom
req088-t7-spike-cleanup
Jul 23, 2026
Merged

jinjunnn merged 1 commit into
alphafrom
req088-t7-spike-cleanup

Conversation

@jinjunnn

Copy link
Copy Markdown
Owner

父票 #181(REQ-088)· CODE 子票 #502 · T7 清理。删除 T5(#500)翻转后已成孤儿的 REQ-087 session-spike 探针目录。

变更

  • 删 packages/ui-mac/src/renderer/alpha-ui/session-spike/(6 文件:session-spike-host.tsx / spike-flag.ts / spike-probe-core.ts + 3 test)——[REQ-088][CODE] flip session release-state to alpha + drop localStorage double-gate + remove spike/release gate #500 删掉 SessionSpikeHost 挂载 + localStorage 双闸后,整目录无生产 importer,纯死代码。
  • 更新 alpha-session-workspace.tsx 顶部过时注释(「仍留在 session-spike/(T7 统一清理)」→ 已删)。
  • 保留 session-workspace test 的 not.toContain("SessionSpikeHost"|"isSessionSpikeEnabled"|"ALPHA_SESSION_SPIKE") 反回归守卫。

验证

零行为变更(无生产 importer)。worktree 唯一测试红 = solid-js 子进程解析(符号链接假红),base(origin/alpha)同款红,clean-checkout CI 复验。

Fixes #502

🤖 Generated with Claude Code

…#502)

The REQ-087 session-spike probe (SessionSpikeHost + spike-flag + spike-probe-core)
became an unmounted orphan once T5 (#500) flipped the default session surface to
Alpha and removed the spike host mount + localStorage double-gate. Delete the whole
session-spike/ directory (6 files) and refresh the stale "T7 统一清理" comment in
alpha-session-workspace.tsx. The anti-regression not.toContain guards in the
session-workspace test stay as the ratchet against reintroduction.

No behavior change (the directory had no production importer). Verified vs base
fail-set: the sole worktree test failure (solid-js subprocess resolution) is
pre-existing on origin/alpha; clean-checkout CI verifies.

Fixes #502

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jinjunnn
jinjunnn merged commit 4f81918 into alpha Jul 23, 2026
6 checks passed
@jinjunnn
jinjunnn deleted the req088-t7-spike-cleanup branch July 23, 2026 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[REQ-088][CODE] session-spike/ cleanup after T5

1 participant