Skip to content

ci: add minimal CI and align stale turn_usage assertion with v0.4.1 - #1

Merged
KDB-Wind merged 1 commit into
mainfrom
chore/ci
Sep 6, 2026
Merged

KDB-Wind merged 1 commit into
mainfrom
chore/ci

Conversation

@KDB-Wind

@KDB-Wind KDB-Wind commented Sep 6, 2026

Copy link
Copy Markdown
Owner

What

为本仓(零依赖、无 package.json)启用极简 CI:ubuntu/windows × node 22/24 跑 node --test;顺带修 test 用例 4 的过期断言。

Why

dogfood 方案 A 首个试点:CI 落地前本地实测发现 doctor.test.mjs 用例 4 仍断言 v0.4.1 之前的语义(缺 turn_usage 表→ok:false),而 doctor.mjs 自 v0.4.1 起该检查全分支返回 ok:true(仅 warn 参考项)。不断言修复,CI 必红。

How tested

  • 本地 node v24.14.0:node --test 全绿(degrade 28 + doctor 8)
  • CI 矩阵验证待跑(本 PR 的 checks)

Checklist

  • commit 信息符合 conventional commits
  • diff 自查过,无调试残留
  • 本地测试全绿
  • 合并方式:Squash and merge

@KDB-Wind
KDB-Wind merged commit d626ee4 into main Sep 6, 2026
4 checks passed
@KDB-Wind
KDB-Wind deleted the chore/ci branch September 6, 2026 12:42
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