Skip to content

feat(ui): identify cloud providers in session pickers - #153288

Merged
roboclaw-bot merged 4 commits into
mainfrom
feat/cloud-provider-picker-icons
Sep 20, 2026
Merged

roboclaw-bot merged 4 commits into
mainfrom
feat/cloud-provider-picker-icons

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Sep 20, 2026 •

Copy link
Copy Markdown
Collaborator

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

  • Focused producer, catalog, DTO, picker, aliases/fallback, accessibility, selection, and Move tests passed. The final cache-registration/reload regression failed before the repair; the repaired catalog/service/Gateway run passed all 70 tests.
  • Source-app + isolated mock-Gateway before/after captures in light/dark themes at 1440×1000 and 390×1000; the synthetic production profile routes through Crabbox and identifies AWS. Browser assertions verify 14×14 slots and 88% Hetzner optical sizing.
  • Independent P2 autoreview: scoped-clean, no actionable findings.
  • Core/UI/extensions type checks, UI build, format/style, i18n, protocol-generation, SDK API/export checks, and docs-link checks passed for their relevant inputs. Core typing was rerun after the reload repair.

Local validation gaps: declaration-dependent lint correctly refused the nested checkout because ancestor node_modules manifests 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.

  • 14 focused UI browser/unit tests passed, including browser-computed names/descriptions, generic fallback, tooltip content, default hints, and disabled reasons.
  • UI production/test typing, i18n verification, production build, and a fresh independent P2 review passed.
  • The complete local UI E2E invocation was refused before test admission by the host loopback proxy. The documented isolated runner is unavailable on this host; no proxy or isolation guard was bypassed. Full exact-head hosted CI remains required.

Before / after — desktop

Before: generic cloud icon for production/AWS

After: AWS identity in the selected control and provider rows

Before / after — mobile

Before: mobile provider picker

After: mobile provider marks with preserved selection and summaries

roboclaw-bot and others added 2 commits September 19, 2026 23:58
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]>
@roboclaw-bot roboclaw-bot self-assigned this Sep 20, 2026
@clawsweeper

clawsweeper Bot commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui gateway Gateway runtime extensions: crabbox size: L maintainer Maintainer-authored PR labels Sep 20, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 20, 2026
@clawsweeper

clawsweeper Bot commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 19, 2026, 11:10 PM ET / September 20, 2026, 03:10 UTC (Revision 5).

ClawSweeper review

What this changes

Adds 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
Reviewed head: f60276fdefcdf1290a6ced45f2b0cadc559c7443

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, maintainable feature with convincing visual evidence and meaningful boundary coverage; no blocking defect was found.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Four inspected source-Control-UI screenshots with an isolated mock Gateway show the shared picker renderer displaying backend marks on desktop and mobile while retaining profile and machine text; browser accessibility and catalog tests provide supplemental coverage.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): Four inspected source-Control-UI screenshots with an isolated mock Gateway show the shared picker renderer displaying backend marks on desktop and mobile while retaining profile and machine text; browser accessibility and catalog tests provide supplemental coverage.
Evidence reviewed 9 items Pinned change and review continuity: Reviewed the merge-base-to-head changes. Comparing the previous reviewed head with the current head shows only one tooltip-text expectation update; the exact incompatibility reason and selection/dispatch guards remain. The previous completed review recorded no findings.
Current main still lacks backend presentation: Current main's picker uses the supplied generic icon and routing providerId; its existing machine catalog has no display-identity hook or cached display ID.
Latest-release comparison: The picker source at the supplied v2026.9.5 release commit also uses generic icon input and routing providerId, rather than backend presentation metadata.
Findings None None.
Security None None.

How this fits together

The 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]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +243, Tests +471, Docs +39. Total +753 across 44 files.

View PR surface stats
Area Files Added Removed Net
Source 24 267 24 +243
Tests 17 543 72 +471
Docs 3 39 0 +39
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 44 849 96 +753

Review metrics

Metric Value Why it matters
Public contract additions 1 optional provider hook; 1 optional response field; 0 configuration options The documented extension preserves providers that omit presentation metadata.
Production versus test growth Production +137 net lines; tests/support +471 net lines Excluding assets, docs, and baseline data, production growth implements the metadata pipeline and shared rendering; tests cover fallback, reloads, accessibility, and selection.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #153312
Summary: This PR is the implementation candidate for the linked open feature request; both remain open pending landing.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Technical review

Best 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.

Labels

Label justifications:

  • P3: Recognizable backend icons improve picker ergonomics without fixing a blocked execution workflow.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): Four inspected source-Control-UI screenshots with an isolated mock Gateway show the shared picker renderer displaying backend marks on desktop and mobile while retaining profile and machine text; browser accessibility and catalog tests provide supplemental coverage.
  • proof: sufficient: Contributor real behavior proof is sufficient. Four inspected source-Control-UI screenshots with an isolated mock Gateway show the shared picker renderer displaying backend marks on desktop and mobile while retaining profile and machine text; browser accessibility and catalog tests provide supplemental coverage.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. Four inspected source-Control-UI screenshots with an isolated mock Gateway show the shared picker renderer displaying backend marks on desktop and mobile while retaining profile and machine text; browser accessibility and catalog tests provide supplemental coverage.

Evidence

What I checked:

  • Pinned change and review continuity: Reviewed the merge-base-to-head changes. Comparing the previous reviewed head with the current head shows only one tooltip-text expectation update; the exact incompatibility reason and selection/dispatch guards remain. The previous completed review recorded no findings. (ui/src/e2e/new-session-page.places-live.e2e.test.ts:198, f60276fdefcd)
  • Current main still lacks backend presentation: Current main's picker uses the supplied generic icon and routing providerId; its existing machine catalog has no display-identity hook or cached display ID. (ui/src/pages/new-session/cloud-target.ts, 6561d0be7d7b)
  • Latest-release comparison: The picker source at the supplied v2026.9.5 release commit also uses generic icon input and routing providerId, rather than backend presentation metadata. (ui/src/pages/new-session/cloud-target.ts, ec9c1a13db89)
  • Cosmetic metadata stays with existing owners: The existing catalog validates and caches the optional display ID, invalidates it on provider/settings replacement, and suppresses throwing cosmetic hooks. Crabbox derives it through its local settings parser; the response projects only the bounded identifier. No allocation, persistence, credentials, or authorization decision is added. (src/gateway/worker-environments/provider-machine-catalog.ts:53, f60276fdefcd)
  • Public contract and linked scope: The captured PR body explicitly records retaining the optional synchronous hook and optional response field under the approved scope. Documentation specifies omission/error fallback and unchanged routing. The same-author open request at [Feature]: Identify configured cloud backends in environment pickers #153312 describes this exact feature and identifies this branch as its implementation candidate. Public docs: docs/plugins/sdk-overview/capabilities.md. (docs/plugins/sdk-overview/capabilities.md:55, f60276fdefcd)
  • Inspected visual proof: Inspected all four downloaded PR-body images: desktop and mobile before/after pairs visibly replace generic cloud icons with backend marks while retaining production, Linux, and Standard text. The captured body identifies the environment as the source Control UI with an isolated mock Gateway and synthetic profiles. These images prove presentation, not live provisioning. Captured context identity: d945afac6d89323b2e42853a61c5c8b1adfbab644bdb2fe08239c146548fa108.

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Patrick-Erichsen: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (4 earlier review cycles)
  • reviewed 2026-09-20T00:31:29.343Z sha b8505cb :: blocked before merge. :: none
  • reviewed 2026-09-20T00:40:24.594Z sha b8505cb :: blocked before merge. :: none
  • reviewed 2026-09-20T01:33:32.086Z sha b8505cb :: blocked before merge. :: none
  • reviewed 2026-09-20T02:52:48.030Z sha 531ab1e :: needs maintainer review before merge. :: none

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]>
@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Sep 20, 2026
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]>
@roboclaw-bot
roboclaw-bot merged commit 361ce47 into main Sep 20, 2026
219 checks passed
@roboclaw-bot
roboclaw-bot deleted the feat/cloud-provider-picker-icons branch September 20, 2026 14:03
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 21, 2026
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation extensions: crabbox gateway Gateway runtime maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: L status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Identify configured cloud backends in environment pickers

1 participant