@subsquid/pipes v0.1.0-beta.18
Pre-release
Pre-release
·
327 commits
to main
since this release
Fix ClickHouse reorg crash-loop on an empty finalized cursor
A ClickHouse target could get stuck in a restart loop after a chain reorg when the newest saved state row had no finalized head yet (persisted as an empty finalized cursor). Fork resolution did an unguarded JSON.parse('') and threw SyntaxError on every restart, ingesting no blocks until the row aged out. Realtime exporters starting near the chain head were the ones affected.
- Fork resolution now decodes an empty
finalized/rollback_chaintoundefined/[]and skips the row instead of crashing, matching the Postgres and BigQuery targets. - Read-path only — the write path is unchanged and existing state rows need no migration.
Full Changelog: ada9f08...pipes-v0.1.0-beta.18