Skip to content

test: exclude the overhead benchmark from the coverage job - #7

Merged
muhammetsafak merged 1 commit into
mainfrom
test/exclude-benchmark-from-coverage
Oct 3, 2026
Merged

muhammetsafak merged 1 commit into
mainfrom
test/exclude-benchmark-from-coverage

Conversation

@muhammetsafak

Copy link
Copy Markdown
Member

PCOV instrumentation inflates wall-clock timings, so OverheadBenchmarkTest (GR-8 2% budget) flaked in the coverage job (2.01–2.06%) on CI-only changes such as #4.

  • Tag the benchmark with #[Group('benchmark')].
  • Run the coverage job (and composer test:coverage) with --exclude-group benchmark.

The uninstrumented PHP 8.2–8.4 matrix jobs (coverage: none) still run and enforce the budget.

PCOV instrumentation inflates wall-clock timings, so the GR-8 2% budget
flaked in the coverage job (2.01-2.06%) on CI-only changes. The benchmark
is now in the 'benchmark' group and excluded there; the uninstrumented PHP
matrix jobs still enforce the budget.
@muhammetsafak
muhammetsafak merged commit dd4824c into main Oct 3, 2026
9 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