Skip to content

fix(deps): refresh Node toolchain pin to v20.20.2 LTS - #2

Closed
ihistand wants to merge 1 commit into
rename/dataform-to-sqlanvilfrom
fix/node-toolchain-pin
Closed

fix(deps): refresh Node toolchain pin to v20.20.2 LTS#2
ihistand wants to merge 1 commit into
rename/dataform-to-sqlanvilfrom
fix/node-toolchain-pin

Conversation

@ihistand

Copy link
Copy Markdown
Collaborator

Summary

The pinned Node v24.13.0 in WORKSPACE had stale SHA256 hashes that no longer matched the binaries served from nodejs.org. Bumped to Node v20.20.2 LTS (matches node:20-bookworm in Dockerfile.dev) with fresh SHA256 hashes from nodejs.org/dist/v20.20.2/SHASUMS256.txt for all 5 platforms.

This unblocks the proto-TS and core build/test targets that the rename PR #1 could not verify due to the broken Node pin.

Stale hash example

Expected: e798599612f4bb71333a3397ab0d095fd62214e115aea45aa858a145fc72d67e
Actual:   aa881151bd0f9f154a0424dd60a72e9ce10672619121658c278a24327ef46831

Was a stale-pin issue, not a Node-24-specific problem — nodejs.org seems to have re-published the v24.13.0 archives at some point. Pinning to an LTS line is more stable.

Verification (in Docker)

./scripts/docker-bazel build //protos:ts        # → success
./scripts/docker-bazel build //core/...         # → success
./scripts/docker-bazel test  //core/...         # → 16/16 pass

Test plan

  • `./scripts/docker-bazel build //protos:ts`
  • `./scripts/docker-bazel build //core/...`
  • `./scripts/docker-bazel test //core/...` (16/16 pass)
  • `./scripts/docker-bazel build //...` — blocked separately by missing `@io_bazel_rules_docker` declaration in WORKSPACE (pre-existing upstream issue; `tools/postgres/BUILD` references it)

Stack

Stacked on top of PR #1 (`rename/dataform-to-sqlanvil`). Merge order: #1 first, then this.

🤖 Generated with Claude Code

The pinned Node v24.13.0 in WORKSPACE had stale SHA256 hashes that no
longer matched nodejs.org's served binaries:

  Expected: e798599612f4bb71333a3397ab0d095fd62214e115aea45aa858a145fc72d67e
  Actual:   aa881151bd0f9f154a0424dd60a72e9ce10672619121658c278a24327ef46831

Bumped to Node v20.20.2 LTS (matches the node:20-bookworm base in
Dockerfile.dev). Fresh SHA256 hashes pulled from
nodejs.org/dist/v20.20.2/SHASUMS256.txt for all 5 platforms.

This was a stale-pin issue (not a Node 24 problem) — nodejs.org appears
to have re-published the v24.13.0 archives at some point. Pinning to an
LTS line is more stable.

Verified in Docker:
  ./scripts/docker-bazel build //protos:ts          → success
  ./scripts/docker-bazel build //core/...           → success
  ./scripts/docker-bazel test  //core/...           → 16/16 pass

Full tree (//...) still blocked by a separate pre-existing upstream
issue: tools/postgres/BUILD references @io_bazel_rules_docker which is
not declared in WORKSPACE.
ihistand added a commit that referenced this pull request Jun 4, 2026
#2 decision: workflow_settings.yaml uses a flat `warehouse:` string
(bigquery/postgres/supabase) + flat defaults; the connection (with secrets)
stays in the gitignored .df-credentials.json. This overturns the design doc's
earlier "nested warehouse:{kind,connection}" call, which would have put secrets
in committed config — flat matches Dataform's settings/credentials split and is
already what the CLI, init, tests, example, and agent docs use.

Harden it: workflowSettingsAsProjectConfig now rejects an unknown `warehouse:`
value with a clear error instead of silently defaulting to BigQuery.

TDD: core/main_test.ts "warehouse config" suite (accepts the three, defaults to
bigquery when unset, RED→GREEN on rejecting "mysql"). CLAUDE.md item #2 marked
resolved.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ihistand

ihistand commented Jun 7, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded: the Postgres reintegration + Dataform→SQLAnvil rename landed on main directly, and the docs moved to the SQLAnvil/docs repo. Closing as part of #12 (stale-branch prune). The one un-migrated draft, gcp_test_project_setup.md, was migrated to SQLAnvil/docs.

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