action_failed

Diagnostic `nanook::core::action_failed`

Summary

action {0} failed

Help

the alert action could not deliver. retries may apply per policy

Details

When this fires

Error::Action (see crates/nanook-core/src/error.rs) wraps a runtime failure from an alert action. The named target is the channel / action name; the inner source carries the underlying transport error (HTTP non-2xx from a webhook, exec spawn failure, Slack/Discord API rejection). This fires only at nanook run time, when a rule fires and the action tries to deliver. Retries (if any) are governed by per-action policy, so a single occurrence in logs doesn't necessarily mean delivery failed permanently.

What to check

The wrapped source error names the cause. For webhooks, repro the request with curl from the same host to rule out network / TLS issues. For exec, confirm the script's mode bits let the running user execute it. nanook ctl alerts shows recent action results.