Skip to content

feat!: remove group chats - #153

Merged
cheetahbyte merged 1 commit into
mainfrom
remove/group-chats
Nov 22, 2026
Merged

cheetahbyte merged 1 commit into
mainfrom
remove/group-chats

Conversation

@cheetahbyte

Copy link
Copy Markdown
Contributor

Summary

Remove group chats from the server runtime, API, generated contracts, and web client. Add restart-safe startup cleanup that permanently removes legacy group data while preserving member bots, direct chats, shared file bytes, memories, skills, and learned-change reversibility. Update documentation and upgrade warnings.

Evidence

  • Full server suite: 1,157 passed, 118 skipped, zero failed.
  • Focused upgrade/auth/server tests: 45 passed; focused conversation/pins/attention/library DOM tests: 19 passed.
  • Regression for sibling learning reviews failed before the fix and passes afterward, including orphan reviews and interrupted cleanup/replay.
  • Server typecheck, scoped lint, formatting, OpenAPI drift, docs validation/build, and diff checks pass.
  • Full checks are not green: the baseline already had 43 emulator/avatar lint errors, six avatar type errors, and three test failures plus one error. The full suite before the final regression correction reported 1,266 passed and 118 skipped with those same failures. Commit and push hooks were bypassed; unrelated failures were not changed.
  • Not run: browser smoke tests and opt-in workspace integration tests. No real account data or paid APIs were used.

Risk and rollback

Reversibility: Irreversible after upgrade without a backup.

Blast radius: Group-chat APIs/events, web navigation, account storage, private group/review histories, group pins, queued notifications, and group-only uploaded files.

Back up the complete data directory before upgrading. Cleanup finishes before workers start, retries safely after interruption, and refuses unsupported schemas or unsafe inherited-history relationships. Older clients lose group functionality; native client repositories are unchanged. To recover deleted groups, restore the backup with the previous server version; reverting code alone cannot restore removed data.

Remove group-chat runtime, APIs, events, web navigation, and libraries. Purge legacy group data before workers start with restart-safe cleanup that preserves direct chats, member bots, shared files, and learned changes.

BREAKING CHANGE: group-chat APIs are removed. Upgrading permanently deletes group histories and group-only files, including private group conversations and associated learning reviews. Back up the data directory before upgrading.

Verification: 1157 server tests pass; focused web tests and docs, formatting, OpenAPI, and scoped lint checks pass. Full checks retain pre-existing avatar/tooling lint, type, and test failures; hooks bypassed.
@github-actions

Copy link
Copy Markdown

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit c015165.

@cheetahbyte
cheetahbyte merged commit 10b4b19 into main Nov 22, 2026
7 checks passed
@cheetahbyte
cheetahbyte deleted the remove/group-chats branch November 22, 2026 21:38
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