Files
fs 97ff3ce135 feat(scheduler): dispatch event on job failure, notify admins via notifications module
Add ?ModuleEventDispatcher to SchedulerRunService (fail-open, nullable).
Dispatch scheduler.job_failed event when a job fails with payload:
job_id, job_key, label, error_code, error_message, trigger_type.

New SchedulerJobFailedNotificationListener in notifications module
creates in-app admin notifications for users with JOBS_MANAGE
permission, scoped per tenant, with 30-min dedup per job_key.

Also fixes audit module manifest: system_audit_purge job_key was
mismatched (audit_system_purge vs system_audit_purge in DB).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 12:26:54 +02:00

19 lines
781 B
JSON

{
"Notifications": "Notifications",
"No notifications": "No notifications",
"Mark all as read": "Mark all as read",
"Mark as read": "Mark as read",
"Dismiss": "Dismiss",
"Action failed": "Action failed",
"Loading notifications…": "Loading notifications…",
"Failed to load notifications": "Failed to load notifications",
"New user: %s": "New user: %s",
"User deleted: %s": "User deleted: %s",
"User activated: %s": "User activated: %s",
"User deactivated: %s": "User deactivated: %s",
"User assignments updated: %s": "User assignments updated: %s",
"Tenant, role, or department assignments were changed.": "Tenant, role, or department assignments were changed.",
"Scheduled job failed: %s": "Scheduled job failed: %s",
"Error: %s": "Error: %s"
}