Skip to main content

Before you merge

1

Review

  • The pull request has a description, a test plan and at least one approving review.
  • CI is green (verify.yml and the PR run of deploy-cloudflare.yml for the API; ci.yml for the arena).
  • No secrets, .env content or production identifiers in the diff.
2

Compatibility

  • Public response shapes are unchanged, or the arena, admin panel, Telegram bot and docs are updated in step.
  • Database changes are applied to production before the code that needs them is merged.
  • New models have model_leaderboard rows; new providers have their Worker secrets and providers / ai_models rows, and are routed in code.
3

Dry run

  • npx wrangler deploy --dry-run passes for every Worker you change.
  • Docs: mint validate and mint broken-links pass.

Right after it ships

If something is wrong

  1. Roll back first (npx wrangler rollback for Workers, or revert the merge for the API), then investigate.
  2. Note the X-Correlation-Id of a failing request and tail logs with npx wrangler tail dualmind-api.
  3. Write down what happened and what changed in the changelog once it’s fixed.
Last modified on October 18, 2026