Hydra
← All updates

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

46 commits · cardano-scaling/hydra

2 commits · cardano-scaling/hydra-updates