Skip to content

Fix Organization livez gate and Studio-style openXYOS restart overlay - #53

Merged
XYAIStudio merged 2 commits into
mainfrom
cursor/org-sidecar-restart-livez-1392
Sep 18, 2026
Merged

XYAIStudio merged 2 commits into
mainfrom
cursor/org-sidecar-restart-livez-1392

Conversation

@XYAIStudio

@XYAIStudio XYAIStudio commented Sep 18, 2026 •

Copy link
Copy Markdown
Owner

Summary

When local openXYOS frontend/backend are down, Organization no longer loads the login iframe (which produced a bare Failed to fetch). Opening the local test page now probes livez first and asks the user to click 重启前后端服务.

Restart uses an XYAI Studio-style progress card: mascot + speech bubble, spinner, title「正在重启前后端服务」, and a checklist that advances (stop old process → prefer full local layout → start API+page → wait port → load login). The existing restart_sidecar path still actually stops and starts the FreeOS openXYOS node (top-level live cwd / start-sidecar). After livez is OK, the embedded browser returns to the local test home.

Target branch

  • Base is main

Type of change

  • Bug fix

Test plan

  • Dashboard Organization tests: npx vitest run src/pages/Organization src/layouts/sidebarNav.test.ts — 49 passed
  • cd dashboard && npx tsc --noEmit
  • Backend: uv run pytest tests/unit/test_org_module.py tests/unit/test_sidecar_launch.py tests/unit/desktop/test_nsis_uninstall.py — 58 passed
  • Full make all not run in this environment (dashboard node_modules and Python headers had to be installed ad hoc)
  • Live browser pass against a running sidecar was not available here

Checklist

  • Updated CHANGELOG.md
  • README / docs updated (if needed)

Do not merge.

Open in Web Open in Cursor 

cursoragent and others added 2 commits September 18, 2026 07:30
Probe sidecar livez before loading the local test iframe so a down
frontend/backend surfaces a restart CTA instead of Failed to fetch.
Restart now shows an XYAI Studio-style progress card with advancing
steps and still stops/starts the real FreeOS openXYOS node.

Co-authored-by: XYAI Labs <haoboy8@gmail.com>
Keep chrome buttons from submitting the URL form, update the address
from tab history inside the state updater, and apply Prettier to the
Studio restart overlay.

Co-authored-by: XYAI Labs <haoboy8@gmail.com>
@XYAIStudio
XYAIStudio marked this pull request as ready for review September 18, 2026 07:52
@XYAIStudio
XYAIStudio merged commit c47cb43 into main Sep 18, 2026
5 checks passed
@XYAIStudio
XYAIStudio deleted the cursor/org-sidecar-restart-livez-1392 branch September 18, 2026 07:52
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.

2 participants