Skip to content

Fluxzero 1.131.1

Choose a tag to compare

@jbruinink jbruinink released this 03 Jul 10:43

1.131.1 (2026-03-28)

Bug Fixes

  • fix(repository): skip stale no-op aggregate commits (79fdf44)

    A handler can roll back to the same aggregate instance and end up with no unpublished events. Committing that state should not touch the aggregate cache, because there is nothing durable to store and it can interfere with later playback or reload behavior.

    Return early when after == before and there are no unpublished events. If a no-event commit races with a newer cached head, evict that cache entry instead of keeping a stale in-memory state around.

    This complements the earlier fix that evicts inconsistent same-client aggregate histories during event-index backfill. Together they protect playback from both out-of-order cached histories and stale no-op commits.

    Add regressions for preserving backfilled indices, clearing stale no-event commits after backfill, and clearing stale no-event commits against a different cached head.