Repository navigation
fix: keep Android publication independent of core release - #133471
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 30, 2026, 4:57 PM ET / 20:57 UTC. ClawSweeper reviewWhat this changesThe PR lets Android APK publication continue independently of core release completion while binding its approval to the exact parent run, ref, and workflow revision. Regression provenancePossible regression — probable (reviewed change; failure trace). No predecessor PR is attributed. Merge readinessKeep this PR open for normal maintainer review: the prior upload-boundary finding is addressed, the release authority checks are coherent, and exact-head CI is still running. Priority: P1 Review scores
Verification
How this fits togetherRelease Publish coordinates core package publication and native release workflows. Android receives an attested approval, validates it against live GitHub release state, then publishes APK assets independently of core completion. flowchart LR
A[Release Publish run] --> B[Attested Android approval]
B --> C[Android Release workflow]
C --> D[Live tag and parent validation]
D --> E[APK provenance]
D --> F[Immutable asset upload]
A --> G[Core publication completes]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +521, Docs +20, Config -12, Other +81. Total +610 across 9 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the detached Android flow only after exact-head validation confirms it integrates with current release tooling and the documented v2 recovery contract remains the operator path. Do we have a high-confidence way to reproduce the issue? Yes, at source level: the focused workflow harness exercises dispatch completion behavior and parent invalidation at the Android upload boundary. Is this the best way to solve the issue? Yes: moving the live checks into the shared approval validator and invoking it before provenance and each write is the narrowest maintainable repair. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against ee6dfc34e6a0. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (2 earlier review cycles)
|
|
Merged via squash.
|
…cked-delivery * origin/main: (261 commits) fix(clawdock): keep credentials out of diagnostic output (openclaw#133547) refactor(ui): avoid redundant presence work in avatar lists (openclaw#133548) fix(agents): recognize internal requester completion replies (openclaw#133543) fix: prevent duplicate queued user messages in chat clients (openclaw#133542) chore(ui): refresh control ui locales (openclaw#133544) fix(beam): restart delivery when the receiver changes (openclaw#133533) fix(models): recover /models browse from a replaced prepared catalog (openclaw#133221) perf(terminal): reuse control scans and remove repeated sanitization work (openclaw#133527) perf(agents): prepare only consumed tool and skill diagnostics (openclaw#133512) fix(line): offer the card command only on LINE (openclaw#132895) fix: keep Android publication independent of core release (openclaw#133471) refactor(agents): simplify compaction accounting (openclaw#133521) refactor(plugins): simplify registration lifecycle policy (openclaw#133364) perf(plugins): avoid eager loader imports for active registry reads (openclaw#133518) refactor(ui): consolidate chat rendering ownership (openclaw#133508) test(auto-reply): prepare memory flush model capabilities (openclaw#133532) fix(ui): replace startup hourglasses with capacity-aware rings (openclaw#133470) fix(talk): preserve provider conversation order in browser transcripts (openclaw#133493) fix(ui): deduplicate participant and viewer avatars (openclaw#133519) feat(ui): add CRT terminal theme (openclaw#133495) ...
…33471) * fix: allow Android releases from protected publish tags * fix: keep Android publication independent of core release * test: include Android approval in publish workflow routing * fix: revalidate Android authority before publication
What Problem This Solves
Protected-tag release publishers could not hand off approval to Android, and waiting for Android completion held up core publication. A detached child also needs to recheck its exact parent authority before publishing provenance or uploading an asset.
Why This Change Was Made
The publisher attests a v2 Android approval binding the parent run, attempt, full ref and workflow SHA to the exact release target. The child uses the canonical tooling and raw REST parent validators. Android dispatch no longer waits for its build or publication: core records a pending run link, reports an unconfirmed dispatch visibly, and emits an APK download link only for verified assets. Windows remains a required core gate.
Normal Android publication accepts an active or successfully completed parent and the exact stable target, whether draft or public. Failed parents require explicit recovery; cancelled parents remain rejected. Immediately before provenance and each actual asset upload, the shared approval owner rechecks the live direct/peeled release-tag target, stable release classification, tooling identity and exact parent attempt/state. It fetches the parent last, after target/tooling reads. These are fresh boundary checks, not an atomic GitHub validation-and-write transaction. Signing, source attestation, protected environment and immutable asset checks remain intact. Generic and ClawHub approval contracts are unchanged.
User Impact
Core publication can complete while Android approval, build and publication continue separately. Maintainers monitor the linked Android run and verify native publication before announcing all platforms complete. No runtime configuration, schema or dependency changes are included.
Evidence
Review Finding Disposition
The final-effect authority finding and corresponding rank-up are addressed by the shared validator at each publication boundary and failing/passing executable proof. Production growth for this correction is 35 lines (33 executable plus two declaration lines), replacing duplicated admission shell while adding live target and fresh parent checks; tests add 141 net lines.
The historical-tag finding is addressed by preserving the named paired immutable v1 producer/consumer recovery contract. Executing the actual historical producer and full admission/validator under strict external boundary stubs passed 12 cases, with four parent-input cases also matching. A new v2 producer paired with an old v1 consumer is intentionally rejected; no speculative fallback is added. Historical recovery still requires its authentic receipt, enforced gates and matching frozen tooling. The 30-day receipt retention means this proof does not claim a currently retained historical receipt or live historical publication.