Repository navigation
fix(ci): provision native Android resources for frozen current-contract targets - #120081
Conversation
|
@clawsweeper review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: needs maintainer review before merge. Reviewed August 6, 2026, 11:34 PM ET / August 7, 2026, 03:34 UTC. ClawSweeper reviewWhat this changesThe PR exports the Android CI contract decision from preflight and uses it to run Node-based native-resource setup for frozen targets using the current Android contract. Regression provenancePossible regression — probable (reviewed change; failure trace). No predecessor PR is attributed. Merge readinessNo blocking correctness finding: the PR carries the already-computed Android contract fact across the CI job boundary, which is the narrow owner-boundary repair. Keep it open for maintainer merge handling because it is maintainer-authored/protected and should receive required checks on the refreshed merge result. Priority: P2 Review scores
Verification
How this fits togetherCI preflight classifies a frozen release target as legacy-compatible or current-contract and supplies that decision to Android jobs. Android Gradle then needs Node to generate Canvas resources before tests and builds consume them. flowchart LR
A[Frozen release target] --> B[CI preflight]
B --> C[Android contract decision]
C --> D[Android job]
D --> E[Node resource generation]
E --> F[Gradle variants]
F --> G[Android tests and builds]
Decision needed
Why: The patch is correct and has real frozen-target evidence, but only maintainers should accept the remaining release-validation automation risk on the exact merge result. Before merge
Agent review detailsSecurityNone. PR surfaceTests +22, Config +2. Total +24 across 2 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Merge the narrow preflight-output repair after the refreshed merge result confirms the frozen current-contract Android lanes still run Node setup before Gradle. Do we have a high-confidence way to reproduce the issue? Yes—current main source proves the lost preflight fact and the Android Gradle path requiring Node; the PR also records a successful frozen current-contract dispatch after the repair. Is this the best way to solve the issue? Yes—the patch publishes the authoritative preflight decision instead of re-deriving it in Android jobs or broadening the legacy compatibility condition. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 47640e06be1d. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
|
Applied the ClawSweeper rank-up move with an exact frozen current-contract dispatch.
The Android jobs executed |
8bc84d0 to
55cf112
Compare
|
@clawsweeper re-review |
|
🦞👀 Command router queued. I will update this comment with the next step. |
|
Merged via squash.
|
* origin/main: refactor(test): compress repetitive fixtures in mega-tests, batch 2 (openclaw#120124) refactor(ui): adopt shared chat-host fixture across chat suites (openclaw#120120) fix(ci): provision native Android resources for frozen current-contract targets (openclaw#120081) fix: preserve agent delivery identity (openclaw#120108) fix(qqbot): add cause-specific setup guidance (openclaw#119780) fix(venice): replay Gemini tool signatures by turn occurrence (openclaw#119783) fix(gateway): yield before TTS status diagnostics (openclaw#119788) fix: gateway restart fails and leaves the macOS LaunchAgent unloaded when the gateway drains active work (openclaw#116875) fix(clickclack): show native agent progress while replying (openclaw#116683) fix: unhandled rejection crashes process when raw stream write fails (openclaw#119400) fix: prevent duplicate outbound delivery during concurrent recovery (openclaw#119966) # Conflicts: # src/agents/embedded-agent-runner/run.incomplete-turn.test.ts
What Problem This Solves
Fixes an issue where frozen release candidates using the current Android CI contract could fail before Gradle tests or builds because CI skipped the Node environment required to generate native Canvas resources.
Why This Change Was Made
The CI manifest already distinguishes legacy Android task compatibility from current-contract frozen targets. This change exposes that decision as a preflight output and skips native-resource Node setup only for the legacy task contract.
User Impact
Maintainers can validate a frozen release SHA with the current Android contract without changing the release candidate or omitting required generated resources. Product runtime behavior is unchanged.
Evidence
node scripts/run-vitest.mjs test/scripts/ci-workflow-guards.test.ts -- -t 'covers Android app variants|uses target-owned CI plans'(2 passed)node scripts/check-workflows.mjspnpm exec oxfmt --check --threads=1 .github/workflows/ci.yml test/scripts/ci-workflow-guards.test.tsgit diff --check