Repository navigation
fix(macos): keep Gateway profile Keychain reads noninteractive - #130542
Patrick-Erichsen wants to merge 2 commits 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: blocked before merge. Reviewed October 7, 2026, 5:37 AM ET / 09:37 UTC (Revision 3). ClawSweeper reviewWhat this changesThe macOS app suppresses automatic Gateway-profile Keychain prompts and preserves hidden profiles and pending legacy migration data during later explicit edits. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 3 items remain Keep open: current main provides partial coverage, but this useful repair remains incomplete and the earlier P1 finding is still present. Priority: P2 Review scores
Verification
How this fits togetherThe macOS Gateway-profile store turns saved endpoints and credentials into connection settings for Gateway windows. Background refresh and explicit profile edits share the login Keychain with activation-binding operations. flowchart TD
A[Background profile refresh] --> C[Gateway profile store]
B[Explicit profile edits] --> C
C --> D[Keychain interaction policy]
D --> E[Login Keychain]
F[Activation binding store] --> E
E --> G[Gateway connection settings]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceOther +274. Total +274 across 2 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Use one shared interaction coordinator for affected in-process Keychain consumers, preserving current-main denial recovery and credential-safe mutations while replacing the profile-private guard. Do we have a high-confidence way to reproduce the issue? Yes, source and Apple's shared-state implementation establish the overlap trigger: pause a profile read after disabling interaction, then perform an ACL-protected binding-key lookup. This review did not execute that scenario. Is this the best way to solve the issue? No, the repair is too narrow at the interaction boundary: query-level controls cannot suppress the demonstrated legacy ACL prompt, while a profile-private lock cannot protect sibling Keychain operations. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5077ad4f99aa. 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
HistoryReview history (2 earlier review cycles) |
|
The canonical cold-probe fix has landed via #128819 as The 13 descendant commits across #130542, #130543, and #130544 are valid Patrick-signed commits. A maintainer rebase would replace those signatures, so please restack them with your signing key:
Please keep the current P1 blockers and regenerate exact-head CI/package proof after the rewrite. #130541 will remain open until the descendant ancestry is verified. |
|
Closing as stale: this macOS onboarding/prewarm stack has been inactive since August, and Closed by Roboclaw at the author's request after an audit of his open PRs. The branch is kept, so this can be reopened if needed. |
Summary
Keep automatic Gateway-profile reads and legacy migration from opening login-Keychain authentication UI. Preserve hidden profiles and pending migration state when an explicit mutation later receives Keychain access.
This is layer 2 of the macOS onboarding/prewarm stack and replaces #128820. The commits preserve Hannes Rudolph's authorship.
Stack
Evidence
MacGatewayProfilesTests: 17/17 on the Mac Studio.Draft status
A final owner-boundary repair is intentionally pending: the legacy interaction switch is process-wide, so the profile store and activation-binding store must use one shared coordinator with an overlap regression before this layer is ready.