Skip to content

Epic: double down on durable execution (bet 3) #144

Description

@mcclowes

Epic: double down on durable execution (bet 3)

The wedge, in one line: durable execution without the determinism tax.

Temporal, Restate, and DBOS make you write durable workflows in real code, so you must obey determinism rules (no Date.now() in a workflow, careful workflow/activity split, or replay corrupts). That's the tax everyone pays for general-purpose durability. Reqon doesn't have to charge it: every side effect in a .vague mission goes through a known step type (fetch, store, map, pause, wait), so the runtime owns the entire I/O boundary and can guarantee deterministic replay, automatic checkpointing, and idempotent effects by construction. We trade generality for a domain where durability is free and safe.

This epic is the plan to make that real and provable.

Step zero — the critical bugs are the product. Every "critical" in the code review is a line item in the durable-execution spec: non-atomic writes that lose data on crash, checkpoints that advance before the store completes, retries that duplicate POSTs, in-memory timers, pauses that resume twice. Fixing those isn't pre-work for the vision, it is the vision. A durability product dies on a single data-loss report.

The architecture move that ties it together

Model a running mission as an append-only event log. Resume = replay and fold to last state. Time-travel, audit trail, and idempotent resume all fall out of the same structure, and it collapses four fragile half-built subsystems (trace/, sync/, execution/, pause/) into one. That's #137.

Phases

Phase 1 — Foundation (make durability real)

Foundation bug fixes that land alongside:

Phase 2 — Prove it

Phase 3 — Differentiate on the domain

What we are NOT doing

  • Out-generalizing Temporal. Stay narrow: declarative, API-native, determinism-free.
  • Adding more step types breadth-first. Go deep on guarantees, not wide on features.
  • Claiming exactly-once against APIs that don't support idempotency keys. Be honest: at-least-once + store dedup is the floor.

Risks

  • The lane is filling fast (DBOS, Inngest, Restate). Our only differentiated ground is the declarative + API-native + determinism-free combination — the DSL and the durability are one package.
  • Durability is a trust product with a savage failure mode. The upside is real; it commits us to a quality bar most projects never meet.

Milestone: Durable execution. Source: code review CODE_REVIEW-2026-06-22.md.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    durable-executionBet 3: durable execution roadmapepicTracking issue spanning multiple issues

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions