Repository navigation
fix(native): confirm provider removal and reset - #213
Merged
Merged
Conversation
rynfar
force-pushed
the
nw/136-provider-confirm
branch
from
November 4, 2026 19:39
5165763 to
90fb181
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Provider settings removed custom instances and reset defaults immediately, discarding saved settings and custom binary paths without asking.
Both actions now use in-app GPUI confirmation with the web's question, saved-settings warning and conditional default-off warning. The action captures its instance/connection and rechecks grants, settings revision and existence before sending. Duplicate/pending guards, failure notices and successful-removal-before-managed-ACP-cleanup ordering are preserved.
Confirmation restores a trigger only when the captured instance still has an enabled, rendered control in Settings. Otherwise it focuses the stable Settings parent, including while a mutation is pending, after a reset removes its trigger, and after stale removal/denial. Settings also handles FindInThread locally so a server keymap's Cmd-F keeps search inside the modal.
Intake rebase: this PR is based on
917a20bdaa1c9eaa9112faccc914231c0209cd4a. Only the ST-PROVIDERS ledger conflict was resolved. All seven feature-source blobs match516576321c6c46263f3a5be2acafc4c112165367; the other 130 current-base ledger rows, intake source/Issue audit references and UPSTREAM are preserved.Post-rebase checks are RED overall: conformance
--checkexits 1 for staleitem-detail.jsonl, the known release blocker #233. It was not regenerated or fixed here. The parent's generated-fixture structured-blank replay was 6 pass/1 fail; this worker did not rerun that modified fixture. Strict native Clippy, all 1,383 checked-in native tests, theme, 42 parity tests, scoped formatting and normal/snapshot builds pass. Exact command, source, exit and hash receipts:/private/tmp/native-factory-2f5f764a/136-intake-rebase-917/summary.jsonand the adjacent receipts. No new native UI invocation or captures were performed for this metadata-only rebase.Preserved pre-intake evidence on
516576321c6c46263f3a5be2acafc4c112165367: four offscreen behavioral regressions fail before the focus fix: pending confirmation, successful default reset, stale target removal and stale denial. All four now route Cmd-F, Tab and Escape through actual Settings handlers with rendered focus ancestry. These checks retain pending state and use only synthetic in-memory projection/restriction before returning ahead of store/RPC. Two additional captures show the pending/reset states. The original E0432 missing-module red log remains unchanged and is not behavioral red proof; intermediate validator and Cmd-F findings are retained too.Local evidence (no uploads):
/private/tmp/native-factory-2f5f764a/136-evidence/before.png/private/tmp/native-factory-2f5f764a/136-evidence/final-custom-readable.png/private/tmp/native-factory-2f5f764a/136-r2/red-pending.png/private/tmp/native-factory-2f5f764a/136-r2/final/green-pending.png/private/tmp/native-factory-2f5f764a/136-r2/final/state-pending.png,/private/tmp/native-factory-2f5f764a/136-r2/final/state-success.png/private/tmp/native-factory-2f5f764a/136-r2/summary.json,/private/tmp/native-factory-2f5f764a/136-r2/manifest.sha256Limits: real mutation/cleanup RPCs remain unexercised. Separate #202 cached offscreen glyph loss remains visible in some captures. ST-PROVIDERS remains partial; #139's concurrent argument merges and the other 130 ledger rows are unchanged. Web/mobile, contracts and adapters need no changes.
Closes #136.
Built with GPT-6.1 Sol in Codex