- Embedded V2 history-import dry runs report the same refusal as the write.
A dry run now checks the instance's current-run pointer
(target.current_run_changed,target.current_run_missing) and judges the
write's run re-resolution ahead of the write (target.live_current_run).
Before, a dry run answereddry_runfor imports that the write refused.
(#1361, #1365) - History import refuses with
target.live_current_runa live run imported as
current that run resolution would not select. One example is a live run
imported beside a higher-numbered closed run. A legitimate mid-retry child,
whose retry names the failed run throughretry_of_child_workflow_run_id,
still imports. (#1361, #1365) - History import refuses a run number that another run of the instance already
has with the new codetarget.run_number_conflict, in the dry run and the
write. Before, the write failed on the database constraint as
target.write_failed, while the dry run answereddry_run. A bundle that
reuses a run number and would become the lineage tail over the live run is
refused withtarget.live_current_run. (#1361, #1365)