Skip to content

fix(remote): harden account device control#1668

Merged
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:bob/remote-control-hardening
Jul 21, 2026
Merged

fix(remote): harden account device control#1668
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:bob/remote-control-hardening

Conversation

@bobleer

@bobleer bobleer commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • fix account device deletion failures and make deleting the current device revoke its session, remove it from the account, and log out locally
  • harden relay authentication, delegated-token scopes, tenant isolation, pairing replay protection, WebSocket origin/rate limits, storage quotas, asset paths, and database migration behavior
  • improve desktop, mobile web, and CLI remote-control states, recovery messages, confirmation flows, connection health, localization, CSP, and embedded mobile assets
  • eliminate the existing desktop Rust warnings and Web ESLint warnings; split the mobile chat route and register Prism languages explicitly to remove the mobile production bundle warning

Validation

  • cargo check --workspace --message-format=short
  • cargo test -p bitfun-relay-service --message-format=short (40 passed)
  • cargo test -p bitfun-core remote_connect --message-format=short (49 unit + 2 host-boundary passed)
  • cargo test -p bitfun-cli --message-format=short (303 unit tests plus integration suites passed)
  • cargo test -p bitfun-desktop --message-format=short (175 passed, 2 permission-dependent ignored)
  • cargo test -p bitfun-relay-server --test library_compat --message-format=short
  • pnpm run type-check:web
  • pnpm run lint:web
  • focused Web Vitest suite (8 files, 107 passed)
  • pnpm --dir src/mobile-web run type-check
  • pnpm run build:mobile-web
  • pnpm run check:repo-hygiene
  • git diff --check

Notes

The branch is rebased onto the current upstream main. The two ignored desktop tests require macOS Accessibility permission and are unchanged permission-gated checks.

Fix device deletion and self-removal/logout flows across desktop, mobile, CLI, relay, and persistence layers. Harden authentication, tenant isolation, pairing, WebSocket, storage, and operational limits while improving remote-control UX. Resolve Rust and frontend warnings and refresh embedded mobile assets.
@bobleer
bobleer merged commit bf0b057 into GCWing:main Jul 21, 2026
5 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.

1 participant