Skip to content

feat(android): publish signed APKs with stable releases - #101212

Merged
steipete merged 4 commits into
mainfrom
codex/android-github-release-apk
Jul 6, 2026
Merged

steipete merged 4 commits into
mainfrom
codex/android-github-release-apk

Conversation

@steipete

@steipete steipete commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Fixes #9443

What Problem This Solves

OpenClaw's Android companion currently requires users to build from source. Stable GitHub Releases do not provide a directly downloadable, signed standalone APK.

Why This Change Was Made

Add a protected Android release workflow that builds the exact release tag, verifies the pinned signing certificate, application metadata, checksum, parent-release approval, and GitHub provenance, then attaches immutable APK assets before the release draft can publish. Same-commit fallback corrections reuse the base release's fully verified APK and create correction-tag provenance; versioned corrections require a higher Android versionCode.

The parent release workflow now attests an exact run/tag/SHA approval document before dispatch, and final publication verifies the downloaded Android asset contract. Signing material remains in the protected android-release environment and the private signing repository.

User Impact

Stable OpenClaw releases can include OpenClaw-Android.apk plus OpenClaw-Android-SHA256SUMS.txt, with documented checksum and GitHub attestation verification. Users can download the APK from the exact release page without installing Android build tooling.

Evidence

  • Built a real signed third-party release APK on AWS Crabbox; verified package ai.openclaw.app, version 2026.6.11, versionCode 2026061101, pinned signer certificate, and SHA-256 78e670bc474c46055eb960cd9b7d176f4d26ac8c6d16e9880c80f2b5f476d939 (run_627c55c6d85e).
  • Source-blind behavior validation passed checksum, signer, metadata, and tamper-rejection checks (run_836e51aacc01).
  • Exact rebased head: 256 focused tests passed (run_dd913b47cb69).
  • Exact rebased head: workflow policy checks passed (run_748a8fa89c54).
  • Exact rebased head: broad changed-surface typecheck, lint, architecture, Android version, and repository guards passed (run_26952e377270).
  • Fresh full-branch autoreview: no actionable findings, 0.90 confidence.
  • Live GitHub upload/attestation remains intentionally unexercised until the workflow is on main and a real stable tag is published.

@steipete
steipete requested a review from a team as a code owner July 6, 2026 22:52
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: android App: android scripts Repository scripts size: XL maintainer Maintainer-authored PR channel: discord Channel integration: discord app: web-ui App: web-ui labels Jul 6, 2026
@blacksmith-sh

This comment has been minimized.

@clawsweeper

clawsweeper Bot commented Jul 6, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head 4775b33050713703151ea78aee560777b77b5ef0, but the PR head is now ae7347c5077c2d11661b441954d34550a5529726. Its old verdict and PR readiness labels are no longer current.

Next step
Run or wait for a fresh ClawSweeper review on the current PR head.

@steipete

steipete commented Jul 6, 2026 •

Copy link
Copy Markdown
Contributor Author

Land-ready review complete for exact head ae7347c5077c2d11661b441954d34550a5529726.

Work completed:

  • Added protected exact-tag Android APK publication with checksum, pinned signer certificate, metadata, provenance, immutable upload, and parent run/tag/SHA approval verification.
  • Gated stable GitHub Release publication on the verified Android asset contract.
  • Preserved versioned and same-commit fallback correction releases; fallback reuse verifies the base checksum, workflow/ref/source digest, certificate, and APK metadata before adding correction-tag provenance.
  • Regenerated docs/docs_map.md after CI identified the new Android install heading.
  • Fixed signer-fixture isolation under CI's real ANDROID_HOME and migrated both new temp fixtures to the shared cleanup tracker.

Proof:

  • Real signed APK build/verify: AWS Crabbox run_627c55c6d85e; package ai.openclaw.app, version 2026.6.11, versionCode 2026061101, pinned signer, SHA-256 78e670bc474c46055eb960cd9b7d176f4d26ac8c6d16e9880c80f2b5f476d939.
  • Source-blind checksum/signer/metadata/tamper validation: run_836e51aacc01.
  • pnpm test test/scripts/android-release-artifacts.test.ts test/scripts/android-release-signing.test.ts test/scripts/package-acceptance-workflow.test.ts test/scripts/test-projects.test.ts test/scripts/validate-release-publish-approval.test.ts: 256 passed (run_dd913b47cb69).
  • Final fixture-isolation rerun: 14 passed (run_9b893da1f0eb).
  • pnpm check:workflows: actionlint and zizmor passed (run_748a8fa89c54).
  • pnpm check:changed: broad typecheck, lint, architecture, Android version, and repository guards passed (run_26952e377270).
  • Hosted exact-head CI: 28830352561, success.
  • Hosted exact-head Testbox: 28830352540, success.
  • Hosted exact-head build-artifacts Testbox: 28830352593, success.
  • Fresh full-branch autoreview plus final test-only autoreview: no actionable findings.

Known proof gap: live GitHub Release upload and attestation require the workflow to be on main and dispatched for a real stable tag. The first stable-tag run should be observed and its public download/checksum/attestation commands verified.

@steipete
steipete requested a review from a team as a code owner July 6, 2026 23:19
@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Jul 6, 2026
@github-actions

github-actions Bot commented Jul 6, 2026 •

Copy link
Copy Markdown
Contributor

Dependency graph guard cleared

This PR no longer has blocked dependency graph changes. A future dependency graph change requires a fresh /allow-dependencies-change comment after the guard blocks that new head SHA.

  • Current SHA: ae7347c5077c2d11661b441954d34550a5529726

@steipete
steipete force-pushed the codex/android-github-release-apk branch from 4775b33 to ae7347c Compare July 6, 2026 23:28
@github-actions github-actions Bot removed the dependencies-changed PR changes dependency-related files label Jul 6, 2026
@steipete
steipete merged commit 054e367 into main Jul 6, 2026
92 of 94 checks passed
@steipete
steipete deleted the codex/android-github-release-apk branch July 6, 2026 23:40
@steipete

steipete commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 7, 2026
)

* feat(android): publish signed release APKs

* fix(android): preserve fallback corrections

* test(android): isolate APK signer fixtures

* docs: refresh generated docs map
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: android App: android docs Improvements or additions to documentation maintainer Maintainer-authored PR scripts Repository scripts size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Request: Prebuilt Android APK releases

1 participant