mirror of
https://github.com/TriliumNext/Trilium.git
synced 2026-10-12 02:09:59 +00:00
- The share theme runs in a step of its own with `--coverage`, which its config fails below 100%, and uploads coverage and test results to Codecov under a new `share-theme` flag. - The server and standalone configs fail below 100% for `packages/trilium-core/src/share/**`, plus `apps/server/src/share/**` and standalone's `lightweight/share_provider.ts`. Each runner has to reach it on its own. - `codecov.yml` adds a `share` project status at 100% over every share path, on the merged coverage. The server's coverage never contained core: Vitest matches a file outside the root by its absolute path, which the relative `../../packages/trilium-core/src/**` include never matched, so Codecov showed core at 0% for the `server` flag. The include is now absolute. The run also prints PARSE_ERROR noise for untested core files, as standalone already did; it does not fail the run. The developing-share-pages skill describes the gate and the mocking trap behind the spies. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>