Skip to content

feat: add hidden --method flag to data:pg:migrate#3738

Open
coreypurcell wants to merge 1 commit into
heroku:mainfrom
coreypurcell:online-migration-option
Open

feat: add hidden --method flag to data:pg:migrate#3738
coreypurcell wants to merge 1 commit into
heroku:mainfrom
coreypurcell:online-migration-option

Conversation

@coreypurcell
Copy link
Copy Markdown
Contributor

Summary

Opt in to CDC/streaming migrations with an option, remains hidden for now, as we test the feature. Accepts 'snapshot' or 'streaming' and is sent in the configure-migration POST body.

Type of Change

Breaking Changes (major semver update)

  • Add a ! after your change type to denote a change that breaks current behavior

Feature Additions (minor semver update)

  • feat: Introduces a new feature to the codebase

Patch Updates (patch semver update)

  • fix: Bug fix
  • deps: Dependency upgrade
  • revert: Revert a previous commit
  • chore: Change that does not affect production code
  • refactor: Refactoring existing code without changing behavior
  • test: Add/update/remove tests

Testing

Notes:

Steps:

  1. Checkout this branch and then run npm install && npm run build.
  2. Run ./bin/run data:pg:migrate --app test-app --method=streaming
  3. profit

Screenshots (if applicable)

Related Issues

GitHub issue: #[GitHub issue number]
GUS work item: [WI number](WI link)

Allows internal teams to opt in to CDC/streaming migrations without
surfacing the option to customers. Accepts 'snapshot' (default, mapped
to full-load) or 'streaming' (mapped to cdc) and is sent in the
configure-migration POST body.
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