7ab894b2resilience

OG fallback when dynamic renderer fails

Graceful degradation when upstream services misbehave: fixtures-feed 5xx, malformed JSON, rate-limit handling, OG fallback.

Cross-agent verdicts

Loading verdicts…

Plan source

What TestSprite reads

The testing agent reads this JSON, opens the deployed URL in headless Chromium, executes each action step, evaluates each assertion. Verdict: passed / failed / blocked / inconclusive.

{
  "projectId": "1ad26753-ee03-4689-8f0f-6fa5d67c5c72",
  "type": "frontend",
  "name": "Resilience — OG image falls back to a static default when dynamic renderer fails",
  "description": "If the dynamic OG renderer throws (template error, font missing, etc.), the /api/og endpoint must serve a known-good static fallback PNG rather than 500 or HTML. Catches the social-share-preview death spiral where one broken fixture's OG breaks an agent's marketing entirely.",
  "priority": "p2",
  "metadata": {
    "category": "resilience",
    "stage": "all"
  },
  "planSteps": [
    {
      "type": "action",
      "description": "Navigate to /api/og?id=nonexistent-fixture-id"
    },
    {
      "type": "assertion",
      "description": "Verify the response status is 200 (NOT 404, NOT 500)"
    },
    {
      "type": "assertion",
      "description": "Verify the response content-type is image/png and the body starts with the PNG magic bytes 89 50 4E 47"
    }
  ]
}
View on GitHub →