Skip to content

[Refactor] Split the setup-new command module into focused owners#71

Draft
roomote-roomote[bot] wants to merge 2 commits into
developfrom
refactor/split-setup-new-god-module-2vbpdwyyi59yd
Draft

[Refactor] Split the setup-new command module into focused owners#71
roomote-roomote[bot] wants to merge 2 commits into
developfrom
refactor/split-setup-new-god-module-2vbpdwyyi59yd

Conversation

@roomote-roomote

Copy link
Copy Markdown
Contributor

Created by Roomote. Follow up by mentioning @roomote or in the web UI.

What changed

Split the setup-new onboarding command surface out of a single ~2.6k-line module into focused owners while keeping the public tRPC entry points stable:

  • shared persistence / selection / qualification helpers
  • chat handoff resolution (Slack, Telegram, Teams)
  • provider and bootstrap config saves
  • setup status
  • onboarding launch (start / cancel / reset / selection)
  • fenced queued-task claim and launch lifecycle

Co-located the matching tests with those owners (config, onboarding, queued-tasks).

Why this change was made

Recent setup-onboarding work (Teams handoff, queue claim fencing, and related PRs) kept landing as more branches in one file. That made night-to-night fixes riskier and harder to review. This is a behavior-preserving structure split so each concern has a clear owner going forward.

Impact

No intentional user-facing behavior change. Reviewers and later onboarding work can touch status, config, launch/handoff, or queue lifecycle without carrying the full god module.

@roomote-roomote

roomote-roomote Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor Author

No code issues found. See task

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