stem_adapter_tests 0.3.0 copy "stem_adapter_tests: ^0.3.0" to clipboard
stem_adapter_tests: ^0.3.0 copied to clipboard

Shared contract test suites for Stem broker and result backend adapters.

Changelog #

0.3.0 #

  • Require Dart >=3.13.0 <4.0.0.
  • Verify terminal error/timestamp immutability, malformed journal argument rejection, empty-token rejection, and quoted-name/empty-retention rewind cases.
  • Add workflow journal contracts for atomic checkpoint coupling, stale writes, compensation order, failed-write rollback, and administrative rewind cleanup.
  • Add shared terminal transition contracts covering cancellation/completion races, immutable terminal outcomes, and suspension/watcher cleanup.
  • Add shared workflow execution-fencing contract coverage for fresh executionId claims, stale-claim rejection, conditional renewal/release and terminal-failure recording, including the distinction between terminal: false error recording and terminal failure.
  • Require Stem >=0.5.0 <1.0.0, allowing later pre-1.0 releases.

0.2.1 #

  • Widened Stem compatibility to include the 0.4 portable runtime line.
  • Updated the shared contract package for the Stem 0.3.0 release train and Dart 3.12 minimum.
  • Updated shared adapter contracts for the Stem 0.3.0 capability and lifecycle semantics.

0.1.3 #

  • Expanded contract fixtures and capability assertions used by the Redis, Postgres, SQLite, and in-memory adapters.

0.1.2 #

  • Updated the stem dependency range for the 0.2.1 core release.

0.1.1 #

  • Added workflow-store contract coverage for caller-provided run ids and persisted workflow runtime metadata introspection.
  • Added regression coverage for duplicate caller-provided run ids and continuation re-enqueue routing using persisted workflow queue metadata.
  • Expanded adapter contract documentation with a capability matrix, explicit skip semantics, and recipe-style setup examples.
  • Scoped the binary payload round-trip contract test to the Base64 encoder suite so JSON encoder runs no longer report intentional skips.

0.1.0 #

  • Added workflow store contract coverage for run leasing and runnable run discovery.
  • Expanded contract coverage for typed result encoders and payload encoders (including TaskResultEncoder) used by adapters.
  • Split lock/workflow store contract suites and expanded runnable discovery coverage.
  • Updated dependencies and analysis options.

0.1.0-alpha.4 #

  • Hardened the contract suite around the new Durable Workflows API surface: auto-versioned checkpoints, suspension metadata, and watcher payload delivery.
  • Contract harness now injects a shared FakeWorkflowClock into runtimes and stores, eliminating reliance on real time during adapter tests.
  • Added a dedicated lock-store contract suite so adapters can verify their LockStore implementations meet the semantics needed by unique tasks and scheduler coordination.
  • Expanded broker contract coverage with optional priority ordering and broadcast fan-out scenarios to keep routing guarantees consistent across implementations.

0.1.0-alpha.3 #

  • Initial release extracted from the core stem package providing shared broker and result-backend contract test suites for adapters.
0
likes
140
points
243
downloads

Documentation

API reference

Publisher

verified publisherglenfordwilliams.com

Weekly Downloads

Shared contract test suites for Stem broker and result backend adapters.

Repository (GitHub)
View/report issues
Contributing

License

unknown (license)

Dependencies

stem, test

More

Packages that depend on stem_adapter_tests