fix(ops): assert the live monitor on the server-rendered title#614
Conversation
The dashboard hydrates client-side (ssr:false), so "Clinical Guide" never appears in the served HTML and the first monitor run failed on a healthy site. Assert on the server-rendered <title>Clinical KB</title> instead, and print the first 300 bytes of the body on failure so a future mismatch is diagnosable from the run log alone. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe live-domain monitor now checks for ChangesLive domain monitoring
Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary
The first dispatched run of the PT-17 live-domain monitor (#602) failed on a healthy site: the dashboard hydrates client-side (
ssr:false), so "Clinical Guide" never appears in the served HTML. Assert on the server-rendered<title>Clinical KB</title>instead (verified present in the live response just now), and print the first 300 bytes of the body on failure so any future mismatch is diagnosable from the run log alone.Verification
curl -sL https://psychiatry.tools/ | grep -c "<title>Clinical KB</title>"→ 1. Prettier green.🤖 Generated with Claude Code
Summary by CodeRabbit