Skip to content

ci: retain private Android startup diagnostic facts - #7101

Draft
antuz123 wants to merge 298 commits into
sprintfrom
codex/r5-android-startup-diagnostics
Draft

antuz123 wants to merge 298 commits into
sprintfrom
codex/r5-android-startup-diagnostics

Conversation

@antuz123

@antuz123 antuz123 commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

Exact R5 source 3eb92fc8a622a3e09926d49f47243c163e32d009 built and installed the Android APK with verified installed bytes, then failed to render the initial Create a passcode screen. Its generic Metro error and empty recognized Android categories do not identify a cause. This follow-up collects bounded metadata on the next Android startup failure: process/foreground lookup state, app-scoped exit-history reasons, fixed JS/native fault markers, parse/truncation coverage, and numeric host memory/cgroup facts.

Cause remains UNDETERMINED. Failed, timed-out, malformed or truncated lookups retain UNKNOWN; PID matching and exit history have unknown freshness; memory snapshots/counters do not establish a current OOM. New command output is private and immediately purged. No raw log, hierarchy, screenshot, process/package/activity identity, arbitrary type, message or path is exported.

This package changes no app behavior, dependencies, Metro worker count, startup timeout, workflow or acceptance gate. It preserves #7094's iOS-only diagnostic, the active native retry, and Vault producer #7097. Native collection has NOT RUN on this head. The coordinator's successful Linux Metro/Hermes checks are separate from native acceptance.

Immutable patch-only review. The sprint diff inherits the separately reviewed R5 candidate; this diagnostic delta is about 6.5k code/test tokens plus documentation.

Validation: all 105 Python contracts PASS, including 13 new Android controls; four existing diagnostic-policy controls PASS with observed Node 24.19.0; Python syntax and whitespace PASS. Independent review found no remaining confirmed blocker after source-frame filtering and malformed-record corrections. No native build, dispatch, cancellation, account operation or release operation was performed.

Codex local handoff

State: NEEDS_LOCAL
PR: #7101
Base: sprint
Head branch: codex/r5-android-startup-diagnostics
Head commit: 87d21fa
Goal and acceptance criteria: Obtain trustworthy fixed Android startup diagnostic facts without exporting app data or weakening failed acceptance.
Changes made: Separate Android metadata collector and eight-line failure-hook extension, privacy/negative/truncation tests, investigation documentation. Existing native outcomes remain unchanged.
Cloud checks: python -B -m unittest discover -s .github/tests -p 'test_*.py': 105 PASS; node --test .github/tests/native-diagnostic-policy.test.cjs: 4 PASS (Node 24.19.0); syntax/whitespace PASS. These are offline controls only.
Required local checks: ANDROID
Local checks requested: Root coordinator must review/integrate and schedule a future exact-candidate hosted Android run. No personal Mac. Existing active native work remains untouched.
Risks / known gaps: Actual diagnostic collection NOT RUN; startup cause undetermined; foreground activity is not window visibility; PID/exit history and cgroup counters are not proof of current causation; unsupported output remains UNKNOWN; legacy Metro/Maestro/Android logs retain the established private parent-cleanup boundary. Backend/native feature/physical/5.2/release acceptance remain separate. No merge, promotion, signing, distribution, deployment or publication authorized.

Keep saved USDT wallets, receive addresses, chain reads, history, and backup recovery. Make Send show a pause message and warn before new deposits. Reject retired GasFree and swap credentials in release inputs and direct Android builds.

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.

3 participants