Coding · Advanced

Testing database migrations across isolated worktrees

Run coding tasks in parallel branches with isolated database instances to verify schema migrations.

Use with BotBento Markdownالعربية

Opens BotBento. Paste the prompt into a bot; nothing is preconfigured.

  1. When something happensPull request or branch updated
  2. ThenRun migrations against sandbox DB
  3. ResultShare test report for review

When multiple automated development tasks run simultaneously, shared databases cause schema collisions and race conditions. This workflow provisions temporary, isolated database instances for each feature branch or worktree, applies proposed SQL migrations, executes automated test suites, and reports results.

Prompt to start with

BotBentoRecommended
Inspect new pull requests or branch tasks for database migrations and code changes. Spin up an isolated ephemeral database instance in the terminal and execute schema migrations. Run the test suite against the live instance. Collect logs, migration diffs, and test outputs. Request user approval before tearing down resources, dropping databases, or posting summary comments back to the repository.