Skip to content

fix(desktop): stabilize local startup and cloud reconnect#261

Merged
lefarcen merged 7 commits intomainfrom
fix/app-startup-issues
Mar 18, 2026
Merged

fix(desktop): stabilize local startup and cloud reconnect#261
lefarcen merged 7 commits intomainfrom
fix/app-startup-issues

Conversation

@PerishCode
Copy link
Copy Markdown
Contributor

Summary

  • upgrade the desktop PGlite runtime, reset incompatible local PGlite state on version changes, and keep the Electron renderer on same-origin API requests through the desktop web sidecar
  • replace the generated web sidecar inline script with a real source module, and improve desktop cloud connect/disconnect/status handling during reconnect flows
  • merge the latest origin/main updates into this branch, including the current desktop/cloud model UX work and docs/site changes

Keep desktop cloud sign-in resumable after welcome page reloads, use the host bridge when opening browser auth, and align default model fallbacks with the new link Claude default.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 18, 2026

Deploying nexu-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 44a6f7c
Status: ✅  Deploy successful!
Preview URL: https://3ea2cf79.nexu-docs.pages.dev
Branch Preview URL: https://fix-app-startup-issues.nexu-docs.pages.dev

View logs

@github-actions
Copy link
Copy Markdown
Contributor

🚨 DB Migration Checks Failed

Caution

One or more required DB migration checks failed. This PR is blocked until all required DB migration checks pass.

Check Result
Verify DB migration sync (missing migration files) ❌ Failed
Verify DB migration sync (schema/migration mismatch) ⏭️ Skipped
Check dangerous migration SQL ✅ Passed

❌ Verify DB migration sync (missing migration files)

Caution

Required check failed. drizzle-kit generate produced migration drift not reflected in this PR.

Failure Classification

  • Missing migration files in PR: schema changed but generated migration artifacts were not committed.

Pass Criteria

  • Re-running drizzle-kit generate introduces zero changes under apps/api/migrations.
  • All migration SQL and snapshot/journal artifacts needed by current schema are included in the PR.

Schemas Missing Corresponding Migration Files

  • apps/api/src/db/schema/index.ts

Generated Migration Artifacts Not Included In PR

  • apps/api/migrations/0015_shocking_logan.sql
  • apps/api/migrations/meta/0015_snapshot.json

Detected Drift (git status --porcelain -- migrations)

 M apps/api/migrations/meta/_journal.json
?? apps/api/migrations/0015_shocking_logan.sql
?? apps/api/migrations/meta/0015_snapshot.json

Pass Gate: all required checks in the table above must be ✅ Passed.

Workflow run: https://github.com/nexu-io/nexu/actions/runs/23248553679

@lefarcen lefarcen merged commit d200a2b into main Mar 18, 2026
8 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.

2 participants