Skip to content

test(smoke): expect DEMO_MODE_UNSUPPORTED from demo-guarded routes - #1552

Merged
greatest0fallt1me merged 1 commit into
mainfrom
ci/fix-smoke-demo-code
Oct 24, 2026
Merged

greatest0fallt1me merged 1 commit into
mainfrom
ci/fix-smoke-demo-code

Conversation

@greatest0fallt1me

Copy link
Copy Markdown
Contributor

Main CI fails in Smoke test Vercel bundle after #1526: GET /api/invoices in demo mode now returns the demo guard's DEMO_MODE_UNSUPPORTED code (still HTTP 503) instead of SERVICE_UNAVAILABLE. This updates the smoke assertion to the intended code.

🤖 Generated with Claude Code

#1526 added the demo guard, which returns DEMO_MODE_UNSUPPORTED (503) for
routes that need a database. Update the Vercel bundle smoke check to match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@greatest0fallt1me
greatest0fallt1me merged commit 5b7a197 into main Oct 24, 2026
3 checks passed
@greatest0fallt1me
greatest0fallt1me deleted the ci/fix-smoke-demo-code branch October 24, 2026 19:44
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.

1 participant