Skip to content

Moves onto the newest blocks, store and riddler - #262

Merged
johnnyt merged 1 commit into
mainfrom
se-18pv-move-to-new-releases
Nov 20, 2026
Merged

johnnyt merged 1 commit into
mainfrom
se-18pv-move-to-new-releases

Conversation

@johnnyt

@johnnyt johnnyt commented Nov 20, 2026

Copy link
Copy Markdown
Member

The reference embedder moves onto the newest statifier_blocks, statifier_persistence and riddler releases, all from Hex.

What moves

  • mix.exs: statifier_blocks ~> 0.43.0 to ~> 0.46.0, statifier_persistence ~> 0.24 to ~> 0.26, riddler ~> 0.5.0 to ~> 0.6.0. No other requirement moves; statifier stays ~> 2.12.
  • mix.lock: those three resolve 0.46.0, 0.26.0 and 0.6.0, and statifier resolves 2.15.0, the floor statifier_persistence states from 0.25.0 on (statifier ~> 2.15). The lock was resolved by unlocking only those four packages, so no other lock line moves. statifier_oban 0.17.2 (statifier_persistence ~> 0.13) and statifier_router 0.13.0 (~> 0.18) both admit 0.26.0.
  • Each dependency carries a dated comment in mix.exs saying what the move brings and why none of it changes what this app does.

The migration

statifier_persistence 0.26.0 adds migration V09: six nullable linkage columns on the executions table and two indexes, which a host needs only when it sets linkage_columns: true. This app leaves the option off (the package's upgrading page names this app's adapter as the case that leaves it off, because its own listing callbacks read the metadata column), so its schema names none of the columns and every answer it gets is 0.25.1's. It runs V09 all the same, in its own migration file with from: 9, version: 9, as every earlier persistence migration here does; V09 reads and writes no row. StatifierExamples.RepoTest gains a case that reads the six columns and both indexes.

Tests that read differently

Every other test passes unchanged. These read differently:

  • StatifierExamples.MixDepsTest: the four pin cases (statifier_blocks, statifier, statifier_persistence, riddler) read the new requirements and lock lines.
  • StatifierExamples.FirstWorkflowTest and StatifierExamples.MigrateWaitingTest: the first printed line names statifier 2.15 and statifier_persistence 0.26.
  • StatifierExamples.ChartsTest, "every palette group's order runs 0..n with no gap": it now counts the palette's recipes beside its block types, as the package's own palette check does. The core deadline recipe holds order 17 in "Structure"; on 0.43.0 it was that group's last entry, so a run over block types alone passed. 0.46.0 adds core.checkpoint at 18, after the recipe.
  • StatifierExamplesWeb.PlanLiveTest, "a selected composite's field surface is the package's own form": from statifier_blocks 0.44.0 the read-only config form renders the class the page passes, so the read-only class is sb-form sb-form--readonly myapp-plan__fields.

Compiled documents

No compiled hash moved. Every fixture in StatifierExamples.Charts.fixtures/0 was compiled with this app's palette and known invoke types on the old lock and on the new one, and the SCXML bytes match fixture for fixture (one fixture is refused for want of a datamodel option in that script, identically on both). The migration guide's two published revisions print the same hashes the guide quotes. No block type here declares returnable?/1, which is the one opt-in statifier_blocks 0.46.0 says moves a hash.

riddler 0.6.0

Neither changed answer reaches this app: it does not call Riddler.Journey.decode_submit/1, and every button in the signup screens carries a string outcome, so Riddler.Screens.Document.validate/1 admits every document as before.

Docs

The guides' pin tables, the routed recipe's requirement paragraph, the migration guide's pin line and the two recipes' move notes follow the new versions.

Sabotage

  • Removed the V09 migration and dropped the test database: the new RepoTest case went red on its column assertion.
  • Dropped the recipes from the palette order run: ChartsTest went red naming "Structure" with 17 missing.
  • Dropped the page's class from the config form call: PlanLiveTest's composite case went red.
  • Pointed each of the four pin cases' lock assertions back at the previous line: each went red on its own lock assertion.

Each was reverted from a copy and the restore checked byte-equal.

Gate

Full mix quality green on the committed tree: format, compile with warnings as errors, unused dependencies, Credo, Dialyzer, and the suite (917 tests, 87.7% coverage).

Provenance

  • The statifier lock goes to 2.15.0, the floor statifier_persistence states, rather than the newest 2.16.0: the move asks for that floor and no further (2026-11-20).
  • The palette order case was the only test whose expectation was wrong rather than out of date; it is corrected to count what the package counts.

statifier_blocks moves to ~> 0.46.0, statifier_persistence to ~> 0.26
and riddler to ~> 0.6.0, all from Hex. mix.lock moves those three and
statifier, to 2.15.0, the floor statifier_persistence 0.25.0 and later
state; no other lock line and no other requirement moves.

statifier_persistence 0.26.0 adds migration V09, the opt-in linkage
columns. This app leaves linkage_columns: off and runs V09 in its own
migration, which RepoTest reads. Every shipped document compiles to the
same bytes as before.

Tests that read differently: the deps pins, the two recipes' version
lines, the palette order run (it now counts recipes, as the package
does; core.checkpoint sits after the deadline recipe) and the Plan
page's read-only form class (0.44.0 renders the host's class there).
The guides' pin tables and move notes follow.

Refs: se-18pv
@johnnyt
johnnyt merged commit 8e9059c into main Nov 20, 2026
4 checks passed
@johnnyt
johnnyt deleted the se-18pv-move-to-new-releases branch November 20, 2026 17:42
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