Repository navigation
ops: scheduled uptime monitor for /api/health of the showcase - #117
Merged
Merged
Conversation
Why: nothing watched the health endpoint; a down showcase went unnoticed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Fluory
marked this pull request as ready for review
October 9, 2026 23:56
This branch had an error being 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.
Warum
Fixes #110
Arbeitsstand
/api/healthder Showcase regelmäßig auf und alarmiert bei Ausfall.uptime.yml, Doku in operations.md, CHANGELOG.mainlaufen; Benachrichtigungseinstellungen des Owners prüfen.aiService: startingist kein Fehler.SHOWCASE_URLtesten.Was ist passiert (Klartext)
Bisher schaute niemand auf den Gesundheits-Endpunkt der Showcase. Jetzt ruft ein geplanter GitHub-Workflow ihn alle 15 Minuten von außen auf. Antwortet die Seite nicht, mit einem Fehlercode oder mit einem Status ungleich „ok“, wird der Lauf rot und GitHub benachrichtigt den Repo-Owner. In der Zusammenfassung jedes Laufs stehen die wichtigsten Zahlen: Datenbank, Speicher, KI-Dienst und wartende Aufträge. Der Zustand „KI-Dienst startet“ (Kaltstart) löst bewusst keinen Alarm aus. Die Doku sagt, wer alarmiert wird und was dann zu tun ist.
Plan-Pflicht (SYSTEM.md §4)
Geändert
.github/workflows/uptime.yml: neuer Cron-Workflow (15 min + manuell),contents: read, 20 s Timeout, 2 Retries, curl + jq, Kennzahlen im Job-Summary.docs/technical/operations.md: Abschnitt „Uptime monitor (showcase)“ (Monitor, Intervall, Empfänger-Rolle, Vorgehen bei Alarm, Link zu Frequent failures).CHANGELOG.md: Eintrag unter Unreleased.Nachweis (SYSTEM.md §11)
verify: grün – CIcheckRun 38006615607 am PR-Kopf b173c05 (nur Workflow + Doku, keine Code-Änderung); Workflow-Skript lokal gegen die Live-URL: OK-Fall Exit 0, falscher Pfad 404 → Exit 1. Die Gesundheits-Tests (kein Leck von Verbindungsdetails) sind unberührt.verify:full/ E2E-Spec: nicht betroffenhttps://requestflow-doc-edit.vercel.app/api/healthausgeführt (jq 1.7.1) → Exit 0, Tabelle: status ok, database ok, storage ok, aiService ok, request-process 0, request-export 0. Negativfall (falscher Pfad) → HTTP 404,::error::, Exit 1. YAML mit PyYAML geparst (gültig). actionlint nicht verfügbar. Der Workflow selbst lief noch nicht auf GitHub (Schedule/Dispatch erst aufmain); der echte Alarmtest steht aus.Doku-Entscheidung (genau eine)
[Unreleased](sichtbares Feature oder Verhalten – im selben PR, nie „später")Entferntes oder Umbenanntes: nichts entfernt
Dateigrößen und neue Bausteine (SYSTEM.md §7)
Dateien über 500 Zeilen im Diff:
Über 800 Zeilen mit neuer Fachlogik oder über 1000 Zeilen (P1/P2): nicht betroffen
Neue Shared-Komponente, Utility-Datei, Adapter oder fachlicher Service:
Subagent-Einsätze
Keine
Risiken / offene Punkte
🤖 Generated with Claude Code