CodeIssuesPull RequestsActionsSecurityInsights
✨ AI
More
Settings

feat(spine): heartbeat failure detection — the platform notices its own outages #5456

Merged⚡ AI-generatedXSccantynz wants to mergefeat/spine-heartbeatsmainopened 24d ago
ccantynzcommented 24d ago

Owner's repeated ask, delivered: the spine. Seven vital signs, each time-boxed, exception-proof, and honest ("cannot check" = unknown, never ok):

  • database · ai_provider (a real 1-token inference probe — the only check that catches an exhausted balance) · deploy_freshness (latest merge vs running build) · activity_flow · error_rate · git_store · ai_review_integrity (reviews failing open)

A heartbeat flipping ok→failing fires once into reportError (platform_errors + existing admin surfaces); state remembered in system_flags. /admin/spine board + /api/spine JSON returning 503 when failing so any dumb uptime monitor can page on it.

This would have caught, days early, everything discovered by screenshot this week: the dead AI balance, deploy lag, silent gates, stalled feeds.

tsc clean.

🤖 Generated with Claude Code

ccantynzAI Reviewcommented 24d ago

AI Triage

(no summary)

Priority: medium Risk area: mixed

Suggested labels: (no label suggestions) Suggested reviewers: (no reviewer suggestions)

Suggestions only — nothing has been applied. The PR author stays in control.

gluecron[bot]🤖 botAI Reviewcommented 24d ago

AI review unavailable

The platform's AI balance is exhausted, so AI generation is temporarily unavailable. Nothing was lost. You can queue this as a repair for the internal agent from the repository's Health page, or try again once the balance is restored. The PR is otherwise unchanged.

Cross-repo impact

See what breaks downstream if this PR merges.

Analyze →
⮌ Merged

This pull request was merged into main.

c comment · e edit title · m merge · a approve · r request changes · ? shortcuts