mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-11 17:48:44 -05:00
[PR #1073] [MERGED] feat: introduce shared health check logic #1207
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/go-vikunja/vikunja/pull/1073
Author: @kolaente
Created: 7/2/2025
Status: ✅ Merged
Merged: 7/2/2025
Merged by: @kolaente
Base:
main← Head:codex/refactor-healthcheck-implementation📝 Commits (2)
8c99055fix: reuse db session in health checkf2e02c7fix📊 Changes
4 files changed (+64 additions, -21 deletions)
View changed files
📝
pkg/cmd/healthcheck.go(+5 -20)➕
pkg/health/health.go(+46 -0)📝
pkg/routes/healthcheck.go(+5 -0)📝
pkg/webtests/healthcheck_test.go(+8 -1)📄 Description
Summary
health.Checkhelper to verify DB and redis connectionshealth.Checkin/healthroutehealth.Checkfrom thehealthcheckcommandhealth.CheckTesting
mage lint:fixmage test:webhttps://chatgpt.com/codex/tasks/task_e_6863c981236c8322b1e9ae66336f084b
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.