Skip to content

fix: gate memtable exports to unix - #84

Merged
wyeth93 merged 1 commit into
mainfrom
agent/pulsing-windows-fallback-20261130
Nov 30, 2026
Merged

wyeth93 merged 1 commit into
mainfrom
agent/pulsing-windows-fallback-20261130

Conversation

@wyeth93

@wyeth93 wyeth93 commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator

问题

0.1.4 发布工作流的 Windows 构建在 probing-memtable 0.2.5 中失败,涉及 std::os::fd、libc::kill、shm_open 和 shm_unlink 等 Unix 专用接口。

修改

  • 仅在 cfg(unix) 下构建 probing-memtable 依赖。
  • 保留现有 Unix actor/member/metrics/span 实现文件不变。
  • 在非 Unix 构建中通过独立 fallback.rs 保持原有核心控制流和公开调用签名,span exporter 返回正常完成。
  • 准备 0.1.5 版本,避免复用已创建的 v0.1.4 发布标签。

验证

  • cargo fmt --all -- --check 通过。
  • 本机 pulsing-actor 完整 lib 测试:271 passed、0 failed。
  • Windows 交叉检查不再出现 probing-memtable 错误;随后在 ring 的 C 标准库头文件处受本机环境阻断,因此仍需本 PR 的真实 Windows 构建确认。
  • 未删除 Windows 发布任务,也未降低测试断言。

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
python/pulsing/__init__.py 78.02% <100.00%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@wyeth93
wyeth93 merged commit a11fa24 into main Nov 30, 2026
27 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.

2 participants