Repository navigation
ci: tests 徽章动态对齐(badge job 进 CI)+ 徽章刷到当前 1242 - #273
Merged
Merged
Conversation
- ci.yml 新增 badge job:push 到 main 时复用发版线的 badge:sync (脚本自带「测试不绿不刷徽章」),数字不再只在发版时追平 - 双 README 徽章手工跑一次 badge:sync:1176 → 1242(当前真实值)
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository: slow-stack/dsh-mneme/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
modusensus
added a commit
that referenced
this pull request
Sep 21, 2026
modusensus
added a commit
that referenced
this pull request
Sep 21, 2026
* chore: v0.8.6 发布准备(版本号 + 测试徽章 + CHANGELOG/路线图占位行) 请在 CHANGELOG 与两个 README 的占位行补描述后再合并。 * chore(release): v0.8.6 发布说明与路线图补齐 CHANGELOG 的 [Unreleased] 转为 v0.8.6 小节,并补上三份未登账的改动: 工具暴露开关与描述纪律(#276)、蒸馏游标持久化(#229/#274)与旧宿主降级路径 (#279)、能力说明第 5 条文案精确性(#277)、CI 与徽章口径收敛(#281/#273/#272)。 两个 README 的 v0.8.6 占位行补描述(版本历史 + 路线图),测试徽章与注释数按 badge:sync 对齐到 1275。 --------- Co-authored-by: modusensus <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #272 observation 1: the tests badge was hand-written and had drifted (1176 vs actual 1242).
badgejob: on push to main it reuses the release pipeline'sbadge:sync(script runs the full suite and refuses to update the badge on a red run — fail-closed), then commits the two READMEs if changed. Number now tracks every push instead of drifting between releases. Idempotent: zero commits when already in sync. Runs only on main pushes (PRs can't write back to the base branch anyway).badge:syncrun once: badge 1176 → 1242 (current real count), so the next CI run should be a no-op.contents: write; workflow-level stayscontents: read(least privilege, same shape as release.yml's badge job).Summary by CodeRabbit
CI 与自动化
文档