Skip to content

Releases: affandar/duroxide-pg

v0.1.11 - Management API: Deletion & Pruning

Choose a tag to compare

@affandar affandar released this 05 Jan 04:56

What's Changed

Breaking Changes

  • Update to duroxide 0.1.9

Added

  • Cascade Deletion: Delete orchestration hierarchies with delete_instance, delete_instance_bulk
  • Execution Pruning: Clean up old executions with prune_executions, prune_executions_bulk
  • Parent/Child Tracking: parent_instance_id column for sub-orchestration relationships
  • Hierarchy Navigation: list_children, get_parent_id, get_instance_tree

Migration

  • New migration 0010_add_deletion_and_pruning_support.sql adds:
    • parent_instance_id column to instances table
    • 5 new stored procedures for hierarchy and deletion operations

Testing

  • 99 provider validation tests (up from 80)
  • 19 new tests covering deletion, pruning, and bulk operations

Full Changelog: v0.1.10...v0.1.11

v0.1.2 - duroxide 0.1.1 API compatibility

Choose a tag to compare

@affandar affandar released this 11 Dec 03:57

Changes

  • Updated to duroxide 0.1.1 API
  • fetch_orchestration_item and fetch_work_item: add poll_timeout: Duration parameter (for long-polling support)
  • RuntimeOptions: dispatcher_idle_sleep renamed to dispatcher_min_poll_interval
  • Updated continue_as_new() calls to new awaitable API (return ctx.continue_as_new(input).await)

Notes

  • The test_worker_lock_renewal_extends_timeout validation test may fail with high-latency database connections (>200ms round-trip). This is a timing-sensitive test from the duroxide validation suite, not a provider bug.

Full Changelog

See CHANGELOG.md