Skip to content

v6.0.0: shipped cron job assistant-heartbeat references missing module Assistant/checks/heartbeat.ts — healthz permanently degraded on fresh install #1392

Description

@badosanjos

Summary

On a fresh v6.0.0 install the shipped cron job assistant-heartbeat fails permanently: the module it runs does not exist in the payload.

Observed

{"level":"error","msg":"assistant-heartbeat failed","error":"Error: Script exited 1: error: Module not found \"Assistant/checks/heartbeat.ts\"\n","failures":3}

After 3 consecutive failures the scheduler skips it, and /healthz reports status: "degraded" forever on an otherwise healthy fresh install (job assistant-heartbeat: 3 consecutive failures).

Environment

Ubuntu 24.04, LifeOS v6.0.0, Pulse via manage.sh (systemd).

Expected

Either ship PULSE/Assistant/checks/heartbeat.ts or don't register the job by default; a missing optional module shouldn't keep health permanently degraded on day one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions