Skip to content

Cover ProjectConnectionPayload's metadata branch (100% coverage gate) - #6

Merged
StanBarrows merged 1 commit into
mainfrom
fix-coverage-gate-connections
Aug 4, 2026
Merged

StanBarrows merged 1 commit into
mainfrom
fix-coverage-gate-connections

Conversation

@StanBarrows

Copy link
Copy Markdown
Contributor

Follow-up to #5, which merged before this fix landed on the PR branch — main currently has the project-connections feature at 99.9% coverage (the `metadata !== []` branch in `ProjectConnectionPayload::toAzureBody()` had no test), so `composer test:coverage`'s 100% gate is red on main right now.

This is the exact fix pushed to #5's branch after it merged: one added test case exercising non-empty metadata.

  • `composer test` — 582 passing
  • `composer analyse` — no errors
  • Verified locally the specific missed branch is now hit

🤖 Generated with Claude Code

CI's 100% coverage gate caught it: toAzureBody()'s metadata !== []
branch had no test passing non-empty metadata, only the default empty
array.
@StanBarrows
StanBarrows merged commit 45e74b1 into main Aug 4, 2026
9 checks passed
@StanBarrows
StanBarrows deleted the fix-coverage-gate-connections branch August 8, 2026 05:29
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