Skip to content

docs: add test cases 12 and 13 to release_test.md#42

Merged
Shadow-Azure merged 2 commits into
mainfrom
docs/update-release-test-cases
Jun 19, 2026
Merged

docs: add test cases 12 and 13 to release_test.md#42
Shadow-Azure merged 2 commits into
mainfrom
docs/update-release-test-cases

Conversation

@Shadow-Azure

Copy link
Copy Markdown
Owner

添加新的测试用例来覆盖复合命令场景。

- Test 12: claude --dangerously-skip-permissions with pwd, analysis, and scrollback
- Test 13: opencode with pwd, analysis, and scrollback
@github-actions

github-actions Bot commented Jun 19, 2026

Copy link
Copy Markdown

🔒 门禁检查结果

检查项 状态
Rust 格式化 ✅ success
Rust Clippy ✅ success
Rust 测试 & 覆盖率 ✅ success
前端测试 & 覆盖率 ✅ success
Playwright E2E ✅ success
统一测试 (test.sh) ✅ success
安全检查 ✅ success

Rust 测试覆盖率

指标 覆盖率
行覆盖率 65.9%
分支覆盖率 0.0%
模块 行覆盖率
crates.cli-box-core.src.instance ███████████████████░ 99.1%
crates.cli-box-core.src.sandbox ███████████████████░ 98.8%
crates.cli-box-core.src.automation ███████████░░░░░░░░░ 58.3%
crates.cli-box-core.src.process ██████████░░░░░░░░░░ 54.7%
crates.cli-box-core.src.capture ████████████████████ 100.0%
crates.cli-box-core.src ███████████░░░░░░░░░ 55.3%
crates.cli-box-core.src.server █████████████████░░░ 87.7%
crates.cli-box-core.src.daemon ██████████░░░░░░░░░░ 50.4%

详细报告见 Rust 覆盖率 artifact

前端测试覆盖率

指标 覆盖率
行覆盖率 ███████████████░░░░░ 75.6%
分支覆盖率 65.7%
函数覆盖率 73.4%
语句覆盖率 75.0%
文件 行覆盖率
src/tests/mocks/websocket.ts ██████████████████░░ 88.0%
src/tests/mocks/xterm.ts ████████████████████ 100.0%
src/main/daemon-bridge.ts ████████░░░░░░░░░░░░ 40.0%
src/renderer/api.ts ██████████████░░░░░░ 68.2%
src/renderer/scrollback.ts ██████████████████░░ 88.9%
src/renderer/tabState.ts ████████████████████ 100.0%
src/renderer/terminalBuffer.ts ████████████████████ 100.0%

详细报告见前端覆盖率 artifact

✅ 所有检查通过,可以合入

点击 Squash and merge 合并此PR

- Update release/README.md build timestamp to 2026-06-19
- Change test cases 12 and 13 to use scrollback instead of ui-inspect for capturing pwd output
@Shadow-Azure
Shadow-Azure merged commit 965a637 into main Jun 19, 2026
7 checks passed
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.

1 participant