Files
openclaw/test/fixtures
Peter Steinberger 13125bf33f fix(cron): record real delivery outcomes and stop false-success completions (#131228)
* fix(cron): record real delivery outcomes and stop false-success completions

Record delivery outcomes at their owners and derive whole-run completion, delivery failure alerts, and one-shot retention from those facts. Keep execution status separate from delivery failure, and retain undelivered jobs and transcripts for inspection.

Requested delivery is required unless explicitly best-effort. Existing alternate-route alert policy and duplicate-send protection remain unchanged.

* fix(cron): preserve cleanup ownership and record-only replay

Transfer transcript cleanup ownership before awaiting delivery dispatch so
exceptions retain the diagnostic session while runtime resources still retire.
Remove the returned cleanup flag and exercise actual dispatch in deletion and
admission-release tests.

Keep delivery-failure notification recovery record-only, preserving the
historical receipt without scheduling another alert. Absorb the single-use
alert helper into finalization and strengthen canonical delivery-state coverage.

* fix(cron): retain one-shots only for failed or unknown delivery

* fix(cron): treat empty webhook summaries as intentional silence

* fix(cron): throttle delivery failure alerts with cooldown

* docs(cron): align cleanup and bestEffort text

* fix(cron): align cleanup and replay with run outcomes

Release quiet and best-effort successful one-shot sessions through the
existing dispatch cleanup owner. Carry the finalizer's undelivered execution
status so fatal errors and unrecovered presentation warnings retain evidence.

Restore replay cooldown only from recorded notification intent, without
recomputing alert requests through current policy. Consolidate target-error
results and clarify the shared cooldown and successful-execution contracts.

* fix(cron): extract reply skip-reason leaf to break import cycle and refresh prompt snapshots
2026-08-27 22:20:25 -07:00
..