正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。

Development Considerations and Caveats

一貫した開発プロセスとドキュメントを確保するため、GitLabへのすべての貢献は英語で提出する必要があります。そのため、GitLabへの貢献に関するドキュメント(https://docs.gitlab.com/development/に掲載)も英語でのみ提供されています。

以下を希望される場合:

  • コードの貢献を提出する
  • バグの報告または修正
  • 機能や改善の提案
  • ドキュメントへの貢献

これらのページの英語版のガイドラインに従ってください。

このページの英語版にアクセスしてください。

This guide helps contributors navigate common development challenges and avoid potential pitfalls when working on GitLab CE and EE.

Consider database and token formatting changes

All deployed code should be designed to support rollbacks, as they are often the fastest way to mitigate incidents. Engineer On Call (EOC) or Incident Manager On Call (IMOC) teams likely do not have full visibility into rollback impacts, so assume any deployment could be reversed.

In addition to following the database migration guide for reversibility, pay special attention to data format changes that affect user-stored data.

When modifying formats for user-stored data (such as authentication tokens, configuration files, or cached values), consider using a phased deployment approach:

  1. Phase 1: Deploy validation logic that accepts both old and new formats
  2. Phase 2: Deploy issuance logic that creates data in the new format

This approach ensures:

  • Older self-managed instances have backward compatibility support
  • New format data is only created after validation logic is deployed
  • Rollbacks won’t create validation failures for newly-issued data
  • Users experience no disruption during format transitions