Skip to content

chore(scripts): remove the one-off migration and cutover tooling - #327

Merged
jpr5 merged 2 commits into
CopilotKit:mainfrom
NathanTarbert:chore/remove-legacy-migration-tooling
Dec 3, 2026
Merged

jpr5 merged 2 commits into
CopilotKit:mainfrom
NathanTarbert:chore/remove-legacy-migration-tooling

Conversation

@NathanTarbert

Copy link
Copy Markdown
Collaborator

This removes the one-time import script, its transformer and report helpers, the cutover scripts under scripts/cutover/, and their tests. The import was never run against production, and nothing else in the repo calls these files, so they're no longer needed.

Two small doc updates came out of review. The shadow-mode section in docs/deployment.md now says the worker's SHADOW_MODE flag is what holds AI responses back. The bot's flag alone doesn't, because a new thread still queues the response job. The header in apps/discord-bot/src/lib/shadow-mode.ts now says the same thing. The deep-read skill's rule about support-bot comments is also reworded so it no longer names a specific account.

Closes #261.

@jpr5 jpr5 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Removes the never-run one-time import and cutover tooling, plus their tests; nothing else in the repo calls them. CI is green.

@jpr5
jpr5 merged commit 38d07bc into CopilotKit:main Dec 3, 2026
2 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.

Stop the cutover and rollback scripts reporting success while shadow mode is unresolved

2 participants