Skip to content

fix(mutation): 校验语义输入并复用根版本变更基线 - #220

Merged
yourtion merged 1 commit into
mainfrom
fix/mutation-cache-semantic-inputs
Oct 23, 2026
Merged

yourtion merged 1 commit into
mainfrom
fix/mutation-cache-semantic-inputs

Conversation

@yourtion

Copy link
Copy Markdown
Owner

原手写缓存白名单无法自动覆盖新辅助输入,完整根 package.json 又让纯版本修改失效。本地直接调用 Stryker 也可能误用依赖/helper 变化前的报告。按已合入的 mutation-testing-ts 0.3.0 统一输入清单与 guard。

本地与 CI 共用 schema 3 基线 guard,报告和 sidecar 配对缓存;完整保留 dep/devDep/peer/optional、锁文件、实际直接安装依赖和运行环境。源码、测试、helper、fixture、配置等语义变化保守重测,普通 PR 只读,只有成功 main 保存 v3 基线。 保留 ISLIB=1,并在计算 key 和执行前保持环境一致。

仅规范化经审核的根 version;指向该精确 manifest realpath 的 workspace 自引用同样规范化。依赖声明、实际其他包版本和 lock 均保留。

验证:

  • 604 个原始测试通过;真实 utils 子集根版本修改复用 1/1,逐变异状态与 fresh full 一致,workspace 自引用未造成假失效。
  • 输入/配对报告/force/新增删除回归通过,脚本与 skill 实现一致。
  • skill 137 项测试及真实 dep/devDep 升降级验证通过。
  • 完整范围以本 PR CI 为准;首次成功 main 负责建立 v3 基线。

@codecov

codecov Bot commented Oct 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.86%. Comparing base (66d265f) to head (30b6459).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #220   +/-   ##
=======================================
  Coverage   99.86%   99.86%           
=======================================
  Files          28       28           
  Lines        2962     2962           
  Branches      913      913           
=======================================
  Hits         2958     2958           
  Misses          4        4           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@yourtion
yourtion merged commit 7fa51de into main Oct 23, 2026
9 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