docs: nightly production health-check 2026-06-16 (0 fixes, prod healthy) - #305
docs: nightly production health-check 2026-06-16 (0 fixes, prod healthy)#305njrini99-code wants to merge 1 commit into
Conversation
Daily nightly health-check found no actionable production bugs: - Production main (b310847…) is READY and serving normally. - 4 error-level runtime logs in 24h, all from one user at 14:02:19 UTC with a stale Supabase refresh token. Handled correctly (307 to login). Sentry already ignores AuthApiError in instrumentation.ts. - 1 cron warning from /api/cron/coachhelm-roster-sweep — single-occurrence player-level rejection, designed degradation, returned 200. - 3 FAILED preview deploys all on PR #304's branch, all the same parallel- route conflict (golf/(auth)/demo/page.tsx vs golf/demo/route.ts). NOT a main issue — file does not exist on main; resolution belongs on PR #304's branch. Routine limitations: Supabase MCP (mcp.supabase.com) is not in this environment's egress allowlist, so admin_events / error_logs / pg_stat_statements could not be queried this run. Sentry MCP needs interactive OAuth and was not authenticated. No code change required this nightly. Brief alone, per the routine's "<2 actionable issues → still ship PR with brief" rule.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughAdds ChangesDaily Review Brief
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Caution Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional.
❌ Failed checks (2 errors)
✅ Passed checks (10 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Closing stale draft nightly health-check PR during branch/PR cleanup. Reopen or recreate if still needed. |
Summary
Nightly production health-check for 2026-06-16. No actionable production bugs found — opening this PR per the routine's
<2 actionable issues → still ship PR with briefrule so the run is visible.b310847…) isREADYand serving normally./golf/login) and Sentry already ignoresAuthApiErrorviasrc/instrumentation.ts./api/cron/coachhelm-roster-sweep, single occurrence, route returned 200) — designed degradation per the route's ownlogServerError(…, 'warning').golf/(auth)/demo/page.tsxvsgolf/demo/route.ts). The duplicate file does NOT exist onmain— resolution belongs on PR feat: integration roundup — CoachHelm + stats + demo + a11y + nightly fixes + safe deps #304's branch, not here.Full diagnosis, deployment table, and routine-limitations notes are in the brief:
docs/daily-briefs/2026-06-16.md(the only file in this PR).Fixes applied
None. Triage details for every observed pattern are in the brief, including the explicit reasoning for the two patterns that were classified non-actionable (stale-refresh-token noise = expected behavior + already Sentry-filtered; 1 cron warning = single-occurrence transient that the route already handles by design).
Routine limitations encountered (action requested)
The brief Step-1 promised query results from
admin_events,error_logs, andpg_stat_statements, but the Supabase MCP failed to authenticate becausemcp.supabase.comis not in this environment's network egress allowlist. To get full DB-side coverage on tomorrow's run, please add the host to the routine environment's egress allowlist and re-authenticate the Supabase MCP. The Sentry MCP also needs first-use OAuth, which an unattended routine can't complete.Test plan
docs/daily-briefs/2026-06-16.mdis the only changed filedpl_CWeGKBJ97QwkJnzh9i4oTFddMJZxshould still be the active production target)error_logs/admin_eventsfor 2026-06-15 → 2026-06-16 to confirm nothing was hidden from this run🤖 Generated by Claude Code nightly health-check routine
Generated by Claude Code
Greptile Summary
This PR adds a single documentation file (
docs/daily-briefs/2026-06-16.md) as part of the automated nightly health-check routine. No production code, migrations, or configuration is changed.main.src/proxy.tsappears to be dead code (no imports found insrc/**). The brief correctly classifies this as out-of-nightly-scope cleanup, but it may warrant a dedicated housekeeping PR.Confidence Score: 5/5
Documentation-only change with no code, migrations, or configuration touched — safe to merge after human review.
A single markdown file is added under docs/daily-briefs/. It contains no executable code, no schema changes, and no configuration. The triage reasoning in the brief is sound: the stale-refresh-token pattern is correctly classified as expected behavior already handled by both the app and Sentry, and the three preview failures are correctly scoped to PR #304's branch. The only follow-up surfaced by the brief (dead code in src/proxy.ts) is pre-existing and out-of-scope for this PR.
No files require special attention. src/proxy.ts is flagged in the brief as potentially dead code and may warrant a separate cleanup PR.
Important Files Changed
Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD A[Nightly Routine Starts] --> B[Fetch Vercel runtime logs & deployment status] B --> C{Supabase MCP authenticated?} C -- No --> D[Skip DB-side queries admin_events / error_logs / pg_stat_statements] C -- Yes --> E[Query DB health tables] D --> F[Triage runtime error patterns] E --> F F --> G{Pattern 1: AuthApiError 4 occurrences} G --> H[Single user, stale cookie, 307 redirect to login, Sentry already filters - NOT actionable] F --> I{Pattern 2: Cron sweep warning 1 occurrence} I --> J[Designed degradation, Route returned 200, Single occurrence - NOT actionable] F --> K{Preview deploy failures x3?} K --> L[All on PR 304 branch, Parallel-route conflict, Not present on main - NOT actionable here] H --> M{Total actionable issues?} J --> M L --> M M -- 0 issues < 2 threshold --> N[Ship PR with brief only per routine clause] N --> O[docs/daily-briefs/2026-06-16.md committed to main]%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%% flowchart TD A[Nightly Routine Starts] --> B[Fetch Vercel runtime logs & deployment status] B --> C{Supabase MCP authenticated?} C -- No --> D[Skip DB-side queries admin_events / error_logs / pg_stat_statements] C -- Yes --> E[Query DB health tables] D --> F[Triage runtime error patterns] E --> F F --> G{Pattern 1: AuthApiError 4 occurrences} G --> H[Single user, stale cookie, 307 redirect to login, Sentry already filters - NOT actionable] F --> I{Pattern 2: Cron sweep warning 1 occurrence} I --> J[Designed degradation, Route returned 200, Single occurrence - NOT actionable] F --> K{Preview deploy failures x3?} K --> L[All on PR 304 branch, Parallel-route conflict, Not present on main - NOT actionable here] H --> M{Total actionable issues?} J --> M L --> M M -- 0 issues < 2 threshold --> N[Ship PR with brief only per routine clause] N --> O[docs/daily-briefs/2026-06-16.md committed to main]Reviews (1): Last reviewed commit: "docs(nightly): 2026-06-16 production hea..." | Re-trigger Greptile