{
  "id": 14751777,
  "title": "Tracing 4 Missing Feature Flag Keys After Delete-Recreate Across Logistics Cost Cohorts",
  "url": "https://urgent.news/2026/10/15/tracing-4-missing-feature-flag-keys-after-delete-recreate-across",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-15T17:41:01.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/ronanhalewood782/tracing-4-missing-feature-flag-keys-after-delete-recreate-across-logistics-cost-cohorts-210"
  },
  "original_language": "en",
  "account": null,
  "summary": "This brief discusses best practices for handling missing feature flag keys in a logistics experiment. When a deleted or recreated feature flag key cannot be resolved, the system should return the caller's typed default value and emit a separate evaluation event to distinguish between a 404 lookup and an intentional fallback. The recommended approach is to maintain an append-only evaluation log and perform a replay test in a Python notebook before advancing the rollout in production. This ensures that both incident questions (why was the tenant assigned the default?) and experiment questions (which cohort incurred the AI cost?) are answered separately. The brief emphasizes the importance of preserving four outcomes for a missing key lookup: an explicit variant, a missing key, a control-plane 404, and a locally unavailable snapshot. Each outcome should carry a unique reason, such as KEY_NOT_FOUND or REMOTE_NOT_FOUND, to facilitate observability and prevent misleading time series analysis. The event contract should include a stable definition identifier or revision when available, or configuration and deployment revisions if not. The event should contain tenant ID, experiment cohort, flag key, definition revision, evaluated value, reason, evaluation timestamp, request correlation ID, and model usage identifiers. By following these guidelines, the logistics experiment can accurately attribute AI cost spend without exposing sensitive shipment data in the flag event.",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}