Files
zeekayandHanzo Dev d154938314 cron: add the missing fail_unsatisfiable_jobs translation, and a test so it cannot happen again
v1.26.27 could not start:

  RegisterTaskFatal() [F] Unable to register cron task fail_unsatisfiable_jobs
    Error: translation is missing for task "fail_unsatisfiable_jobs",
    please add translation for "admin.dashboard.fail_unsatisfiable_jobs"
  Received signal 15; terminating.

RegisterTaskFatal is fatal by design, so ONE absent locale key aborts the whole
server — there is no degraded mode. git.hanzo.ai served 503 from the moment CD
applied v1.26.27 until it was rolled back to v1.26.26, which also stops every
native .hanzo/workflows CI run, since this host is canonical and GitHub is only
the mirror.

Of the six tasks in tasks_actions.go this was the only one missing a key; the
phrasing matches its siblings ("Cancel actions abandoned jobs", "Stop actions
zombie tasks").

The test scans every tasks*.go for RegisterTaskFatal and asserts a matching
admin.dashboard.* key exists — 30 tasks covered today. Verified it fails when the
key is removed and passes when restored, so it genuinely guards the regression
rather than just passing.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-30 20:01:56 -07:00
..