⚙️ 運用

📅 最終更新: 2026-05-13
🔗 関連: design.md (index) / requirements.md / sitemap.md / architecture.md / conventions.md

📊 1. 監視 / 計測


💾 2. バックアップ


🌿 3. ブランチ運用

flowchart LR Issue["📌 Issue
(機能単位)"]:::issue Feat["🌿 feat/* branch"]:::branch CI{"🚦 CI
型 + Biome + Vitest"}:::ci Main["🚀 main
(protected)"]:::main Deploy["☁️ Vercel + drizzle migrate"]:::deploy Issue --> Feat Feat -->|push & PR| CI CI -->|fail| Feat CI -->|pass| Main Main -->|build| Deploy classDef issue fill:#eef3f8,stroke:#6b9bc7,color:#1a2533 classDef branch fill:#e8f3ec,stroke:#2f7a4a,color:#1a2533 classDef ci fill:#fff3e6,stroke:#c47a14,color:#1a2533 classDef main fill:#f0f6fc,stroke:#1e5a8e,stroke-width:2px,color:#1a2533 classDef deploy fill:#eef3f8,stroke:#6b9bc7,color:#1a2533

📌 4. Issue 粒度


✍️ 5. コミット規約


🔄 6. マイグレーション運用

環境適用方法
local pnpm db:migrate を手動実行(docker-compose Postgres 向け)
preview Vercel-Neon integration で PR ごとに Neon branch 作成 → Vercel build 内 drizzle-kit migrate で適用
prod main マージ時、Vercel build の drizzle-kit migrate で適用

🚦 7. CI