Repository navigation
fix(android): stop building with a stale version pin - #200562
Conversation
Derive local build defaults from the root package while preserving source-bound Play plans and legacy APK release eligibility. Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: cb8691bc-7363-41e5-987e-5bd7a4deef3e
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Preserve upstream release-note/build overlap and current release documentation while retaining runtime version defaults and legacy publication safeguards. Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 0999d9cc-ad67-4e8c-9943-08da1fa89e27
|
Codex review: needs maintainer review before merge. What this changesThis PR derives Android build defaults from the root package version and removes the separate pin and synchronization commands. Example: Build Android from source with root package version 2026.11.4.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR removes stale Android source-build defaults, and source review found no definite introduced defect. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe Android version resolver supplies CLI output, phone/Wear Gradle defaults, and archive metadata; saved Play plans override those defaults with an exact source-bound release identity. flowchart TD
A[Root package version] --> B[Android version resolver]
C[Saved Play plan] --> B
B --> D[Version CLI]
B --> E[Phone and Wear Gradle]
B --> F[Archive builder]
G[Legacy tagged manifest] --> H[Gateway APK eligibility]
Technical reviewBest possible solution: Use the existing Android resolver as the single local-default owner while preserving exact Play plans and legacy APK publication eligibility. Do we have a high-confidence way to reproduce the issue? Current main directly reads the committed 2026.8.2 Android pin despite root version 2026.11.4; no target code was executed during this read-only review. Is this the best way to solve the issue? The cutover coherently removes the redundant metadata owner and its synchronization machinery while retaining explicit build overrides and source-bound store identities. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5fb231527f4f. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource -16, Tests -134, Docs +7, Config -4, Other -475. Total -622 across 45 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 17, 2026, 6:25 AM ET / 11:25 UTC. |
Use the supported extra.set and indexed read APIs without changing lazy runtime-version defaults or explicit release overrides. Keep warning-mode=fail enabled. Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 127bc29-d6e5-4969-8ec1-8476cf828821
* fix(android): stop building with a stale version pin Derive local build defaults from the root package while preserving source-bound Play plans and legacy APK release eligibility. Co-authored-by: RomneyDa <[email protected]> * fix(android): stop building with a stale version pin OpenClaw-Publication: cb8691bc-7363-41e5-987e-5bd7a4deef3e * Publish openclaw/android-runtime-version-51e904a OpenClaw-Publication: 0999d9cc-ad67-4e8c-9943-08da1fa89e27 * fix(android): replace deprecated Gradle extra delegates Use the supported extra.set and indexed read APIs without changing lazy runtime-version defaults or explicit release overrides. Keep warning-mode=fail enabled. Co-authored-by: RomneyDa <[email protected]> * Publish openclaw/android-runtime-version-51e904a OpenClaw-Publication: 127bc29-d6e5-4969-8ec1-8476cf828821 --------- Co-authored-by: RomneyDa <[email protected]>
* chore: retire June upgrade baselines from release validation Advance the shared automatic qualification floor to 2026.7.1 and align existing baseline fixtures. Preserve explicit historical baseline selection. Co-authored-by: RomneyDa <[email protected]> * chore: retire June upgrade baselines from release validation OpenClaw-Publication: 30a4a362-5ccc-4ac7-b2cf-b340fdb0e66a * chore: remove pinned oldest upgrade baseline Co-authored-by: RomneyDa <[email protected]> * Publish openclaw/remove-outdated-release-upgrade-scenarios OpenClaw-Publication: 69a19a1c-7527-4f9e-a1ba-62c34bd25bd0 --------- Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 142e499) Companion audit: #201313, #200527, #200386, #200562 touch workflow/test neighbors but are independent and assigned separately. Explicit historical baseline selectors remain supported. (cherry picked from commit 9fc44690ad196164e038afe931c81c113d79e87f)
* fix(android): stop building with a stale version pin Derive local build defaults from the root package while preserving source-bound Play plans and legacy APK release eligibility. Co-authored-by: RomneyDa <[email protected]> * fix(android): stop building with a stale version pin OpenClaw-Publication: cb8691bc-7363-41e5-987e-5bd7a4deef3e * Publish openclaw/android-runtime-version-51e904a OpenClaw-Publication: 0999d9cc-ad67-4e8c-9943-08da1fa89e27 * fix(android): replace deprecated Gradle extra delegates Use the supported extra.set and indexed read APIs without changing lazy runtime-version defaults or explicit release overrides. Keep warning-mode=fail enabled. Co-authored-by: RomneyDa <[email protected]> * Publish openclaw/android-runtime-version-51e904a OpenClaw-Publication: 127bc29-d6e5-4969-8ec1-8476cf828821 --------- Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit e783f4d) (cherry picked from commit bd06090118eea6f96d15a9c59c55b480a1d18b95)
What Problem This Solves
Fixes Android source builds staying on the separately pinned
2026.8.2version as the Gateway version advances.User Impact
Android local builds and ordinary archives now derive their version from the root package at build time, without a manual pin or generated version-properties file. Play releases still use their exact, source-bound saved plans and live store inventory. Normal Gateway releases continue to skip APK publication.
The obsolete
android:version:pin,android:version:sync,android:version:check, and release-preparation--androidcontrols are removed;pnpm android:versiondisplays the calculated defaults.Why This Change Was Made
One runtime resolver supplies the CLI, phone/Wear Gradle defaults, and local archive flow. This removes the checked-in version pin and its synchronization machinery rather than retaining two version owners. Play code allocation uses uploaded/recorded codes and the existing legacy cutover, not a stale APK pin floor.
The optional GitHub APK workflow and its qualification, approval, signing, and verification remain intact. Missing legacy metadata means no automatic Android selection; existing tagged-source recovery retains the old eligibility path. No new publication control is introduced.
Evidence
apps/android/version.json; with this change it derives the requested root-package version without writing files.d48dfacadbce6549961a4dbcca8eb098762163de, all 974 tests across 11 affected files passed. The conflict repair preserves release-note/build overlap, source-bound Play plans/live inventory, reorganized docs, current-source APK skip, and legacy recovery.CI repair and exact-head verification (November 18, 2026)
CI run
44071269219on3aa4a76367ab09305fe198f357e7617e79c3170bexposed Gradle 9.8.2 deprecations in the newextra(...)andby extraprovider wiring. The three-file repair usesextra.set(...)and indexed reads instead. Lazy defaults and explicit release overrides are unchanged;org.gradle.warning.mode=failstays enabled. No new state, compatibility path, or publication control was added.android-version.test.tstests andgit diff --checkpassed.c182c5877fd444e02881fbddb8ce2a145a771290f95e1890ce6a7207493ddc3e.fb25546a6b199a1142fcfcd3a217d919f1ecd8fbexactly matches the reviewed treec5ae88955451cddf1680960f30ab29b5c705944c.tbx_01m7pxcezspk6atnqjd4d2794f(run 44269915554) entered queued capacity and was stopped; cleanup is confirmed. That attempt supplies no Gradle pass; native evidence comes from the successful PR CI lanes above.Remaining CI failures — Discord inherited; Telegram attribution unresolved
The Android repair is complete, but overall run
44270147485remains failed because of these test jobs and the aggregate gate:channel-progress-presentation.e2e.test.ts→retains ambiguous Discord announcement custody after an unidentified send→timed out waiting for ambiguous announcement settlement. Confirmed inherited: the exact test reproduced this same failure on based48dfacadbce6549961a4dbcca8eb098762163dethrough the real isolated-Gateway harness; exit 1, 1 failed/14 skipped, target duration 67.5 seconds. The initial dependency-containment setup failure was resolved by a separate physically contained frozen install; the successful QA runtime build and actual test failure, not that earlier setup error, supply the baseline evidence.telegram-recovered-artifact.e2e.test.ts→delivers a recovered artifact once while preserving its inter-session transcript→ document-delivery poll expected1, received0, matcher timeout. This is not a session-count assertion. Vite OXC/SSR transformation reproduces the exact generated CI position317:85atexpect.poll(() => documents.length, { timeout: 30_000 }).toBe(1)(source line 348). The failure occurs afteragent.waitreturns{ status: "ok" }, when no successfully processed Telegram document upload is recorded within 30 seconds. Its underlying cause and dynamic inherited/new attribution remain unresolved.Exact-base focused commands (Node v26.12.1; pnpm 12.15.0; isolated dependencies and state):
The Telegram base run stopped earlier at initial
TELEGRAM-ROUTE-READYpolling (expected false to be true; 30 seconds). The same transformation maps its generated position290:215exactly to that readiness assertion. It does not prove the later CI document-delivery failure inherited. The CI failure used Bun, whereas these baseline tests used Node; the supported pinned Bun resolver was subsequently confirmed available, but no additional reproduction or channel repair was started during closeout.Static changed-input verification is complete:
src,extensions,packages,test/e2e,test/helpers,test/vitest,pnpm-lock.yaml, andpnpm-workspace.yamlhave no diff between the exact base and published head. The root package diff only removes three Android version script aliases. This places the failing channel runtime outside changed inputs without substituting static inspection for dynamic attribution. No assertion, timeout, or baseline was weakened. The task-owned base checkout was removed after the test processes exited.The preceding head's separate macOS Periphery producer run 44071268998, job 133998245808 failed uploading its report with
ENOTFOUND; dependent report jobs lacked that artifact. This is recorded infrastructure evidence, not a source-code fix or a claim about the new head.No Play upload or production promotion was performed. The PR remains open and unmerged; overall CI is red.