Skip to content

fix: install Xdebug in CI so header assertions run - #18

Merged
HafizMMoaz merged 2 commits into
mainfrom
fix/ci-failures
Jul 22, 2026
Merged

fix: install Xdebug in CI so header assertions run#18
HafizMMoaz merged 2 commits into
mainfrom
fix/ci-failures

Conversation

@HafizMMoaz

Copy link
Copy Markdown
Member

The test job on main was failing with 8 errors.

CookieTest, RequestTest and ResponseTest assert on sent headers via xdebug_get_headers(), but CI installed pcov, so the function was undefined. Switched coverage to xdebug and set xdebug.mode="develop,coverage".

Note: two assertion failures in this suite (961 is identical to 953 and a string mismatch) were downstream of the missing headers; this PR verifies whether they clear once Xdebug is present.

🤖 Generated with Claude Code

HafizMMoazand others added 2 commits July 22, 2026 16:19
The `test` job on main was failing with 8 errors.
`CookieTest`, `RequestTest` and `ResponseTest` assert on sent headers via `xdebug_get_headers()`, but CI installed pcov, so the function was undefined. Switched `coverage` to `xdebug` and set `xdebug.mode="develop,coverage"`.
Note: two assertion failures in this suite (`961 is identical to 953` and a string mismatch) were downstream of the missing headers; this PR verifies whether they clear once Xdebug is present.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Follow-up on the CI fix branch.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@HafizMMoaz
HafizMMoaz merged commit 95e8542 into mainJul 22, 2026
2 checks passed
@HafizMMoaz
HafizMMoaz deleted the fix/ci-failures branch July 22, 2026 11:28
Sign up for freeto 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

@HafizMMoaz