Skip to content

ci: reusable cloud release acceptance foundation (Phase A, #7061) - #7062

Draft
antuz123 wants to merge 1 commit into
codex/7059-hosted-native-validationfrom
codex/7061-cloud-release-phase-a
Draft

antuz123 wants to merge 1 commit into
codex/7059-hosted-native-validationfrom
codex/7061-cloud-release-phase-a

Conversation

@antuz123

@antuz123 antuz123 commented Oct 18, 2026 •

Copy link
Copy Markdown
Collaborator

Adds the reusable, unsigned Phase A foundation for #7061: future sprint PRs automatically use one hosted platform worker for exact-head native builds, the existing passcode smoke, and a separate disposable Realm/MMKV persistence probe. R5 is the first rollout. Phase A acceptance remains BLOCKED; this is an infrastructure candidate, not a completed R5 acceptance or release pipeline.

Dependency and R4 isolation

This draft is stacked on #7060 (d865ca9c4f91532a1524443cc6da42d8d7b07e1a) to keep the new Phase A review separate from its dependency/native repairs. Review and owner approval are required before either is merged. After #7060 is installed, retarget/rebase this candidate onto reviewed sprint, review/install it with approval, then run R5's own reconciled exact head. Do not apply this branch to R5 or transfer another source's build evidence.

The original keeper-hosted-native.yml and keeper-local-validation.yml are unchanged. R4 #7045 is explicitly excluded from the new caller, worker and summary. No R4 source/ref/fixture/comment/status, Mac work or approval process was changed. R5 was inspected read-only; its source/ref was not changed.

Phase A's action-pin contract found a malformed 42-character emulator action reference in #7060. The new worker pins verified v2.34.0 commit 1dcd0090116d15e7c562f8db72807de5e036a4ed; resolve the inherited reference in #7060 before installation. Its historical successful run is not proof that the malformed literal works.

Implemented scope

  • Generic PR caller plus secret-free reusable iOS/macOS and Android/Linux development worker; no release-number/version selector, secret inheritance, protected production environment or signing/upload entry point.
  • Exact current head and repository/PR provenance, complete CI fingerprints against current and original base, required executable-file bootstrap, race checks, immutable action refs, artifact identity checks and newest-run/current-attempt API evidence (partial reruns cannot reuse older results). Missing trusted installation skips the new native jobs.
  • Separate CI-only Metro entrypoint using actual native Realm/current schemas and the production MMKV adapter. Three process launches exercise synthetic wallet-record persistence, wrong-key rejection, transaction rollback, targeted primitive deletion, separate database files and cleanup. No fundable keys, historical/private fixtures or production account state. This is native-storage module coverage, not app account isolation or product key deletion acceptance.
  • Metadata-only evidence and bundle/artifact hashes; bounded command/job budgets; no raw logs, JUnit, screenshots, generated state or app binaries uploaded.
  • Durable AGENTS/release instructions making hosted CI the R5/future default while preserving the current Local fallback, genuine physical checks and per-action owner approvals.

Proven and blocked status

Tested candidate: 59c821c.

  • Host contracts: 70 Node + 40 Python PASS, including exact-run/attempt evidence contracts.
  • All workflow actionlint, syntax and diff checks: PASS. Existing local/hardware/owner-deferral gate contracts remain passing.
  • Read-only preflight against R5 625435ac26af0304670c993a639626b1117699ba: trusted=false, reviewed infrastructure unavailable. No native command was started.
  • New native platform build/UI/probe execution: NOT RUN / NOT VERIFIED. ci: hosted native validation and exact-head evidence gate (#7059) #7060 and this candidate are not installed as trusted CI. Host tests model orchestration and do not constitute native evidence.
  • Full app acceptance deliberately remains a failing BLOCKED summary even if both primitive jobs pass. Five required app scenario groups are NOT IMPLEMENTED: live-reference/private key deletion, offline/retry/relaunch/no-duplicate setup, app account/session isolation, normal-page runtime/recovery regression, and measured cold-start/first-wallet performance. R4-dependent R5 cases wait for released-baseline reconciliation; high-risk failures cannot be waived.
  • Signing, beta distribution and store publication: NOT IMPLEMENTED / NOT VERIFIED, separate Phase B PR. Physical phones/signers: NOT RUN. No merge, signing, beta/store upload, submission or publication authorized/performed.

Scope: approximately 19k added text tokens (simple characters/4 estimate including documentation), below the issue's ~20k ceiling. Further app matrix implementation and Phase B are deferred from this candidate.

Staged adoption preserves the legacy startup pair and adds the new platform pair: caps 65/60 +75/75 minutes, no automatic retries, approximately $9.49 combined standard-rate ceiling if billable (not observed cost). The uninstalled candidate starts no new native jobs. Consolidation requires a later reviewed change that preserves R4 isolation.

Codex local handoff

State: NEEDS_LOCAL
PR: #7062
Base: codex/7059-hosted-native-validation (stacked dependency; retarget sprint after approved installation)
Head branch: codex/7061-cloud-release-phase-a
Head commit: 59c821c
Goal and acceptance criteria: reusable hosted acceptance for R5 and later releases; exact-head evidence with unresolved full app matrix blocking and R4 untouched.
Changes made: shared development worker, trust bootstrap/evidence contracts, disposable native storage probe, permanent cloud-default instructions.
Cloud checks: host contracts/actionlint/syntax/diff PASS; actual native execution NOT RUN; current R5 preflight safely denies acceptance. No feature/release-readiness claim.
Required local checks: IOS, ANDROID
Local checks requested: NONE during active R4 work. This candidate changes only .github/ and Markdown; existing gate documentation/GitHub exemption applies. Reviewed hosted installation and exact-source native probe proof remain required; do not request or interrupt an owner's Mac session.
Risks / known gaps: complete app matrix and actual native probe remain unverified; #7060 prerequisite/pin correction and R4 reconciliation pending; temporary duplicate builds; Phase B/physical testing outstanding. Preserve current safe fallback and explicit owner approval for every merge/sign/distribution/publication action.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants