Skip to content

Run forge-staging CI on Node 22 (unblocks #108) - #117

Merged
Zacharon merged 3 commits into
mainfrom
fix/forge-staging-node22-20261117
Nov 17, 2026
Merged

Zacharon merged 3 commits into
mainfrom
fix/forge-staging-node22-20261117

Conversation

@Zacharon

Copy link
Copy Markdown
Owner

Why

Dependabot #108 (@electric-sql/pglite 0.5.13 -> 0.5.16, pglite-postgis 0.2.13 -> 0.2.16) fails forge-staging test 6:

could not load library "/pglite/lib/postgresql/postgis-3.so": could not load dynamic lib: /pglite/lib/postgresql/postgis-3.so
RuntimeError: null function or function signature mismatch

The failure is real. It is not a missing secret: the Forge checkout succeeded under Dependabot's token, and tests 1-5 passed.

Reproduction (local, main's db/migrations/001 + 002 only, fresh PGlite.create({ extensions: { postgis } }))

pglite / postgis Node 20.20.2 Node 22.18.0 Node 24.16.0
0.5.13 / 0.2.13 loads (not run) (not run)
0.5.16 / 0.2.16 fails, same error loads loads

Change

  • validate.yml, forge-staging job only: node-version: 20 -> 22, with a comment saying why.
  • Docs that name the Node version: FORGE_STAGING_INTEGRATION_2026-10-21.md, LOCAL_VALIDATION.md, plus a LAST_30_DAYS.md entry.

PGlite is a test-only devDependency, not used by src/, netlify/ or functions/. The other jobs and engines stay on Node 20. No test was changed, skipped or weakened.

Checks

On a main export with this change applied: node --test tests/audit-repair-tests.mjs 51/51, node tests/run-tests.mjs all passed, live-map-validator --offline 10/10. After this merges, @dependabot rebase on #108 runs forge-staging on Node 22 with 0.5.16.

🤖 Generated with Claude Code

Dependabot #108 (pglite 0.5.16, pglite-postgis 0.2.16) fails forge-staging:
CREATE EXTENSION postgis cannot load postgis-3.so on Node 20 ("null
function or function signature mismatch"). Reproduced locally with main's
migrations only: fails on Node 20.20.2, loads on Node 22.18.0 and 24.16.0;
0.5.13 loads on Node 20. PGlite is a test-only devDependency, so only this
job moves to Node 22. The tests themselves are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@netlify

netlify Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for liveworldmap ready!

Name Link
🔨 Latest commit 9544126
🔍 Latest deploy log https://app.netlify.com/projects/liveworldmap/deploys/6afcd59932da245c53794c24
😎 Deploy Preview https://deploy-preview-117--liveworldmap.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

No conflicts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Zacharon Zacharon mentioned this pull request Nov 17, 2026
Brings current `main` (46db8f7) into the #117 branch, through a PR
because the repository ruleset requires PRs on all branches. No
conflicts. On the merged tree: audit-repair 67/67, run-tests all passed
(LF export), validator --offline 10/10.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
@Zacharon

Copy link
Copy Markdown
Owner Author

Merging under the round-2 instruction to fix #108's failure in a follow-up PR. The change is CI-only: the forge-staging job moves to Node 22, plus three doc lines. No test was altered. Synced with main 46db8f7 via #121 (no conflicts); CI all green on 9544126. Note that I wrote this PR, so it had no second-model review.

@Zacharon
Zacharon merged commit cee2cb9 into main Nov 17, 2026
13 checks passed
Zacharon added a commit that referenced this pull request Nov 17, 2026
Brings current `main` (cee2cb9, which includes #117's forge-staging move
to Node 22) into the #108 Dependabot branch. `@dependabot rebase` was
requested but produced no push; a rebase needs a force-push, which the
all-branch ruleset blocks (`non_fast_forward`). No conflicts. Net diff
vs main is only Dependabot's `package.json`/`package-lock.json` bump.

Local, merged tree + pglite 0.5.16 / pglite-postgis 0.2.16:
`tests/usgs-ingestion-tests.mjs` and `tests/usgs-recovery-tests.mjs`
pass on Node 22.18.0 and crash on Node 20.20.2, which matches #117's
diagnosis.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant