Garment.id
🇮🇩 Indonesian
  • 🇮🇩 Indonesian
  • 🇺🇸 English
Home
Core APITenant APISupport CenterChangelog
Home
Core APITenant APISupport CenterChangelog
Github
Instagram
|
🇮🇩 Indonesian
  • 🇮🇩 Indonesian
  • 🇺🇸 English
🇮🇩 Indonesian
  • 🇮🇩 Indonesian
  • 🇺🇸 English
  1. Home
  • Introduction
  • 01 - Project Structure
  • 02 - Context Boundaries
  • 03 - Central Auth Runtime
  • 04 - Central Billing
  • 05 - Tenant Runtime
  • 06 - FE Integration Contracts
  • 07 - Security, Middleware, and RLS
  • 08 - Events, Jobs, Listeners, Notifications, Observers
  • 09 - Testing and Quality Gates
  • 10 - Operations Runbook
  • 11 - Architecture Decisions (ADR Ringkas)
  • 12 - API Endpoint Catalog (v1)
  • 13 - Class Catalog by Context
  • 14 - Feature Development Playbook
  • 15 - Migration and Model Conventions
  • 16 - Service, Support, and Trait Contracts
  • 17 - Auth Business Scenarios and Decision Tree
  • 18 - Config Reference and Impact
  • 19 - Migration and Model Cookbook
  • 20 - Billing and Provisioning Business Flows
  • 21 - FE Error Handling Matrix
  • 22 - Incident Playbooks
  • 23 - Data Ownership Matrix
  • 24 - Documentation Governance and Changelog
  • 25 - Tenant Authorization Backend Guide
Home
Core APITenant APISupport CenterChangelog
Home
Core APITenant APISupport CenterChangelog
Github
Instagram
|
🇮🇩 Indonesian
  • 🇮🇩 Indonesian
  • 🇺🇸 English
🇮🇩 Indonesian
  • 🇮🇩 Indonesian
  • 🇺🇸 English
  1. Home

22 - Incident Playbooks

Dokumen ini berisi SOP teknis untuk insiden runtime utama.

1. Refresh Token Replay / Fingerprint Mismatch#

Gejala:
banyak 401/403 di auth runtime
activity menunjukkan replay/fingerprint mismatch
Langkah:
1.
cek logs dengan request_id terkait
2.
cek endpoint /auth/activities/suspicious
3.
verifikasi token rotation path di auth flow
4.
force logout session terdampak jika perlu
5.
dokumentasikan root cause

2. Tenant Context Mismatch#

Gejala:
403 pada endpoint tenant
header tenant tidak match token tenant
Langkah:
1.
verifikasi token tenant_id
2.
verifikasi X-Tenant-ID pada client
3.
cek middleware SetTenantContext dan ValidateTenantToken
4.
instruksikan FE reset tenant context dan select ulang

3. Billing Webhook Failure#

Gejala:
invoice/subscription state tidak update
dunning stuck
Langkah:
1.
cek ingress webhook provider endpoint
2.
cek forensic records (BillingWebhookForensicService)
3.
pastikan signature/provider mapping valid
4.
rerun reconciliation/report command jika dibutuhkan

4. Cluster Connection Issue#

Gejala:
tenant runtime query error connection
provisioning taxonomies gagal
Langkah:
1.
cek cluster registry (ListClustersCommand)
2.
probe cluster (ProbeClusterCommand)
3.
cek ClusterConnectionManager config mapping
4.
re-run migration cluster jika perlu

Post-Incident Checklist#

incident summary + root cause
preventive action item
test case tambahan bila ada gap
update dokumentasi playbook jika pattern baru ditemukan
Diubah pada 2026-03-03 22:25:30
Sebelumnya
21 - FE Error Handling Matrix
Berikutnya
23 - Data Ownership Matrix
Built with