553330df411fbcb1fcd9dc247fdfac988e40184c
migrateLegacySchedules replaced the whole legacy cron/jobs.json list into the schedules resource, whose validator refuses every job whose kind is not 'workflow' -- and chat is the legacy default (an empty kind on schema-v1 jobs means chat). One chat job therefore failed the replace, the migration returned the error and RunStateStore aborted before the server ever listened. The failure was permanent: the seed had already landed at version 1, so every restart re-ran the migration and refused again, until an operator renamed cron/jobs.json by hand -- a remedy no recovery doc mentions (archie-core-q6vw). The migration now moves only the jobs the schedules resource can hold and reports the rest instead of refusing them: chat and unrecognised kinds were already dead deliveries in the old engine (the delivery router maps KindWorkflow alone). An unreadable or corrupt sidecar is logged and left in place for the next start, the way ImportConfig skips a seed the resource validator refuses -- a value this process cannot use must not stop the one process every other process dials. A successful replace is marked by renaming the file to jobs.json.migrated (the skipped jobs stay readable in it); until the rename lands, the replaying request ID keeps the replace idempotent across restarts.
Description
Archie connects events from your systems to agents that can investigate, reason, and act.
Define what an event means, map its data into a workflow, and give that workflow an agent equipped for the job: its own execution environment, tools, and identity.
https://archie.catlow.cloud
132 MiB
0 Stars
1 Watchers
0 Forks
Releases
11
Archie v1.62.0
Latest
Languages
Go
74.6%
Vue
14.9%
TypeScript
8%
JavaScript
1.3%
Shell
0.6%
Other
0.4%