Skip to content

fix(quality): raise .coverage-baseline to the value actually measured on development - #39

Merged
rubenvdlinde merged 1 commit into
developmentfrom
fix/raise-coverage-baseline
Aug 4, 2026
Merged

fix(quality): raise .coverage-baseline to the value actually measured on development#39
rubenvdlinde merged 1 commit into
developmentfrom
fix/raise-coverage-baseline

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

What

Raises .coverage-baseline from 79.28 to 79.70, closing the
Coverage Baseline Check failure on development.

Why the first value was slightly wrong

79.28 was taken from clover.xml in the most recent coverage-report
artifact
at the time — which was a pull_request run of a different branch,
not development. Recency is not provenance: coverage-report is uploaded by
every run with PHPUnit enabled, on any branch, and nothing inside the file says
which branch produced it.

source statements covered ratio
the artifact I read (a PR run of another branch) 3 373 2 674 79.28%
run 30925522964, push, development, sha 5489cb4e 3 448 2 748 79.70%

75 statements apart — a small gap, but the ratchet is an exact-equality check
(update-baseline succeeds only when the recomputed value leaves the file
unchanged), so "close" fails. That strictness is the point.

The value here is read from the artifact of the push run on development at
the current head sha
, verified via .workflow_run.head_branch and
.workflow_run.head_sha rather than by being newest.

Related

Coverage Baseline Protection accepts any value that does not LOWER the
baseline, so this raise passes the PR-side gate.

…opment

79.28 came from the most recent coverage-report artifact, which was a
pull_request run of a different branch: 3373 statements against
development's 3448. Recency is not provenance.

79.70 (2748/3448) comes from run 30925522964 - push, development, sha
5489cb4 - verified by the artifact's workflow_run.head_branch and
head_sha. The ratchet is an exact-equality check, so 'close' fails.
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/portaliq @ 70e39a0

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
build
check-specs
check-manifest
composer ✅ 100/100
npm ✅ 871/871
PHPUnit
Newman
Playwright

Quality workflow — 2026-08-04 19:36 UTC

Download the full PDF report from the workflow artifacts.

@rubenvdlinde
rubenvdlinde merged commit 991f7f5 into development Aug 4, 2026
33 of 35 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