Repository navigation
chore(android): remove unused test dependencies and duplicate Wear settings - #148231
Conversation
…ttings Co-authored-by: IWhatsskill <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review blockedAutomated review did not run, so no review verdict was produced. Reason: The input-safety check could not safely complete for this revision. ClawSweeper will not retry this unchanged revision. Next step: No contributor action is requested. Maintainers should inspect the linked workflow run. |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: needs maintainer review before merge. Reviewed September 14, 2026, 10:00 AM ET / 14:00 UTC. ClawSweeper reviewWhat this changesRemoves unused Android Kotest dependencies, explicitly retains the JUnit Platform launcher, and removes a duplicate Wear test-resource setting. Merge readiness✅ Ready for maintainer review This remains a useful, focused cleanup absent from current main. No actionable correctness defect was found, and the protected maintainer label excludes automatic closure. Priority: P3 Review scores
Verification
How this fits togetherAndroid’s Gradle configuration selects dependencies and resources for phone and Wear tests. The phone tests run through JUnit Platform with Vintage supporting existing JUnit 4 tests. flowchart LR
A[Dependency catalog] --> B[Phone test configuration]
B --> C[JUnit Platform launcher]
C --> D[Vintage runs JUnit 4 tests]
E[Wear test configuration] --> F[Tests with Android resources]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceOther -7. Total -7 across 3 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep the existing JUnit execution contract while removing unused framework dependencies and redundant configuration. Do we have a high-confidence way to reproduce the issue? Not applicable: this is cleanup rather than a reported runtime bug; source confirms unused dependency declarations and the duplicate Wear setting. Is this the best way to solve the issue? Yes: explicitly preserving the launcher and Vintage is a narrow way to remove Kotest without changing the existing test engine contract. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 36a725a599bc. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
Maintainer review before landing focused on whether Kotest and the duplicate Wear setting can be removed without changing JUnit 4 execution, test discovery, or Android-resource availability:
Merge-blocking checks were green on the merged head: Not covered: physical phone/watch end-to-end flows or measured APK-size and runtime-performance improvements. The local full-phone-suite comparison exercised discovery, not every test case. This completes the audited dependency/configuration cleanup; PR #148233 covers the unused production methods. |
* commit '3c08384584f57787a26da9998488233fc15ccf7e': (122 commits) fix(agents): keep tool result summaries when middleware details exceed shape limits (#147805) test: make full-suite fixtures portable across runtimes (#148247) refactor(qa): share unknown confidence results (#148200) chore(android): remove unused test dependencies and duplicate Wear settings (#148231) test: reuse compiled preflight in startup fixtures (#148330) test(wizard): route recovery integration through database forks (#148337) refactor(plugins): simplify provider auth patch recursion (#147933) fix(cli): drain failed web capability output (#148234) refactor(android): remove unused production helpers (#148233) fix(plugins): scope feed integrity to hosted ClawHub (#148220) test(qa): compare Telegram entities semantically (#148219) test(qa): recognize native Slack exec progress rows (#148217) test(cron): distinguish repeated delivery incidents (#148151) test(qa): preserve restart command ownership (#148218) test(qa): isolate bundled skill CLI gateway state (#148150) test(qa): align process lifecycle contracts (#148149) improve(media): reduce metadata fetched during orphan cleanup (#148244) fix(matrix): retain sync state runtime for deferred persistence (#148152) test: deduplicate gateway watch exit fixtures (#148237) refactor(cli): derive daemon status contract from gatherer (#148108) ...
…ttings (openclaw#148231) Co-authored-by: IWhatsskill <[email protected]>
What Problem This Solves
Android test builds still include an unused test framework and a duplicate Wear test setting.
User Impact
No user-visible change. Existing JUnit 4 tests and Android resource support are preserved.
Why This Change Was Made
Remove unused Kotest dependencies and the duplicate Wear setting. Declare the JUnit Platform launcher explicitly because Kotest previously supplied it transitively; keep Vintage and the existing versions unchanged.
Evidence