Skip to content

v1.0.0, In-Process Executor and Schema Preparation

Choose a tag to compare

@mirmachynka mirmachynka released this 22 Jun 13:29
· 1 commit to main since this release

v1.0.0

This release adds the first stable runtime surface for durable task execution.

The new in-process executor gives hosts a package-owned path for loading handler modules, forwarding progress and task steps, handling cooperative cancellation, and normalizing execution errors without requiring every task to run through a child process.

This release also adds reusable event entry helpers, adapter utilities, and a Postgres schema preparation helper for idempotent startup setup and additive table upgrades.

Added

  • First-class in-process executor.
  • Package-owned handler module loading for in-process task execution.
  • Cooperative cancellation support for in-process handlers.
  • Progress forwarding from in-process task handlers.
  • Step forwarding from in-process task handlers.
  • Normalized error shaping for in-process execution failures.
  • Generic event entry helpers for host-owned logs, timelines, transports, and diagnostics.
  • Adapter utilities for forwarding task host and lifecycle events.
  • preparePostgresTaskStoreSchema() for idempotent Postgres schema preparation.
  • Additive Postgres schema upgrade support for older task tables missing supersede_key.

Notes

This release promotes the task runtime to the first stable release line while keeping the host-owned model for storage, execution policy, logging, and transport integration.