You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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 answered dry_run for imports that the write refused.
(#1361, #1365)
History import refuses with target.live_current_run a 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 through retry_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 code target.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 answered dry_run. A bundle that
reuses a run number and would become the lineage tail over the live run is
refused with target.live_current_run. (#1361, #1365)