Repository navigation
fix(app): export bounded push registration diagnostics - #25873
Conversation
Record missing acquisition/persistence outcomes in the opt-in developer export without token, account or exception payloads. Preserve retry, cached receipt and auth-generation behavior. Related to #25870; this is diagnostic coverage, not a claim of restored push delivery. Validation: 23 focused registrar/export/admission tests and 138 opt-in spine tests passed; 29 local preflight checks passed. Full component suite and targeted analyzer pending at commit time. Production data and delivery unchanged. Failure-Class: FC-typed-failure-collapsed-to-generic
|
Verdict: well-scoped and privacy-careful diagnostic addition — the production change looks correct and I have no blocking findings. Keeping diagnostics closed-vocabulary, opt-in, and non-gating is exactly the right shape. Per file:
Minor, non-blocking: Security: no token, account identifier, timezone value, body, or SDK error text reaches the export (verified by the schema assertions); records are device-local and the export stays opt-in — no new remote telemetry, permissions, or delivery-behavior change. USER IMPACT: none — push delivery, permissions, and retries are unchanged; users who enable the developer log export will see new diagnostic lines. Before marking ready: tick the two unchecked verification items, and note the full-suite timeout you hit ( by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Require an active persistence wait and current auth owner when recording local ordering or HTTP outcomes. Cover a delayed response after timeout and after an account switch through the real export queue. Failure-Class: FC-typed-failure-collapsed-to-generic
Push registration can exhaust its retries without leaving an actionable record in Developer → Share Logs. The registrar's debug output goes only to Talker, so Support cannot distinguish unavailable APNs/FCM, a local ordering write failure, or rejected registration persistence when an account has no push destination.
This change records closed stage/result values and optional HTTP status through the existing opt-in DebugLogManager. It preserves retry, token receipt and auth-generation behavior, suppresses stale-owner failures, and isolates diagnostic-write failures. It records no token, account identifier, timezone value, request/response body or SDK error text, and adds no remote telemetry. HTTP and local ordering logs are admitted only while the same registration attempt is pending under its current auth owner.
Related to #25870. This fixes the diagnostic gap only; it does not establish the cause of the reported missing registration or restore customer push delivery. Keep the issue open for that investigation. The separate disk-full index failure is tracked in #25871.
Validation on
871121c: 26 focused Flutter tests passed, including delayed HTTP acknowledgement after timeout and account switch. Both tests exercise the real registrar, HTTP response handling and temporary export file, with a synthetic transport. Static analysis and all 29 local preflight checks passed. See Mobile App Checks for the full CI suite. Actual background delivery and the affected account remain separate follow-ups.Failure-Class: FC-typed-failure-collapsed-to-generic
UI-Evidence: none -- No visible UI changes; opt-in diagnostic file events only.