Skip to content

Fix false SVG service outages caused by cache policy change - #72

Merged
seveibar merged 2 commits into
mainfrom
fix/svg-health-cache-policy
Oct 5, 2026
Merged

seveibar merged 2 commits into
mainfrom
fix/svg-health-cache-policy

Conversation

@seveibar

@seveibar seveibar commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

The SVG service returns valid PCB and schematic images with public caching and stale-while-revalidate, but the health check rejects them because it requires immutable. Accept the current public cache policy and explicitly reject no-store error responses, while keeping the HTTP, content-type, SVG body, and timeout checks.

Update the regression fixture to use the live cache header and cover no-store responses.

Validation: all 5 Bun tests pass; TypeScript and formatting checks pass; the updated live PCB/schematic health check returns { ok: true }.

@vercel

vercel Bot commented Oct 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
status Error Error Oct 5, 2026 5:35pm UTC

Request Review

@seveibar
seveibar merged commit a3cf42f into main Oct 5, 2026
4 of 5 checks passed
@tscircuitbot

Copy link
Copy Markdown
Contributor

Thank you for your contribution! 🎉

PR Rating: ⭐⭐
Impact: Minor

Track your contributions and see the leaderboard at: tscircuit Contribution Tracker


This branch had an error being deployed

1 failed deployment
Preview — a3301428 Deployed Oct 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants