Repository navigation
feat(android): acknowledge origin-wide Access sign-out - #156248
vincentkoc wants to merge 1 commit into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs real behavior proof before merge. Reviewed September 23, 2026, 2:01 AM ET / 06:01 UTC. ClawSweeper reviewWhat this changesAdds origin-wide Cloudflare Access sign-out to Android’s dormant connection controller, with deletion acknowledgement tied to the current profile and action, supporting messages, and regression coverage. Merge readiness⛔ Blocked before merge - 2 items remain Keep open: this member-authored prerequisite remains distinct from current main, and no introduced production defect was established. Its credential-revocation boundary still needs proof for the submitted intermediate version. Priority: P2 Review scores
Verification
How this fits togetherAndroid’s Access controller prepares credentials for protected Gateway connections. Sign-out invalidates shared origin credentials through the session store, retires pending work, and publishes completion only to the action that still owns it; app activation remains outside this PR. flowchart TD
A[Saved Gateway profile] --> B[Explicit sign-out]
B --> C[Revoke origin credentials]
C --> D[Retire pending connections]
D --> E[Delete saved Access grant]
E --> F{Action still owns completion?}
F -->|Yes| G[Publish success or failure]
F -->|No| H[Preserve newer action]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +716, Other +92. Total +808 across 3 files. View PR surface stats
Review metricsNone. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep retirement in the existing session-store owner, qualify the scoped authority proof, and preserve the separate composition upgrade gates before app activation. Do we have a high-confidence way to reproduce the issue? Not applicable as a current-main bug reproduction: this adds a dormant capability. The relevant authority scenarios are identifiable in source, but this review did not execute them. Is this the best way to solve the issue? Yes at the source-design level: reusing canonical retirement and attaching completion to an explicit action owner avoids a competing cleanup mechanism. Execution evidence is still needed to establish the concurrency guarantees. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 7f50ce061649. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
What problem does this solve?
Add origin-wide Access Sign out with durable acknowledgement. Revocation must take effect before reentrant observers can admit an old grant, and completion must update only the action and profile that still own it.
Why this approach?
This ninth slice of #147305 depends on #156239. It uses the Store retirement owner and records a distinct acknowledgement identity for every explicit Sign out. Cold saved profiles bind that identity to their first registration; replacing a registration or departing the profile invalidates it. Browser cancellation, expiry cleanup, and completion preserve a newer grant or surviving action.
The three-file delta is 858 changed lines: Controller production +91/-1, native text catalog +2/-0, tests +740/-24. The catalog entries travel with their real messages. No app activation, Retry, cleartext admission, or shared-browser reuse is introduced.
Evidence and remaining gates
git diff --checkpass. The native catalog matches the preserved aggregate exactly. Standalone compilation and execution remain pending; historical 150-method aggregate results do not qualify this prefix.