Skip to content

fix(native): open setup for the selected provider - #261

Merged
rynfar merged 2 commits into
nativefrom
nw/162-setup-navigation
Nov 5, 2026
Merged

rynfar merged 2 commits into
nativefrom
nw/162-setup-navigation

Conversation

@rynfar

@rynfar rynfar commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner

Provider status banners omitted setup-capable providers and could not open the selected account's setup. Settings used a first-row fallback, and focused fields could resolve their owner after selection changed.

Port the web capability flags, fallback copy and Open provider setup action. The corresponding main/side composer supplies the environment, connection and instance; activation and deferred Settings consumption validate that identity. Existing Settings can move to a non-first instance. Missing, removed or stale targets fail closed and cannot survive close, generic navigation or invalidation. Provider selection commits a valid old focused field before switching, or discards a stale one; queued form callbacks check their original generation and input entity.

The review's P2 is fixed: the Advanced health interval has its own environment/connection owner. Removing the explicit provider target keeps fresh interval edits available, including the focused-field close path. Environment or connection invalidation discards the old owner, and rendering refills even a focused stale input. Provider and dynamic-form ownership guards remain in place.

Part of #162. TV-BANNERS remains partial: /usage-limits capability opt-in and its handler remain excluded. #162 stays open. All 130 other actual ledger rows, UPSTREAM, completed compatibility/selected-provider behavior, TV-WATERMARK and DF-COMMENTS are preserved. R1 changes only settings/providers.rs from the initial reviewed head; the PR's actual native base remains e45aeb5d8a90da2a0abbe18cc42211cb50c5b994.

Validation after the last R1 source edit:

  • Compiled behavioral RED first: the existing focused ownership case failed with no interval command plan after target removal. The pre-RPC extraction retained the old production guards before the fix. Its preceding fixture API compiler error is retained and is not behavioral RED.
  • The extended case checks fresh edits without an instance, stale environment/connection values, forced refill and the focused close command plan. Proof stops at the production pre-RPC plans/ownership guards; it does not execute queued blur from every input entity or send a real settings save.
  • Strict workspace Clippy, all 1,400 workspace tests, both essential exact snapshot-feature GPUI cases (ownership and main/side Host integration), theme, all 42 parity tests, conformance generation, normal and explicit private snapshot builds pass.
  • Actual six-file Rustfmt and exact-base check:changed remain RED. Baseline checks establish inherited formatting debt, but not every remaining formatter hunk is claimed to be inherited. R1 added/changed lines were formatted without an unrelated rewrite. No repo-wide fallback was run for R1.

R1 evidence: /Volumes/DevSSD/t3-native-evidence-162-setup-r1/. It retains the initial review, each failed/intermediate/final round, source copies and manifests before/after, patches, exact argv/cwd/times/exits and hashes. published-source-binding.json binds the recorded dirty working bytes to the new Git tree while retaining the actual 284f72 HEAD samples at build time.

Initial evidence remains at /Volumes/DevSSD/t3-native-evidence-162-setup-b45/. Every initial failed/intermediate round remains retained, including the extra full snapshot-feature run with two untouched theme-import file errors, the terminated default check:changed comparison against fork/main, and the restored commit-hook ledger rewrite. None is relabelled as a green final gate.

Before: /Volumes/DevSSD/t3-native-evidence-162-setup-b45/before-generic-settings.png

After: /Volumes/DevSSD/t3-native-evidence-162-setup-b45/after-generic-settings.png

The original PNGs remain byte-identical (7a5f0b49338d6b2190b6c8f8a3d6147180bc466325bffdb92156583fa17ebfaf) and readable generic Providers Settings. The earlier returned-image missing-content observation and append-only correction remain preserved. No R1 app invocation or capture was needed for this state/ownership fix; the original images retain their original build chronology. They are not setup-navigation bug reproduction or full-frame parity proof. Known #202 remains separate, with no new cause established here.

No real-window, performance, live-grants, relay or multi-device verification is claimed. No provider turns, auth/install/refresh/visit writes, new servers or user-bundle changes were used for proof.

Built with GPT-6.1 Sol in Codex

@rynfar
rynfar merged commit b955bff into native Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant