Skip to content

ci: measure coverage in forked children - #1096

Merged
jcristau merged 1 commit into
taskcluster:mainfrom
jcristau:coverage-forked-children
Nov 5, 2026
Merged

jcristau merged 1 commit into
taskcluster:mainfrom
jcristau:coverage-forked-children

Conversation

@jcristau

@jcristau jcristau commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Children loading kinds exit through os._exit(), which skips coverage's save, so nothing they ran was counted. Patch os._exit to save the data, use parallel mode so each process writes its own data file, and combine them at the end of the test tasks.

Children loading kinds exit through os._exit(), which skips coverage's
save, so nothing they ran was counted. Patch os._exit to save the data,
use parallel mode so each process writes its own data file, and combine
them at the end of the test tasks.
@jcristau
jcristau marked this pull request as ready for review November 4, 2026 16:10
@jcristau
jcristau requested a review from a team as a code owner November 4, 2026 16:10
@jcristau
jcristau requested a review from ahal November 4, 2026 16:10

@hneiva hneiva left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

79.62% (+0.36%) nice

@jcristau
jcristau merged commit 5df0ae8 into taskcluster:main Nov 5, 2026
26 checks passed
@jcristau
jcristau deleted the coverage-forked-children branch November 5, 2026 08:56
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