Repository navigation
Add canary endpoint for e2e alert testing - #59
Merged
Merged
Conversation
Adds a /canary route that returns a configurable HTTP status code, and a settings UI to control it. This lets you add /canary as a monitored site and trigger real incidents to verify email and Slack alerting works. - New `settings` table (key-value) with canary_status_code default 200 - /canary route reads the setting and returns that status code - Dropdown on settings page with color-coded status codes (green/amber/red matching success/soft-fail/hard-fail classification) - Server action with auth check and validation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Updates to Preview Branch (feature/canary-endpoint) ↗︎
Tasks are run on every commit but only new migration files are pushed.
View logs for this Workflow Run ↗︎. |
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jasoncrawford
enabled auto-merge
February 24, 2026 14:37
The canary dropdown added a second combobox to the settings page, causing a strict mode violation in the Slack contact test. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/canaryroute that returns a configurable HTTP status code (read from a newsettingstable in Supabase)settingstable (simple key-value store) with RLS: public read, authenticated writeHow to use
https://<your-app>/canaryand name it "Canary"Test plan
/canaryreturns 200 by default/canaryreturns 500/canaryas a monitored site, set to 500, confirm incident + alerts fire🤖 Generated with Claude Code