Replaces the MATERIALIZED-CTE scalar guard in 0045's backfill with an inline CASE that feeds json_each an empty object for non-object rows. Same scalar guard (no "cannot deconstruct a scalar"), but a single streaming pass — no 100 GB materialization to temp. Prod is at 0044 (the earlier 0045 rolled back), so this is the 0045 that runs on next deploy.
(Today's local-disk fill was unrelated — accumulated container images in /var/lib/containerd, since pruned. Migration temp goes to NFS, which has room.)
Replaces the MATERIALIZED-CTE scalar guard in 0045's backfill with an inline `CASE` that feeds `json_each` an empty object for non-object rows. Same scalar guard (no "cannot deconstruct a scalar"), but a single streaming pass — no 100 GB materialization to temp. Prod is at 0044 (the earlier 0045 rolled back), so this is the 0045 that runs on next deploy.
(Today's local-disk fill was unrelated — accumulated container images in /var/lib/containerd, since pruned. Migration temp goes to NFS, which has room.)
CI green on dev `e6d5f67` (run 856).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
The MATERIALIZED-CTE scalar guard forced Postgres to materialize all object
rows with their full JSON (~100 GB) to temp before json_each — on NFS that's a
huge spill and pathologically slow (risks disk-full). Replace with an inline
CASE that feeds json_each an empty object for non-object rows: same scalar
guard, but a single streaming pass with no materialization.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Replaces the MATERIALIZED-CTE scalar guard in 0045's backfill with an inline
CASEthat feedsjson_eachan empty object for non-object rows. Same scalar guard (no "cannot deconstruct a scalar"), but a single streaming pass — no 100 GB materialization to temp. Prod is at 0044 (the earlier 0045 rolled back), so this is the 0045 that runs on next deploy.(Today's local-disk fill was unrelated — accumulated container images in /var/lib/containerd, since pruned. Migration temp goes to NFS, which has room.)
CI green on dev
e6d5f67(run 856).🤖 Generated with Claude Code