mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
The desktop test package was able to reuse stale Tauri target output even after the frontend and sidecar were rebuilt, which made UI changes look missing after a build. The local macOS build script now clears that cache by default while retaining an opt-in incremental path. The project selector also no longer repeats the active branch because branch and worktree are now first-class launch controls beside it. Constraint: Local macOS test packages must prioritize freshness over incremental build speed Rejected: Keep branch text in the project chip | duplicated the dedicated branch selector and made the launch row harder to scan Confidence: high Scope-risk: narrow Directive: Keep branch selection behavior in RepositoryLaunchControls; DirectoryPicker should only identify the project Tested: cd desktop && bun run test -- DirectoryPicker.test.tsx Tested: cd desktop && bun run lint Tested: SKIP_INSTALL=1 ./desktop/scripts/build-macos-arm64.sh Tested: Opened built app and confirmed sidecar /health returned ok