Skip to content

perf(client): optimize frontend and gRPC hot paths - #18

Merged
enkerewpo merged 1 commit into
syswonder:mainfrom
laojiahuo2003:perf/frontend-backend-hotpaths
Nov 10, 2026
Merged

enkerewpo merged 1 commit into
syswonder:mainfrom
laojiahuo2003:perf/frontend-backend-hotpaths

Conversation

@laojiahuo2003

@laojiahuo2003 laojiahuo2003 commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Coalesce frontend updates and render execution trees and Vitals only when needed, with bounded selection animation updates.
  • Store conversation records separately and move images and large tool outputs to IndexedDB. Retain inline payloads until writes commit and preserve saved history when quota recovery cannot safely complete.
  • Reuse unary gRPC channels and coalesce cached discovery and status queries. Bound idle connections and cache entries, invalidate stale endpoints without replaying side-effecting RPCs, and drain pending work during shutdown.

Validation

  • Python unittest suite: 63 passed.
  • Playwright desktop/mobile suite on the final changes: 74 passed.
  • Frontend bundle build, JavaScript syntax check, and git diff --check passed.
  • Temporary regression probes: 7 backend tests and 10 frontend persistence checks passed, including concurrent gRPC failures and storage quota/write failures.
  • Commit authorship check: passed.

Scope and limitations

  • Based on the latest upstream main; includes only the performance implementation and rebuilt frontend bundle, with no new test files, benchmark data, or browser artifacts.
  • Checked consumed interfaces against Robonix v1.1.0. No live-robot end-to-end run was performed.
  • Existing ControlPlan field-number and Vitals timestamp issues are outside this change.
  • When storage cannot accommodate a safe replacement, existing history is retained and the new save can fail rather than deleting recovery data.

Copilot AI balanced review requested due to automatic review settings November 5, 2026 15:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@laojiahuo2003
laojiahuo2003 force-pushed the perf/frontend-backend-hotpaths branch from 1d7e652 to 5351585 Compare November 5, 2026 15:54
@enkerewpo
enkerewpo merged commit 2c99fbf into syswonder:main Nov 10, 2026
3 checks passed
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.

3 participants