Skip to content

Releases: Sreejay-Reddy/Sentinel

v0.5.0 — Execution History

Choose a tag to compare

@Sreejay-Reddy Sreejay-Reddy released this 27 Jun 17:22

What's new

Sentinel now records every state transition to an append-only event log. Every acquire, rejection, execution start, completion, expiry, and reconciliation is written atomically with the lease change that caused it.

Execution history CLI

sen history <key>
sen history <key> --limit 20

Fencing token rotation on reconcile

When reconciliation starts, a new fencing token is issued immediately. The original worker's token is invalidated at the moment the lease transitions to reconciling — not after a timeout.

Full changelog

See CHANGELOG.md for the complete list of changes.

Installation

pip install sentinel-coordination==0.5.0

v0.4.0 — Async Core

Choose a tag to compare

@Sreejay-Reddy Sreejay-Reddy released this 16 Jun 10:49
c766420

Adds full async execution coordination via AsyncSentinel.

What's new

  • AsyncSentinel and AsyncReconcile with full parity to the sync client
  • async_init_db for async schema initialization
  • Async core primitives: acquire, start_execution, heartbeat, complete, expire_lease, release
  • Full async pytest suite covering core, once, and reconciliation
  • GitHub Actions CI now runs sync and async tests against a Postgres service container
  • sentinel.integrations.migrations now included in the built wheel

Installation

pip install sentinel-coordination==0.4.0

Upgrading

No breaking changes. Existing Sentinel usage is unchanged. AsyncSentinel is additive.