Skip to content

Acceptance Testing: CommitService::CommitsByMessage

~Conversation: #384 (closed)

See the Migration Process documentation for more information on the Acceptance Testing stage of the process.

Feature Toggle Name: gitaly_xxxxx


1. Preparation

2. Development and Staging Trial

  • Enable on dev.gitlab.org:
    • ssh into dev.gitlab.org and enable the feature running by running Feature.get('gitaly_FEATURE_NAME').enable on a rails console.
    • Perform some testing and leave the feature enabled
  • Enable on staging.gitlab.com in #development
    • Perform some testing and leave the feature enabled

2. Low Impact Trial

  • Set Gitaly to 5% using the command !feature-set gitaly_FEATURE_NAME 5 in #production
  • Leave running for at least 2 hours
  • Monitor sentry, grafana and kibaba links above, every 30 minutes
    • On usual activity, disable trial with !feature-set gitaly_FEATURE_NAME false in #production

2. Mid Impact Trial

  • Set Gitaly to 50% using the command !feature-set gitaly_FEATURE_NAME 50 in #production
  • Leave running for at least 24 hours
  • Monitor sentry, grafana and kibaba links above, every few hours
    • On usual activity, disable trial with !feature-set gitaly_FEATURE_NAME false in #production

2. Full Impact Trial

  • Set Gitaly to 100% using the command !feature-set gitaly_FEATURE_NAME 50 in #production
  • Leave running for at least a week
  • Monitor sentry, grafana and kibaba links above daily
    • On usual activity, disable trial with !feature-set gitaly_FEATURE_NAME false in #production

3. Outcome

  • Report on the outcome of the tests (leave comments on this issue)

    • Did the migration perform as expected?
    • Did the code have reasonable performance characteristics?
    • Did error rates jump to an unacceptable level?
  • Additional Runbook information required?

    • If so, was it added? (link to MR)
  • Prometheus Alerts Added

    • If so, was it added? (link to MR)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information