Skip to content

Workflow 2.29.0

Latest

Choose a tag to compare

@rmcdaniel rmcdaniel released this 17 Nov 22:32
12687fb

Run migrations. Seven additive migrations do the following. None of them rewrites retained rows.

  • Create the compensation scope and obligation tables and the schedule occurrence table.
  • Add nullable workflow_runs.timeout_cleanup_work_deadline_at.
  • Add nullable workflow_instances.native_child_reservation and native_root_reservation.
  • Remove implicit timestamp updates on older MariaDB schemas.

Highlights:

  • Open-run version usage. A namespace-scoped query (Workflow\V2\Support\VersionUsageQuery) reports legacy, current and unknown counts with byte-exact keyset pages. Missing markers and unavailable history stay unknown when you assess whether a legacy branch can be retired. Waterline's Version usage page uses it in embedded mode.
  • Schedule audit retention. Embedded schedule audits default to 1,000 snapshots, and a namespace-scoped prune command is added. Run the occurrence migration and stop old schedule readers before enabling compaction; see docs/schedule-audit-retention.md.
  • Fixes:
    • Selection replay restores the recorded winner.
    • Cancellation during replay preserves an already timed-out signal wait.
    • MariaDB timer and dispatch timestamps are preserved.
    • Concurrent child-completion locking stays on the per-run index.
    • Failed-run redrive keeps fractional clock seconds and accepts verified linear activity retry chains.

Experimental, with no backward-compatibility promise yet (see docs/api-stability.md):

  • Embedded compensation scopes (#1063).
  • Deadline-triggered timeout cleanup (#863).
  • Workflow::startChild() receipts.
  • Domain entity references for activity arguments (#996).
  • Workflow\V2\StateMachine additions (#1069): shared definitions, policy profiles, recorded rule assessments, execution references and budgets.

#1063, #863 and #1069 remain open. Installed upgrade and recovery qualification and provider integration are still milestones.

Laravel minimums stay at 12.72.0 / 13.41.0, as in 2.28.1. See CHANGELOG.md and #1192.