Repository navigation
Sync linux.yaml's lint job with pr.yaml, add Error Prone - #3596
Conversation
linux.yaml's push-to-master lint job hadn't been touched by the last two PRs and had drifted: still ran the plain javadoc:javadoc report goal instead of the stricter release-profile check, and never ran Error Prone at all. Split it into the same lint-format/lint-verify/error-prone jobs as pr.yaml so push-to-master gets the same static analysis coverage as every PR, and future changes to one only need to remember the other.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📜 Recent review details⏰ Context from checks skipped due to timeout. (1)
🧰 Additional context used🧠 Learnings (4)📓 Common learnings📚 Learning: 2026-08-05T23:44:09.936ZApplied to files:
📚 Learning: 2026-05-31T05:53:04.246ZApplied to files:
📚 Learning: 2026-07-21T20:38:16.728ZApplied to files:
🔇 Additional comments (3)
📝 WalkthroughWalkthroughLinux CI now separates formatting, verification, and Error Prone analysis. Verification includes release-profile packaging, Forbidden APIs, and SLF4J 1.7 compatibility checks. Error Prone runs on JDK 25. ChangesLinux CI analysis
Estimated code review effort: 2 (Simple) | ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 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 |
Summary
linux.yaml's push-to-masterlintjob hadn't been touched by either #3594 (Error Prone groundwork) or #3595 (fixing the ERROR-severity backlog), so it had drifted: still ran the plainjavadoc:javadocreport goal instead of the stricter release-profile checkpr.yamlnow uses, and never ran Error Prone at all.Split it into the same
lint-format/lint-verify/error-pronejobs aspr.yaml, so push-to-master gets identical static analysis coverage to every PR, and a future change to one workflow doesn't silently leave the other behind.Note: until #3595 merges, the new
error-pronejob here will show red on pushes to master (the 5 ERROR-severity findings it fixes aren't merged yet) — that's expected and self-resolves once #3595 lands, not a problem with this change.No CHANGELOG entry — pure CI configuration.
Test plan
pr.yaml's currentlint-format/lint-verify/error-pronejobs (verified by diff)./mvnw install -DskipTests -Perror-pronecurrently fails onmasterwith the known 5 ERROR findings (expected, pending Fix Error Prone ERROR-severity findings, make error-prone job blocking #3595) and will pass once Fix Error Prone ERROR-severity findings, make error-prone job blocking #3595 mergesSummary by CodeRabbit