@adonis-agora/durable 0.43.5 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @adonis-agora/durable
2
2
 
3
+ ## 0.44.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#301](https://github.com/DavideCarvalho/adonis-agora-durable/pull/301) [`96f9921`](https://github.com/DavideCarvalho/adonis-agora-durable/commit/96f99219266c411820e1f1130fd4878385c6719f) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - Drop Node 20, which reached end-of-life on 2026-04-30, and Node 22, which AdonisJS 7 does not support (it requires Node >=24): `engines.node` is now `>=24`. The supported Node lines are 24 and 26, and CI runs the test suite on each of them.
8
+
9
+ ## 0.43.6
10
+
11
+ ### Patch Changes
12
+
13
+ - [#183](https://github.com/DavideCarvalho/adonis-agora-durable/pull/183) [`010d071`](https://github.com/DavideCarvalho/adonis-agora-durable/commit/010d071ac81141270f05bedb4549fdb09f1fa8dd) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - A stale gather turn no longer orphans its run
14
+
15
+ A turn is computed from a SNAPSHOT of history, and the ops it declares can all have settled while its decision was in flight. The canonical case is a `gather_calls` fan-out whose last call lands while the turn holding the run lease is still deciding: that call's `resume` reaches `execute`, finds the lease contended and returns silently — no retry, no reschedule — so its wake is spent for nothing, and the decision then parks the run on a `call` that is already complete.
16
+
17
+ Every call settled, nothing holding the lease, no wake scheduled: the run sits `suspended` until the `reconcileMs` orphan sweep re-drives it, minutes later.
18
+
19
+ After a turn parks, the engine now checks whether any `call` it parked on has already settled, and re-drives the run if so. Ported from the NestJS sibling, where the same shape stalled 23% of a seven-call fan-out's runs for 301 seconds each.
20
+
3
21
  ## 0.43.5
4
22
 
5
23
  ### Patch Changes
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # `@adonis-agora/durable`
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/@adonis-agora/durable)](https://www.npmjs.com/package/@adonis-agora/durable) [![npm downloads](https://img.shields.io/npm/dm/@adonis-agora/durable)](https://www.npmjs.com/package/@adonis-agora/durable) [![CI](https://github.com/DavideCarvalho/adonis-agora-durable/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/DavideCarvalho/adonis-agora-durable/actions/workflows/ci.yml) [![license](https://img.shields.io/npm/l/@adonis-agora/durable)](https://www.npmjs.com/package/@adonis-agora/durable)
4
+
3
5
  AdonisJS binding for [`@adonis-agora/durable-core`](https://www.npmjs.com/package/@adonis-agora/durable-core)
4
6
  — a container-resolved durable workflow engine.
5
7