Skip to content

fix(projects): restore project deletion - #897

Merged
chicoxyzzy merged 1 commit into
masterfrom
fix/projects-delete-existing
Jul 20, 2026
Merged

fix(projects): restore project deletion#897
chicoxyzzy merged 1 commit into
masterfrom
fix/projects-delete-existing

Conversation

@chicoxyzzy

Copy link
Copy Markdown
Member

Summary

  • route Cairnline-only project deletion directly through the authoritative delete and rollback path instead of requiring absent legacy stores
  • update the Cairnline pin so durable handoff command receipts are included in project cleanup
  • keep API failures and ownership blockers inside the delete dialog with exact operator guidance, retry, and focus recovery
  • cover state ownership, both project surfaces, narrow browser behavior, and production-shaped backend wiring

Root cause

Production replacement mode intentionally has no native portable project stores, but deletion tried to load a native snapshot before reaching Cairnline. That returned projects store is required for every delete. Projects with durable handoff receipts also needed the merged Cairnline cascade fix from hecatehq/cairnline#85.

Verification

  • copied the desktop SQLite databases to an isolated data directory; the patched binary deleted the copied existing project with HTTP 200 and a follow-up GET returned 404
  • bun run typecheck
  • bun run lint
  • bun run format:check
  • bun run test (107 files, 2,415 tests)
  • targeted Playwright deletion failure/retry test at desktop and 390px widths
  • GOCACHE=/Users/chicoxyzzy/dev/hecate/.gocache go test -race -timeout 10m ./...
  • independent backend contract review: no findings
  • independent UX/accessibility review: findings fixed, final review clean

@chicoxyzzy
chicoxyzzy merged commit 9ebd6e0 into master Jul 20, 2026
17 checks passed
@chicoxyzzy
chicoxyzzy deleted the fix/projects-delete-existing branch July 20, 2026 04:54
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