Skip to content

Update: Compose Screenshot plugin to 0.0.1-alpha16 - #206

Merged
Rolf-Smit merged 1 commit into
mainfrom
feature/update-screenshot-test-plugin
Aug 31, 2026
Merged

Update: Compose Screenshot plugin to 0.0.1-alpha16#206
Rolf-Smit merged 1 commit into
mainfrom
feature/update-screenshot-test-plugin

Conversation

@Rolf-Smit

Copy link
Copy Markdown
Contributor

The old coverage workaround shadowed the plugin's internal Renderer class to give it a classloader that resolved Kover's classes as resources. alpha16's own Renderer now does that natively, but it also hardened the render sandbox with a package allowlist that rejects any other class outright, which now blocks Kover's coverage runtime classes with NoClassDefFoundError. Replaced the shadow copy with a JVM agent that extends that allowlist directly.

The old coverage workaround shadowed the plugin's internal Renderer class to give it a classloader that resolved Kover's classes as resources. alpha16's own Renderer now does that natively, but it also hardened the render sandbox with a package allowlist that rejects any other class outright, which now blocks Kover's coverage runtime classes with NoClassDefFoundError. Replaced the shadow copy with a JVM agent that extends that allowlist directly.
@Rolf-Smit
Rolf-Smit force-pushed the feature/update-screenshot-test-plugin branch from c5aa185 to 17f99ee Compare August 31, 2026 12:34
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.27%. Comparing base (df1cb57) to head (17f99ee).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #206      +/-   ##
==========================================
- Coverage   70.43%   63.27%   -7.17%     
==========================================
  Files         144      144              
  Lines        8156     8158       +2     
  Branches     1063     1854     +791     
==========================================
- Hits         5745     5162     -583     
- Misses       1891     1895       +4     
- Partials      520     1101     +581     
Flag Coverage Δ
domain 79.91% <ø> (ø)
presentation 59.25% <ø> (-8.90%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Rolf-Smit
Rolf-Smit merged commit a96812e into main Aug 31, 2026
4 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 31, 2026
@Rolf-Smit
Rolf-Smit deleted the feature/update-screenshot-test-plugin branch August 31, 2026 20:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants