Skip to content

Prepares the 0.27.0 release - #303

Merged
johnnyt merged 2 commits into
mainfrom
sp-r3a9-release-0-27-0
Nov 22, 2026
Merged

johnnyt merged 2 commits into
mainfrom
sp-r3a9-release-0-27-0

Conversation

@johnnyt

@johnnyt johnnyt commented Nov 22, 2026

Copy link
Copy Markdown
Member

What

The release prep for statifier_persistence 0.27.0. It has two commits, and the release commit is last:

  1. The upgrading page. docs/upgrading.md gets a "0.26 to 0.27" section. The page title, the pin list, the statifier floor sentence and the migration sentence now reach 0.27.0.
  2. The release commit. @version moves to 0.27.0 and the README install pin to ~> 0.27.0. The one fragment, changelog.d/sp-5pfj.md, is promoted into a dated ## [0.27.0] section with its bullets carried over byte for byte, and then deleted. The CHANGELOG header's changelog.d/ link moves to v0.27.0. The release commit touches exactly the four files the release recipe names: mix.exs, README.md, CHANGELOG.md and the deleted fragment.

Why a minor

Since v0.26.0, lib/ gains two public functions, Linkage.child_execution_id/4 and Linkage.invocation/1. A later pass of a loop's durable subchart child is stored under an execution id of a new shape. A single child's answer now reaches only the newest pass's child, and the others are discarded with {:discarded, execution}, an answer that already existed. A Postgres re-drive that used to raise is fixed.

There is no migration. No telemetry event, key or value is added, and no reason or outcome set gains a member. The one new function in Executions, cascade_cancel_where/4, is @doc false. The adapter telemetry reports a :fetch_execution before a single child's create, and a :list_executions_by_metadata on a single child's answer. Both are existing operations of the existing [:statifier_persistence, :adapter, :call] event.

The upgrading section

The section says what a host does on upgrade. Each bullet cites the point of ADR-0008's 2026-11-22 Amendment it comes from:

  • Executions already in flight under 0.26.0: nothing to do. The same rule finds them, and nothing is migrated (point 5).
  • A host that derives a durable child's id itself: keep child_execution_id/3 for a child outside a loop and for a loop's first pass. Use child_execution_id/4 with invocation/1 for a later pass (points 1 and 2). A fan-out's children keep their ids (point 6).
  • Telemetry handlers: the extra adapter calls described above (the Amendment's "What a host sees").
  • Matching Driver.answer_parent/3: no arm is added, and the newest-pass discard applies (point 3).
  • Postgres under the default AdapterLock: routing is exact, and the re-drive fix applies (point 3).
  • A store whose child create is not in the parent's transaction: the named limit applies, and re-delivering the event that drove the lost step resolves it. Ruled by the operator, 2026-11-22 (point 3).
  • A first pass's child from an interrupted drive that ends before the re-drive: that child's work runs twice, the cost point 3 accepts.

Direction check of the page text: I read every claim against the Amendment and the code on main. The functions are in Linkage and Driver.answer_parent/3's {:discarded, execution} answer is in its spec. The statifier requirement in mix.exs is still ~> 2.15. The diff since v0.26.0 touches no priv/ file and adds no migration. Records are cited by name and point. The diff removes no line under docs/adr/.

Checks

  • The full mix quality gate is green on the release commit's tree: 1,494 of 1,494 tests, 95.8% coverage, Dialyzer and the docs build clean. The suite ran against a local Postgres. The tree I committed is byte-identical to the tree the gate ran on.
  • I checked each acceptance item against the branch: the version, the promoted and deleted fragment, the pin, the upgrading section and the commit order.
  • No tag is created and nothing is published here. The tag follows the merge.

Refs: sp-r3a9

The page title and pin list reach 0.27.0, the statifier floor sentence
and the migration sentence name 0.27.0 (no migration), and a new
section says what a host does on upgrade for the durable loop-child
fix: nothing for executions in flight under 0.26.0; the new id shape of
a later pass's child and the two functions that derive it; the extra
adapter calls a telemetry handler sees; the discard of a single child's
answer that is not the newest pass's; and the known limit on a store
whose child create is not in the parent's transaction, ruled by the
operator, 2026-11-22. Every claim cites the point of ADR-0008's
2026-11-22 Amendment it comes from. No other docs change.

A docs-only commit: the full gate runs on the release commit's tree,
which includes this one.

Refs: sp-r3a9
Bumps the version to 0.27.0, moves the README pin to ~> 0.27.0 and
promotes the one changelog fragment into the 0.27.0 section, with its
bullets carried over unchanged, and moves the CHANGELOG header's
changelog.d link to v0.27.0.

This is a minor: the release adds two public functions
(Linkage.child_execution_id/4 and Linkage.invocation/1), gives a later
pass of a loop's durable subchart child an execution id of a new shape,
routes a single child's answer only to the newest pass's child, and
fixes the Postgres re-drive that raised. It adds no migration, no
telemetry event and no new member of any reason or outcome set; the
adapter telemetry reports a :fetch_execution before a single child's
create and a :list_executions_by_metadata on a single child's answer.

The full gate was green on this tree before the commit, with the gate
lock and a machine slot held across both.

Refs: sp-r3a9
@johnnyt
johnnyt merged commit 5791dd6 into main Nov 22, 2026
1 check passed
@johnnyt
johnnyt deleted the sp-r3a9-release-0-27-0 branch November 22, 2026 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant