Repository navigation
Make VotingPlugin JAR size an advisory build warning - #1687
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 0 remain after this review. 📜 Recent review details⏰ Context from checks skipped due to timeout. (3)
🧰 Additional context used🧠 Learnings (1)📓 Common learnings📝 WalkthroughWalkthroughThe 10 MiB artifact-size threshold is now advisory. Oversized artifacts produce a warning, while required-resource, linkage, and packaging-safety checks remain enforced. ChangesJAR size target
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to Oversized JARs remain buildable while producing a Maven-console warning, and the required packaging checks remain enforced. No actionable merge risk is identified. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 1 files. (2 skipped: 2 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Problem
Current master (
376c2a9c3) fails both Jenkins build 2409 and GitHub Actions run 36951471825 solely because the downloadable JAR slightly exceeds 10 MiB. Reproduced locally: 10,503,573 bytes.Change
Per maintainer direction, treat 10 MiB as an advisory size target. Print a prominent
[WARNING]with the actual byte size in standard Maven/CI package output, without rejecting the build for size alone.Required resources, native runtime/linkage tests, duplicate-library exclusions and other packaging safety checks remain enforced. No runtime source, dependency filtering or executable behavior changed. Update the packaging contract and AGENTS.md to match.
Validation
mvn -B -nsu -f VotingPlugin/pom.xml clean package: 1,809 unit tests + 5 artifact tests passed (1m18s).git diff --checkpassed; manual complete diff inspected; fresh independent source-read-only review: No findings.Merge this before rerunning size-related failures on other PRs, including #1686. Does not claim to fix unrelated build failures.
Summary by CodeRabbit