Week 46 · 2026
Nov 9 – Nov 15, 2026 · gathered Nov 16, 2026
- 0
- PRs merged
- 7
- PRs opened
- 0
- Closed
- 1
- Opened
- 0
- Releases
- 2
- Repos
- 48
- Commits
- 4
- Comments
Highlights
Seven PRs opened this week as the HeadLogic refactor moved into a staged review. This week has been focused on a large refactor of the off-chain head logic.
Operational Excellence (M3). Last week's refactor sketch was split into smaller changes: pinning Crem, separating runtime and data boundaries, introducing a typed program interpreter, and moving protocol rules into typed workflows. This makes the rules for snapshots, deposits and decommits easier to review separately from execution and persistence. The proposed state owners make responsibility for pending transactions and snapshots explicit, with checks that live execution, event replay and checkpoint recovery agree.
The refactor also includes proposed safety corrections: preserving validated transaction bodies when duplicate IDs arrive, retaining decommit reservations when the local ledger is rebuilt, and checking snapshot confirmations against the candidate and participating parties. The original refactor PR became the final step in the stack, addressing acknowledgement and settlement ordering that could otherwise leave unspent inputs unavailable. These changes remained under review at the week's end.
Maintenance and DevX (M5). An independent regression suite was opened alongside the refactor. It compares bounded scenarios with the executable Agda reference models and checks capacity limits, conflicting reservations, snapshot verification and recovery from retained events and checkpoints. This provides explicit protocol expectations against which to check the new implementation.
A separate test reliability PR addresses failures exposed by CI: a queue test could cancel a write before it reached disk and then wait indefinitely on reload; WebSocket examples could spend their transport deadline generating large fixtures; and a logging test required too many sequential pipe round trips within a fixed deadline. Focused tests and node-test lint checks passed locally. Full Nix validation remained dependent on CI because required build dependencies were unavailable locally.
Next. Review the refactor stack, complete CI and benchmark comparisons, investigate the offline snapshot report, address a few user bug reports, and finish the hydra-recipes repo work.
Activity
Merged PRs, issues, and releases grouped by deliverable — the evidence behind the narrative above.
Other / Reactive
- PR opened[1/7] Stabilize queue, WebSocket and logging testscardano-scaling/hydra · @noonio
- PR opened[6/7] Add independent protocol and recovery regression testscardano-scaling/hydra · @noonio
- PR opened[5/7] Run HeadLogic through typed workflows and state ownerscardano-scaling/hydra · @noonio
- PR opened[4/7] Introduce typed programs and Crem workflow executioncardano-scaling/hydra · @noonio
- PR opened[3/7] Separate HeadLogic runtime and data boundariescardano-scaling/hydra · @noonio
- PR opened[2/7] Pin Crem for typed HeadLogic workflowscardano-scaling/hydra · @noonio
- PR openedHeadlogic refactor onlycardano-scaling/hydra · @v0d1ch
- Issue openedTxValid transaction is never snapshotted in offline mode, causing subsequent TxInvalid (ConwayMempoolFailure "All inputs are spent") on resubmissioncardano-scaling/hydra · @Fiftyw3bs
46 commits · cardano-scaling/hydra
M6 KPI & Outcome Achievement
Not started2 commits · cardano-scaling/hydra-updates