Skip to content

fix(client): improve sandbox cold-start reliability and project sync for v0.0.2 - #22

Merged
rcyw merged 1 commit into
mainfrom
fix/client-cold-start-stability
Mar 3, 2026
Merged

fix(client): improve sandbox cold-start reliability and project sync for v0.0.2#22
rcyw merged 1 commit into
mainfrom
fix/client-cold-start-stability

Conversation

@rcyw

@rcyw rcyw commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR improves Deck desktop startup reliability and first-run UX for local sandbox cold starts, and aligns landing/demo assets + release docs for v0.0.2.

What changed

  1. Client startup and project detection
  • Wait for OpenCode health before reporting local sandbox start success.
  • Move local project detection ownership to Rust (/path-based) with lifecycle events and retry command.
  • Add configurable startup timeouts:
    • DECK_SANDBOX_OPENCODE_HEALTH_TIMEOUT_MS (default 60000, clamped 5000-300000)
    • DECK_SANDBOX_PROJECT_PATH_TIMEOUT_MS (default 120000, clamped 5000-300000)
  • Prevent remote profiles from being gated by local detecting-project logic.
  • Fix transient status flicker (running briefly reverting to checking).
  1. Startup performance and stability
  • Avoid redundant health/path sync behavior during startup.
  • Defer non-critical startup queries and reduce first-load request pressure.
  • Keep project sync deduped/scoped and reduce repeated retry log noise.
  1. UI / logging polish
  • Add clearer cold-start phase hints and elapsed-time messages.
  • Fix nested button markup warning in log viewer row.
  1. Landing/demo/docs
  • Standardize demo media pipeline around apps/landing/public/demo.mp4 + ffmpeg-generated assets.
  • Add apps/landing/scripts/generate-demo-assets.sh and assets:demo script.
  • Update root README media references to landing assets and remove old duplicate media path.
  • Move changelog entries from Unreleased to 0.0.2.

Breaking changes

  • None.

Validation

  • cargo check --manifest-path apps/client/src-tauri/Cargo.toml
  • pnpm --filter @cofy-x/deck-app run typecheck
  • Targeted eslint checks for touched client files
  • Landing asset generation/build verified

Release impact

  • Recommended release version: v0.0.2 (patch).

@rcyw
rcyw merged commit 613e4e5 into main Mar 3, 2026
@rcyw
rcyw deleted the fix/client-cold-start-stability branch March 3, 2026 11:15
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.

1 participant