Skip to content

fix: collect real coverage for Shiro and pinned JWT tests - #4

Merged
loong10k merged 1 commit into
mainfrom
fix/main-jacoco-collection
Nov 4, 2026
Merged

loong10k merged 1 commit into
mainfrom
fix/main-jacoco-collection

Conversation

@loong10k

@loong10k loong10k commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Surefire fixed JVM arguments overwrite the JaCoCo agent, causing report/check to skip despite tests executing. Preserve the agent through an initialized dedicated property and late evaluation; keep all JVM options, production behavior, public APIs, tests, and the existing 90% warning threshold unchanged.

Pin the source build to the matching JWT issuer collection fix (PR easy-4-java/jwt-issuer#1), require execution data/XML for both modules with tests, and upload nested upstream coverage reports.

JDK 17 complete builds pass: JWT issuer 2 tests, Shiro core 1 test. Real coverage is JJWT 60/607 lines (9.88%) and Shiro core 0/1578 lines (0%); both warn below the unchanged target. Current Shiro test exercises Apache Shiro library behavior. Modules with no tests still have no data, and no whole-project coverage compliance is claimed. shiro-weixin and the Spring 6 bot migration are untouched.

@loong10k
loong10k marked this pull request as ready for review November 4, 2026 01:31
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-04T01:32:25.778696Z 1146255 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@loong10k
loong10k merged commit 07c15c5 into main Nov 4, 2026
1 check passed
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