Mimir

Issue: Investigate Inventory Service operational risk 14

github
inventory
ad5a60795208

github/issue-gh-4014-inventory.md

Issue: Investigate Inventory Service operational risk 14

ID: GH-4014 Date: 2025-09-13 Repository: acme-commerce/inventory-service Service: Inventory Service Owner: Supply Platform Status: open Type: issue

Summary

This issue tracks production-readiness work for the Inventory Service. The concern is related to missing idempotency key handling in a replay worker. The implementation area touches API contracts API-INVENTORY-01, API-INVENTORY-02, service telemetry, and operational runbooks.

Engineering Notes

  • Validate that retries are bounded and idempotency keys are respected.
  • Add structured logs with service, correlation_id, and customer_impact fields.
  • Confirm dashboards show p95 latency, error rate, dependency saturation, and queue depth.
  • Cross-service impact should be reviewed with Checkout Service, Billing Service, Inventory Service, Authentication Service, and Notification Service owners when applicable.

Acceptance Criteria

  1. Contract tests cover expected and malformed payloads.
  2. Runbook references are updated for Inventory Service.
  3. The change can be linked from Jira remediation tickets and incident reviews.