Skip to content

Roll up integration into dev#129

Merged
loning merged 4 commits into
devfrom
integration
Jun 18, 2026
Merged

Roll up integration into dev#129
loning merged 4 commits into
devfrom
integration

Conversation

@loning

@loning loning commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Release Notes

This rollup merges PR #128 for issue #127, adding opt-in engine-owned Lua line coverage for self-test runs.

Added

  • fkst-framework --self-test --coverage <dir> can emit Lua line coverage owned by the engine runtime.
  • Coverage output includes coverage.json and lcov.info line records for downstream coverage gates.
  • Lua chunks are mapped with stable @<owner-root-relative-path> source names so mlua line-hook hits resolve to repository files.
  • Production coverage excludes test/generated chunks and remains line-granularity only.

Notes

  • Coverage is opt-in, preserving normal self-test execution without hook overhead.
  • The final implementation keeps the line-hook hot path lightweight and fixes source mapping for the legacy department runner path.

中文简记

  • 新增 --self-test --coverage 的引擎侧 Lua 行覆盖率输出。
  • 输出 coverage.jsonlcov.info,用于后续 package 侧覆盖率门禁。
  • 覆盖率仅为 line coverage;测试文件和生成 chunk 不计入生产覆盖率。
    ⟦AI:FKST⟧

loning added 4 commits June 18, 2026 16:14
…--coverage → coverage.json + lcov.info via mlua line hook)
…rage → coverage.json + lcov.info via mlua line hook)
…rage → coverage.json + lcov.info via mlua line hook)
…oject/fkst-substrate/127/ready-github-devloop-issue-ChronoAIProject-fkst-substrate-127-intake-3945815003-0261707203

self-test: emit engine-owned Lua line coverage (--coverage → coverage.json + lcov.info via mlua line hook)
@loning loning merged commit 20047d6 into dev Jun 18, 2026
5 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