Skip to content

chore(compat): register ponder@0.16.9 as a tested compat version (published:false)#148

Merged
dzhelezov merged 1 commit into
mainfrom
compat/ponder-0.16.9
Jul 10, 2026
Merged

chore(compat): register ponder@0.16.9 as a tested compat version (published:false)#148
dzhelezov merged 1 commit into
mainfrom
compat/ponder-0.16.9

Conversation

@dzhelezov

Copy link
Copy Markdown
Collaborator

Upstream ponder published 0.16.9 as latest on 2026-07-10, so a fresh npm install ponder now resolves to a version the fork didn't yet cover. This registers the compat row and adds wiring/0.16.9.patch (a verbatim copy of wiring/0.16.8.patch).

What changed upstream (0.16.8 → 0.16.9)

A single source file: src/indexing-store/cache.tsponder-sh/ponder#2323: fix p.bytes() bytea encoding on the Postgres COPY flush path (emit \x<hex> for Buffer values), fixing DelayedInsertError: invalid byte sequence for encoding "UTF8": 0x00. Confirmed by diffing the 0.16.8 vs 0.16.9 npm tarballs (only cache.ts + its compiled dist + CHANGELOG differ).

Why the seam is untouched

indexing-store/cache.ts is not on the graft surface (sync-historical, runtime/historical, sync-store, rpc, sync, sync-realtime). Every upstream file the wiring patch modifies is byte-identical between 0.16.8 and 0.16.9, so the 0.16.8 patch applies to 0.16.9 with zero rejects. The fork passively inherits the upstream bytea-COPY correctness fix.

Verification — scripts/sync-upstream.sh 0.16.9 --test

  • patch applies cleanly (zero rejects), builds @subsquid/ponder@0.16.9-sqd.1
  • full Portal suite 328/328 green on ponder@0.16.9 (18 test files)
  • biome check clean; secret-scan clean

Scope

Compat rests on seam-identity + the full suite, as for 0.16.8/0.16.7/0.15.17.

…false)

Upstream `ponder` published 0.16.9 as `latest` on 2026-07-10, so a fresh
`npm install ponder` now resolves to a version the fork didn't yet cover.
This adds the compat row + wiring/0.16.9.patch (a verbatim copy of
wiring/0.16.8.patch).

Verification (`scripts/sync-upstream.sh 0.16.9 --test`):
- 0.16.8→0.16.9 is a single-file upstream change: src/indexing-store/cache.ts
  only (ponder-sh/ponder#2323 — fix p.bytes() bytea encoding on the Postgres
  COPY flush path, emitting \x<hex> for Buffer values to fix "DelayedInsertError:
  invalid byte sequence for encoding UTF8: 0x00"). Confirmed by diffing the
  0.16.8 and 0.16.9 npm tarballs.
- indexing-store/cache.ts is off the graft surface (sync-historical,
  runtime/historical, sync-store, rpc, sync, sync-realtime); every upstream file
  the wiring patch modifies is byte-identical between 0.16.8 and 0.16.9, so the
  patch applies cleanly (zero rejects).
- builds, and the full Portal suite is 328/328 green on ponder@0.16.9.
- The fork passively inherits the upstream bytea-COPY correctness fix.

published:false — publishing to npm is a deliberate, human-reserved step;
0.16.8-sqd.1 stays --tag latest until then.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dzhelezov dzhelezov merged commit a49d11a into main Jul 10, 2026
14 checks passed
@dzhelezov dzhelezov deleted the compat/ponder-0.16.9 branch July 10, 2026 20:55
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