Skip to content

v0.7.1

Choose a tag to compare

@github-actions github-actions released this 23 Sep 13:58
· 343 commits to main since this release
Immutable release. Only release title and notes can be modified.
72aa871

Fixed

  • AshWorkflow.Scheduler.Precise.Timeline's sweep now reads the attribute a workflow named with state_attribute. It built its step predicate as state == ^step, so a workflow keeping its state anywhere other than state matched no records: a deadline nothing had armed was never recovered, and one inside the horizon was never armed. Timeline.deadline_changed/2 was unaffected, since it arms from AshWorkflow.Scheduler.Work.match, which AshWorkflow.Transformers.AddScheduler has always built through the named attribute. The sweep rebuilds that predicate rather than reusing match so the horizon's bound reaches the data layer as a bind parameter, and it now builds it from AshWorkflow.Info.state_attribute/1.