ADFA-4202: Guard tooling-api shadow jar against public-suffix-list regression - #1595
Conversation
…gression The APK-level exclude for httpclient's mozilla/public-suffix-list.txt (ADFA-4551) only covers app/build.gradle.kts's packaging.resources merge, not bytes already baked into tooling-api-impl's shadow jar. Exclude it there too so a future dependency shift can't reintroduce it. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 Walkthrough
WalkthroughThe tooling API’s ChangesTooling packaging
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 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 |
Summary
mozilla/public-suffix-list.txthttpclient resource from the APK) was already fixed under ADFA-4551 viaapp/build.gradle.kts'spackaging.resources.excludes.tooling-api-impl's shadow/fat jar (tooling-api-all.jar), which is copied in as a raw asset.exclude(...)to theshadowJartask so a future dependency shift (e.g. sdklib pulling httpclient in differently) can't reintroduce the file through that path.Test plan
./gradlew :subprojects:tooling-api-impl:jarbuilds successfullyunzip -l tooling-api-all.jarconfirmsmozilla/public-suffix-list.txtis absent./gradlew spotlessCheckpasses🤖 Generated with Claude Code