Skip to content

Exclude CLI poller from patch coverage accounting - #130

Merged
TheWitness merged 1 commit into
developfrom
fix/cli-poller-coverage-accounting
Nov 9, 2026
Merged

TheWitness merged 1 commit into
developfrom
fix/cli-poller-coverage-accounting

Conversation

@somethingwithproof

Copy link
Copy Markdown
Member

Summary

The patch-coverage gate cannot associate eval-loaded unit-test function lines with poller_mikrotik.php. The poller is a CLI entry point with top-level bootstrap and process exits, so it cannot be safely loaded in the isolated unit process.

Add it to the existing explicit unmeasured-file allowlist with this limitation documented. The collector regression behavior remains exercised by the focused Pest tests.

Related: #126

Fixes #129

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
@somethingwithproof
somethingwithproof force-pushed the fix/cli-poller-coverage-accounting branch from 4cef52f to f3cb266 Compare November 9, 2026 03:36
@sonarqubecloud

sonarqubecloud Bot commented Nov 9, 2026

Copy link
Copy Markdown

@TheWitness
TheWitness merged commit 821b7eb into develop Nov 9, 2026
7 checks passed
@TheWitness
TheWitness deleted the fix/cli-poller-coverage-accounting branch November 9, 2026 14:59
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.

Exclude the CLI poller from source-line coverage accounting

2 participants