Repository navigation
Fix Python coverage reports for temporary imported modules - #36999
Conversation
Code Review ✅ Approved🟡 Medium risk · Restricting coverage reports to package paths could omit legitimate measured files outside those paths and skew reported coverage. Restricts Python coverage reports to existing source-tree and installed-package paths, so temporary test modules imported under VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|



Coverage records temporary modules imported under
metadata, but those files are absent in the separate reporting job. The coverage merge succeeds and report generation then fails with a missing-source error.Restrict coverage reports to the existing source-tree and installed-package paths in
ingestion/pyproject.toml. Collection and existing exclusions are preserved, and missing application sources still fail reporting.Validated with the existing Nox/Make source-path and missing-data checks, local temporary-module reproductions, Python lint/format checks, and
git diff --check; all passed. This PR changes onlypyproject.toml.Test-tooling fix; no linked issue. No application, schema, workflow, or UI changes.