feat(health): expose SQLite backup acknowledgment as a Prometheus gauge - #3444
feat(health): expose SQLite backup acknowledgment as a Prometheus gauge#3444bohdansolovie wants to merge 1 commit into
Conversation
…ge (JSONbored#2089) Add backupAcknowledgedGaugeValue and register gittensory_backup_acknowledged at boot alongside the existing advisory. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review result - fixes requiredReview updated: 2026-07-05 07:16:05 UTC
🛑 Suggested Action - Fix Blockers
Review summary Nits — 5 non-blocking
CI checks failing
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
|
Gittensory is closing this pull request on the maintainer's behalf (CI is failing (validate, validate-code)). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Fixes #2089
Summary
backupAcknowledgedGaugeValue()inhealth.ts— returns1when Postgres is in use or backup is acknowledged,0when the boot SQLite backup advisory would firegittensory_backup_acknowledgedgauge at server boot (mirrors existingsqliteBackupAdvisoryinputs)metrics.tsTest plan
backupAcknowledgedGaugeValueunit tests inselfhost-health.test.tsvalidate-codeMade with Cursor