Skip to content

fix(coverage): collect the shard from the workspace ext directory - #82

Merged
zeriyoshi merged 1 commit into
mainfrom
fix/coverage-workspace-capture
Jul 27, 2026
Merged

fix(coverage): collect the shard from the workspace ext directory#82
zeriyoshi merged 1 commit into
mainfrom
fix/coverage-workspace-capture

Conversation

@zeriyoshi

Copy link
Copy Markdown
Contributor

Summary

Fixes the Coverage / deploy-pages failure on main (Error: missing FNL: records in .../ubuntu-24.04-arm_8.5_cli_lcov.info).

Root cause: since #78 taught get_workspace_dir to detect the compose-mounted /workspace, pskel coverage captures into /workspace/ext/lcov.info — i.e. the host checkout's ext/lcov.info — instead of the image's /ext. The coverage job still bind-mounted an empty host file over /ext/lcov.info and shipped that untouched empty file as the shard; pskel coverage-report then correctly rejected it at merge time.

Fix: drop the touch + single-file bind mount and take the shard directly from ext/lcov.info (delivered via the standard workspace mount). Verified locally with the CI-shaped invocation: the host file contains full lcov 2.x records (FNL/FNA/FNF/FNH/DA); the new SF:/workspace/ext/... source paths resolve in the deploy-pages container through the same workspace mount.

🤖 Generated with Claude Code

Since get_workspace_dir learned to detect the compose-mounted
/workspace (#78), pskel coverage captures into /workspace/ext/lcov.info
(the host checkout) instead of the image's /ext. The coverage job still
bind-mounted an empty host file over /ext/lcov.info and shipped it as
the shard, which coverage-report rejected with "missing FNL: records".
Drop the single-file mount and take the shard from ext/lcov.info.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@zeriyoshi
zeriyoshi merged commit b46561d into main Jul 27, 2026
1 check 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