Skip to content

perf(gui): unblock dashboard/models controls and stabilize providers rail - #633

Closed
Wibias wants to merge 6 commits into
lidge-jun:devfrom
Wibias:perf/gui-hot-path
Closed

perf(gui): unblock dashboard/models controls and stabilize providers rail#633
Wibias wants to merge 6 commits into
lidge-jun:devfrom
Wibias:perf/gui-hot-path

Conversation

@Wibias

@Wibias Wibias commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Dashboard: load settings/sidecar/shadow via a dedicated poll (not gated on slow health/usage); session cache for last-known; aria-busy on slow stats only
  • Models: fetch shadow settings on mount so switch/dropdown work while catalog still loads
  • Providers: keep rail order config-stable (no alpha→ready resort flash); prefetch catalog/usage; parallel oauth/accounts

Before/after notes: devlog/gui-load-perf-hot-before-after.md

Test plan

  • Dashboard: Shadow Call Intercept + sidecar/vision usable before tokens/uptime finish
  • Models: shadow controls interactive during catalog load
  • Providers: rail does not jump from alpha to ready/need-setup after discovery
  • Add Provider catalog feels snappier on open
  • gui lint + dashboard-contracts / provider-workspace-data tests

Part of GUI loading split (PERF-1). UI drafts: #607 #630 #629.

Decouple Dashboard sidecar/shadow/settings from health/providers/usage, load Models shadow independently, and keep Providers rail order stable from config while prefetching the add-provider catalog.
@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 93462946-c8b2-493f-90a2-8d9739442174

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

Wibias added 5 commits July 28, 2026 18:03
Split health/providers into their own poll so status, version, uptime, and provider counts are not gated on injection-model. Defer heavier peers until overview is ready, and session-cache overview/usage/startup for instant revisits.
Split multi-agent mode and sidecar/shadow reads into their own polls so the v1/base/v2 toggle and web-search/vision dropdowns are not blocked by slow /api/settings or injection-model. Session-cache MA mode for instant revisits.
Cold/expired startup-health SWR falls back with diagnosticStale=true; keep the payload status instead of the misleading read-failure chip.
@Wibias

Wibias commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded by a single combined GUI UX/perf PR from the local local/gui-ux-perf-bundle worktree (chrome + storage + dense workspaces + hot-path + page-data + later polish).

Closing this split PR to avoid duplicate review; the replacement PR will land against dev shortly.

@Wibias Wibias closed this Jul 30, 2026
Wibias added a commit that referenced this pull request Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant