Repository navigation
feat(ui): identify cloud providers in session pickers - #153288
Conversation
Keep routing identity unchanged while exposing optional locally derived backend display metadata. Share approved monochrome brand marks between cloud rows, selected triggers, and move-session choices. Co-authored-by: steipete <[email protected]>
Track the current provider binding in the existing profile catalog so late registration and plugin reload cannot retain absent or stale display metadata. Co-authored-by: steipete <[email protected]>
|
🦞👀 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 maintainer review before merge. Reviewed September 19, 2026, 11:10 PM ET / September 20, 2026, 03:10 UTC (Revision 5). ClawSweeper reviewWhat this changesAdds cloud-provider icons and accessible backend descriptions to session placement pickers through optional provider metadata, while preserving profile names and routing. Merge readiness✅ Ready for maintainer review This remains useful work absent from current main and the latest release. No actionable introduced defect was found; the accessibility repair preserves existing control names, and the supplied visual proof supports the presentation change. Priority: P3 Review scores
Verification
How this fits togetherThe Gateway turns configured cloud-worker profiles into a catalog consumed by the Control UI. The Place picker and Move dialog use that catalog to display destinations and return the selected profile and machine choices. flowchart LR
A[Configured cloud profiles] --> B[Provider presentation hook]
B --> C[Existing profile catalog]
C --> D[Environment list response]
D --> E[Shared cloud icon resolver]
E --> F[Place picker and Move dialog]
F --> G[Selected profile and machine]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +243, Tests +471, Docs +39. Total +753 across 44 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Keep backend identity provider-authored and cosmetic, using the existing catalog and shared picker renderer with generic fallback and stable accessible names. Do we have a high-confidence way to reproduce the issue? Not applicable as a feature request; current-main source and inspected before screenshots establish the generic-icon behavior being improved. Is this the best way to solve the issue? Yes. The optional provider-authored identifier avoids guessing from profile names, reuses existing catalog ownership, and preserves routing and selection contracts. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 6561d0be7d7b. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
Expose provider details through composed accessible descriptions, including rich-tooltip content, without changing established profile names or selection behavior. Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
Match the composed accessible description while retaining the exact incompatibility reason and all selection/dispatch guards. Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
|
Merged via squash.
|
* feat: identify cloud backends in environment pickers Keep routing identity unchanged while exposing optional locally derived backend display metadata. Share approved monochrome brand marks between cloud rows, selected triggers, and move-session choices. Co-authored-by: steipete <[email protected]> * fix: refresh cloud branding after provider reloads Track the current provider binding in the existing profile catalog so late registration and plugin reload cannot retain absent or stale display metadata. Co-authored-by: steipete <[email protected]> * fix(ui): preserve cloud picker accessible names Expose provider details through composed accessible descriptions, including rich-tooltip content, without changing established profile names or selection behavior. Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]> * test(ui): retain provider context in disabled picker proof Match the composed accessible description while retaining the exact incompatibility reason and all selection/dispatch guards. Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]> --------- Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
Closes #153312
What Problem This Solves
Cloud environment profiles currently share a generic cloud icon, making configured backends hard to recognize, especially after a profile is renamed.
User Impact
Users can recognize AWS, Azure, Daytona, Google Cloud, and Hetzner in the Place picker and Move dialog without losing profile names, operating-system/size summaries, or keyboard-accessible backend information. Machine0/Incus and local containers reuse the server and box glyphs. No configuration changes, migrations, new dependencies, or permission changes are required.
Why This Change Was Made
A small optional provider presentation hook derives a bounded nonsecret backend ID locally. Crabbox uses its validated settings parser; routing remains
crabbox. The existing profile catalog owns caching and fallback, including invalidation when the live provider is registered or reloaded. A shared cloud-domain resolver supplies the approved locally bundled monochrome marks. Branding never reads credentials or runs commands.Public-contract decision: retain the documented optional, synchronous, locally derived presentation hook and optional response field under the maintainer-approved scope. Existing providers may omit it; invalid or throwing metadata keeps generic presentation. Routing, allocation, configuration, storage, and permissions are unchanged.
Low-priority FYI: cc @vyctorbrzezowski (optional feedback, not a required review).
Requested and designed with @steipete.
Work sessions
Evidence
productionprofile routes through Crabbox and identifies AWS. Browser assertions verify 14×14 slots and 88% Hetzner optical sizing.Local validation gaps: declaration-dependent lint correctly refused the nested checkout because ancestor
node_modulesmanifests are visible. An additional SDK composed-resource E2E attempt timed out during its prerequisite runtime build after 300 seconds. Neither is claimed as a pass; exact-head hosted CI must pass before landing. No guard was bypassed.Accessibility repair verification
The full CI run found that appending backend information to accessible names broke existing exact-name picker flows. The repair keeps established control names and supplies backend information through composed accessible descriptions, including the existing rich-tooltip description owner. It does not change the visible design or selection callbacks.
Before / after — desktop
Before / after — mobile