Skip to content

Conversation

@gaogaotiantian
Copy link
Contributor

What changes were proposed in this pull request?

Put cov.save() in try ... finally ... block to save the report regardlessly.

Why are the changes needed?

Currently if the worker raises an exception we just skip saving the report, so we missed a lot of exception coverage.

Does this PR introduce any user-facing change?

No

How was this patch tested?

CI should pass and I'll monitor the daily coverage run.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the PYTHON label Dec 9, 2025
@zhengruifeng
Copy link
Contributor

merged to master

@gaogaotiantian gaogaotiantian deleted the coverage-fix branch December 9, 2025 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants