Skip to content

Integration coverage xpc helpers#1551

Open
noah-thor wants to merge 2 commits into
apple:mainfrom
noah-thor:integration-coverage-xpc-helpers
Open

Integration coverage xpc helpers#1551
noah-thor wants to merge 2 commits into
apple:mainfrom
noah-thor:integration-coverage-xpc-helpers

Conversation

@noah-thor
Copy link
Copy Markdown
Contributor

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

This fixes the LLVM coverage data not properly being emitted for XPC
services. It requires piping the LLVM_PROFILE_FILE environment
variable through to all the services and plugins. The variable itself
also required the "%c" formatter to ensure that it continuously emits
coverage data, otherwise when XPC services are killed via "bootout" they
do not emit coverage.

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

noah-thor and others added 2 commits May 4, 2026 16:01
This fixes the LLVM coverage data not properly being emitted for XPC
services. It requires piping the `LLVM_PROFILE_FILE` environment
variable through to all the services and plugins. The variable itself
also required the "%c" formatter to ensure that it continuously emits
coverage data, otherwise when XPC services are killed via "bootout" they
do not emit coverage.
@github-actions
Copy link
Copy Markdown

Code Coverage

Tier Line Coverage
Unit 34.1%
Integration 59.27%
Combined 83.87%

@noah-thor noah-thor marked this pull request as ready for review May 18, 2026 17:25
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.

2 participants