Repository navigation
feat(android): retire profile Access ownership on Forget - #156239
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 25, 2026, 11:04 PM ET / September 26, 2026, 03:04 UTC (Revision 2). ClawSweeper reviewWhat this changesAdds an Android Access controller operation to forget one gateway profile, revoke its admission and browser participation, and preserve same-origin siblings during credential cleanup. Merge readiness⛔ Blocked before merge - 4 items remain Keep open: this is a coherent prerequisite in an active Android Access PR stack. Current main and the latest release do not contain the controller’s Forget path. Priority: P2 Review scores
Verification
How this fits togetherThe Android ingress controller combines saved gateway profiles with Cloudflare Access sessions to decide which requests may use an Access grant. The controller remains unwired to the app in this draft stack; once integrated, its authorization reaches Gateway and media transports. flowchart LR
A[Forget profile] --> B[Android Access controller]
C[Saved profiles and Access grants] --> B
B --> D{Sibling owns origin?}
D -->|Yes| E[Keep shared grant]
D -->|No| F[Delete Access record]
B --> G[Revoke profile lease]
G --> H[Gateway and media requests]
Before merge
Findings
Agent review detailsSecurityNeeds attention: The authority boundary needs final network-effect validation; the diff adds no unrelated supply-chain change. PR surfaceTests +708, Other +60. Total +768 across 2 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Integrate the controller with Android’s profile and transport flows after final-effect authority proof and the stack’s installed-old preservation checks are complete. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR adds a controller capability. Its tests model Forget scenarios, but the PR reports no standalone runtime execution for this slice. Is this the best way to solve the issue? Yes in design: the controller reuses the Store’s retirement receipt and registry ownership rather than adding another state owner. Final network-effect proof is still needed. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 37259b7cab6b. LabelsLabel changes:
Label justifications:
EvidenceSecurity concerns:
What 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
HistoryReview history (1 earlier review cycle)
|
What problem does this solve?
Add profile-specific Forget to the dormant Android Access controller. A departing profile must release its own admission and browser participation, preserve live sibling ownership, and acknowledge last-owner native-record deletion before clearing its durable association.
Why this approach?
This is the eighth narrow slice of #147305, stacked on #156236. It reuses the existing canonical retirement receipt and departure reconciliation flow. Discovery cancellation and browser-task joins stay outside the monitor; overlapping departures follow the latest acknowledgement rather than starting independent cleanup.
The two-file delta is 886 changed lines: production +60/-0; tests +767/-59. The production growth exposes one real cleanup capability. There is no app activation, storage-format change, origin-wide Sign out, Retry, or cleartext admission in this slice.
Evidence and remaining gates
git diff --checkpass. Standalone compilation and runtime proof remain pending; prior 150-method results from the original aggregate are historical evidence only.