Skip to content

fix(status): report unavailable systemd bus - #82

Merged
cjber merged 2 commits into
mainfrom
cb/schedule-unavailable
Nov 16, 2026
Merged

cjber merged 2 commits into
mainfrom
cb/schedule-unavailable

Conversation

@cjber

@cjber cjber commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

Adds reliable schedule reporting and purge-hook diagnostics.

  • Checks cron fallback before reporting unavailable systemd state, preserving valid schedules when systemd is absent or the unit is missing.
  • Reports purge-hook exit code and sanitized, bounded stderr for actionable hook diagnostics.
  • Adds producer-level regressions for cron fallback, unavailable scheduling, and purge diagnostics.

Closes #81
Closes #79

Validation: bun run gate (136 passed, 0 failed). Independent review corrected the cron fallback ordering. Purge diagnostics sanitize control characters and cap stderr; this is control sanitization only and does not claim secret redaction.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Deploying keeper with  Cloudflare Pages  Cloudflare Pages

Latest commit: c27aa6c
Status: ✅  Deploy successful!
Preview URL: https://7a20c117.keeper-9oy.pages.dev
Branch Preview URL: https://cb-schedule-unavailable.keeper-9oy.pages.dev

View logs

@cjber
cjber force-pushed the cb/schedule-unavailable branch from 21c12e6 to b4060c4 Compare November 15, 2026 21:53
Preserve systemctl diagnostics when the user bus cannot be reached so
status does not report that no nightly schedule exists.

Closes #81
@cjber
cjber force-pushed the cb/schedule-unavailable branch from b4060c4 to 4b5025e Compare November 15, 2026 21:54
@cjber
cjber merged commit 2cfd777 into main Nov 16, 2026
7 checks passed
@cjber
cjber deleted the cb/schedule-unavailable branch November 16, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

status falsely reports no cleanup schedule when the agent shell lacks the user bus environment Purge hook failure reports no actionable cause

1 participant