You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: revise arch.md and WORKPLAN.md to match codebase reality
- Fix orchestration section: remove "not yet implemented", add correct API
- Fix sleep/wait API: sleep_for → sleep, sleep_until → schedule_at
- Fix cron DSL: @Cron → @schedule, use Durable.Scheduler.DSL
- Fix log capture module names and remove non-existent APIs
- Fix queue adapter name and API, mark extra adapters as planned
- Mark Message Bus and Graph Visualization as planned
- Add pending_events and wait_groups to DB schema
- Update config reference to supervision tree style
- Update WORKPLAN stats: 42 modules, ~291 tests, ~11k LOC
- Update test coverage table with actual per-file counts
- Add guides/orchestration.md to mix.exs extras
3.**Testing Helpers** - `Durable.TestCase` for easier workflow testing
300
309
301
-
The existing ~268 tests provide good confidence in implemented features. Suitable for internal use; additional documentation needed before public release.
310
+
The existing ~291 tests provide good confidence in implemented features. Suitable for internal use; additional documentation needed before public release.
302
311
303
312
---
304
313
305
314
## Changelog
306
315
307
316
### 2026-02-27
317
+
- Added `call_workflow` support inside `parallel` blocks (inline synchronous execution)
318
+
- Child workflows in parallel execute synchronously with process state save/restore
319
+
- 3 new tests for parallel call_workflow (total: ~291)
320
+
- Updated guides/orchestration.md, guides/parallel.md, and README.md
308
321
- Added workflow orchestration: `call_workflow/3` (synchronous) and `start_workflow/3` (fire-and-forget)
309
322
- Added `Durable.Orchestration` module with `use Durable.Orchestration` macro
310
323
- Added cascade cancellation (cancelling parent cancels active children)
311
324
- Added parent notification on child completion/failure
312
325
- Added `Durable.list_children/2` API
313
326
- Added `guides/orchestration.md` documentation
314
-
- 12 new tests for orchestration (total: ~268)
327
+
- 12 new tests for orchestration
315
328
316
329
### 2026-01-23
317
330
- Removed `foreach` primitive (use `Enum.map` or `Task.async_stream` instead)
0 commit comments