Skip to content

chore: bump version to 0.4.2#54

Merged
Shadow-Azure merged 1 commit into
mainfrom
chore/bump-0.4.2
Jul 19, 2026
Merged

chore: bump version to 0.4.2#54
Shadow-Azure merged 1 commit into
mainfrom
chore/bump-0.4.2

Conversation

@Shadow-Azure

Copy link
Copy Markdown
Owner

Problem

Need a version bump to release the Linux headless glyph-clipping fix (#53). Current version 0.4.1 is the latest published release.

Solution

Patch bump 0.4.1 → 0.4.2 (bugfix-only since v0.4.1):

  • Cargo.toml (workspace version) → 0.4.2
  • electron-app/package.json0.4.2
  • release.sh VERSION0.4.2
  • Cargo.lock resynced (it was stale at 0.3.0)

Contents of v0.4.2 vs v0.4.1:

Release trigger plan (after this merges)

Per the established pattern (tag on the bump commit + publish GitHub Release), once this lands on main I will:

  1. Tag v0.4.2 on the merged bump commit, push the tag.
  2. Publish GitHub Release v0.4.2 → triggers release.yml via release: published, which runs the full pipeline: macOS build (cli-box / cli-box-daemon / CLI Box.app / dmg / skill tarball) + Linux headless build + npm publish (cli-box-darwin-arm64, cli-box-linux-x64, cli-box-skill, …).

Note: triggering via workflow_dispatch would build + upload artifacts but skip npm publish (those steps are gated on github.event_name == 'release'), so the publish-Release path is required for a complete release.

Test Plan

  • Version bump only — no code change; full suite was green on fix(capture): Linux headless 截图中 ASCII 字母被裁成上半部分 #53 (core 166 + cli 33 + integration suites, clippy/fmt clean)
  • cargo check -p cli-box-core -p cli-box-cli -p cli-box-daemon rebuilds cleanly at 0.4.2
  • Cargo.lock resynced (cli-box-cli/core/daemon = 0.4.2)
  • CI green on this PR
  • After merge: v0.4.2 GitHub Release published → release.yml + npm publish succeed

🤖 Generated with Claude Code

Patch release for the Linux headless screenshot glyph-clipping fix
(#53): ASCII letters were rendered at half height because the baseline
offset divided by units_per_em instead of height_unscaled. Also resyncs
Cargo.lock (was stale at 0.3.0).

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🔒 门禁检查结果

检查项 状态
Rust 格式化 ✅ success
Rust Clippy ✅ success
Rust 测试 & 覆盖率 ✅ success
前端测试 & 覆盖率 ✅ success
Playwright E2E ✅ success
统一测试 (test.sh) ✅ success
安全检查 ✅ success
发布模拟验证 ✅ success
升级流程测试 ✅ success
cli-box-skill 单元测试 ✅ success

Rust 测试覆盖率

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

详细报告见 Rust 覆盖率 artifact

前端测试覆盖率

指标 覆盖率
行覆盖率 ████████████████░░░░ 78.0%
分支覆盖率 70.4%
函数覆盖率 74.2%
语句覆盖率 77.5%
文件 行覆盖率
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/screenshotSync.ts ████████████████████ 100.0%
src/renderer/scrollback.ts ██████████████████░░ 88.9%
src/renderer/tabState.ts ████████████████████ 100.0%
src/renderer/terminalBuffer.ts ████████████████████ 100.0%

详细报告见前端覆盖率 artifact

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

点击 Squash and merge 合并此PR

@Shadow-Azure
Shadow-Azure merged commit 15b1c2b into main Jul 19, 2026
14 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