tests: all 16 tests now sourced from org (doctor→diagnostics rename, orphaned tests adopted)
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 2s

This commit is contained in:
2026-05-05 09:58:00 -04:00
parent 11383a29d4
commit 817d1c5fec
11 changed files with 105 additions and 41 deletions

View File

@@ -225,8 +225,8 @@ This is the "fail open" principle applied to boot: the system should start even
(format t "==================================================~%")
(handler-case
(progn
(when (fboundp 'doctor-run-all)
(let ((result (doctor-run-all :auto-install nil)))
(when (fboundp 'diagnostics-run-all)
(let ((result (diagnostics-run-all :auto-install nil)))
(setf *health-check-ran* t)
(if result
(progn
@@ -235,10 +235,10 @@ This is the "fail open" principle applied to boot: the system should start even
(progn
(setf *system-health* :degraded)
(format t "DAEMON: Health check found issues.~%")
(format t " Run 'passepartout doctor --fix' to repair.~%")))))
(format t " Run 'passepartout diagnostics' to repair.~%")))))
(setf *health-check-ran* t))
(error (c)
(format t "DOCTOR ERROR: ~a~%" c)
(format t "DIAGNOSTICS ERROR: ~a~%" c)
(setf *system-health* :unhealthy)
(setf *health-check-ran* t)))
(format t "==================================================~%~%"))
@@ -272,7 +272,7 @@ Boot sequence:
(actuator-initialize)
(skill-initialize-all)
;; Run proactive doctor before starting services
;; Run proactive diagnostics before starting services
(diagnostics-startup-run)
(heartbeat-start)