Arjan van Wieringen
06/02/2026, 7:08 AMAntonii Belyshev
06/02/2026, 10:06 AMArjan van Wieringen
06/02/2026, 1:28 PMVadim Briliantov
06/03/2026, 4:08 PMagent_checkpoints_v1 postgres database, and then create a table agent_checkpoints_v2 for the period of migration.
You should then make sure that there’s a process in place that makes sure that until all checkpoints from agent_checkpoints_v1 are “tombstone” (nodeFinish) — you are still migrating your service (first — finish all unfinished agents of V1 architecture, then — switch to V2).
Though, if it’s possible to map tables (probably with losing some intermediate nodes or steps) — you are also free to do so with your DB migrations (remap nodes and checkpoints from agent_checkpoints_v1 to agent_checkpoints_v2 where possible — and just drop nodes that don’t have a clear mapping). Again, it will only work if your system doesn’t produce side-effects (if it does — you’ll have to first checkpoint back in time using RollbackToolRegistry to the latest node that has a clear mapping — and then perform the mapping).
You can do it using a separate AWS lambda for migrations that finishes all unfinished agents, or you can do asyncronous rolling updates, you can perform mappings and continue agents from approximately where they stopped, or you can just drop the work completely. There are so many things that are more related to your infrastructure than they are to the agents themselves.
That is why for now we don’t provide migrations out-of-the-box, as it’s something external that we can’t control within the framework.Vadim Briliantov
06/03/2026, 4:10 PMfirst — finish all unfinished agents of V1 architecture, then — switch to V2this would, of course, require having old version of agent strategy (V1) still available in your codebase so that you can still execute it.
Arjan van Wieringen
06/03/2026, 4:24 PM