stem_postgres 0.1.0
stem_postgres: ^0.1.0 copied to clipboard
Postgres broker, result backend, and scheduler utilities for Stem.
0.1.0 #
- Added workflow run lease tracking and claim/renew helpers to distribute workflow execution safely across workers.
- Fixed worker heartbeat lookups by restoring soft-deleted heartbeat rows on upsert.
- Added DataSource-based initialization that runs migrations before use, and
introduced async
fromDataSourcehelpers across Postgres adapters (including workflow stores). - Migrated the Postgres adapter to Ormed with generated registry/migrations for schema management.
- Added a local seed runtime to run Postgres seeders without requiring ormed_cli.
- Hardened lock-store timing/TTL evaluation for more reliable coordination.
- Updated Ormed dependencies to 0.1.0.
- Added workflow run lease migrations plus runnable discovery and metadata paging updates in the workflow store.
- Migrated IDs to UUID v7 and simplified datasource/connection handling.
- Added workflow store contract coverage and refreshed adapter docs/tests.
- Updated dependencies.
0.1.0-alpha.4 #
- Added durable watcher persistence and atomic event resolution so Durable Workflows resume with stored payloads and metadata.
- Refreshed workflow run bookkeeping:
saveStepnow acts as a heartbeat, rewind/auto-version checkpoints are persisted with accurate ordering, and suspension records trackresumeAt/deadline. - Implemented chord-claiming improvements and claim-timer cleanup to keep Postgres queues healthy during purges and consumer shutdown.
- Shipped
postgresWorkflowStoreFactoryso CLI tooling and integration tests can bootstrap Postgres-backed Durable Workflows with a single helper. - Added lock-store contract coverage for
PostgresLockStore, ensuring the semantics required byTaskOptions.uniqueand scheduler coordination stay portable across adapters.
0.1.0-alpha.3 #
- Initial release containing Postgres broker, result backend, scheduler stores,
and adapter contract tests extracted from the core
stempackage.