Skip to content

Update pgstencil to ^0.4.0 - #1173

Merged
nedtwigg merged 8 commits into
mainfrom
renovate/pgstencil
Oct 19, 2026
Merged

nedtwigg merged 8 commits into
mainfrom
renovate/pgstencil

Conversation

@renovate

@renovate renovate Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@pgstencil/auth (source) ^0.3.0 → ^0.4.0 age adoption passing confidence
pgstencil (source) ^0.3.0 → ^0.4.0 age adoption passing confidence

Configuration

📅 Schedule: (in timezone America/Los_Angeles)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Deploying mouseterm with  Cloudflare Pages  Cloudflare Pages

Latest commit: f527af3
Status: ✅  Deploy successful!
Preview URL: https://ca6daa96.mouseterm.pages.dev
Branch Preview URL: https://renovate-pgstencil.mouseterm.pages.dev

View logs

@dormouse-bot dormouse-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verify fails because pgstencil@0.4.0 dropped testcontainers and node-pg-migrate from its dependencies. Both are now optional peers, loaded through importPeer. The lockfile removed testcontainers altogether, so every test that calls createTestContext from pgstencil/testing (relay, workers, relay-room, runtime-roles) throws pgstencil/database needs the optional peer dependency "testcontainers". node-pg-migrate still resolves, but only because pnpm picked up a copy left over in the lockfile. Nothing declares it, yet hosted/server/db.ts (migrate) and the test templates need it.

I'm pushing a fix that adds both to hosted's devDependencies (testcontainers ^12.2.1, the version pgstencil's peer range asks for; node-pg-migrate ^9.0.0). Hosted doesn't import pgstencil/snapshots, so cheerio and turndown stay undeclared.

dormouse-bot and others added 2 commits October 19, 2026 00:51
…d node-pg-migrate

pgstencil 0.4 moved both from dependencies to optional peers, so the
hosted DB tests failed to load testcontainers.
@renovate

renovate Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

dormouse-bot and others added 5 commits October 19, 2026 00:57
artifacts.test.ts pins docs/specs/hosted.md's rule that Hosted declares
every peer of the installed pgstencil packages in its dependencies, so
the optional peers cheerio and turndown are declared too. Regenerates the
dependency disclosure for the bump.
pgstencil 0.4.0 makes testcontainers and node-pg-migrate optional peers.
Hosted's tests, dev server, and migrate step load them, so hosted/ declares
them as devDependencies. The peer rule now asks only required peers into
dependencies, and keeps every optional one out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The test harness pgstencil 0.3.0 declared as runtime dependencies is gone from
the Hosted section (189 rows to 39); the page no longer blames it for the
excess, and the rationale names the eight rows no bundle holds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e/pgstencil

# Conflicts:
#	pnpm-lock.yaml
#	website/src/data/dependencies-npm.json
@nedtwigg

Copy link
Copy Markdown
Member

Pushed a different fix than 3cd059b. pgstencil 0.4.0 made its test harness (testcontainers, node-pg-migrate, cheerio, turndown) optional peers precisely so it would leave Hosted's runtime graph (diffplug/pgstencil#72). Declaring them under dependencies put them back, and the Hosted disclosure stayed at 189 rows.

  • 2ba376e: testcontainers and node-pg-migrate (loaded by Hosted's tests, dev server, and migrate step) are devDependencies; cheerio and turndown (pgstencil/snapshots, which Hosted never imports) are not declared. docs/specs/hosted.md's peer rule now asks only required peers into dependencies and keeps optional ones out, and artifacts.test.ts pins both halves (mutation-checked).
  • 2ea4fc7: the Hosted section drops from 189 rows to 39, and the page and rationale stop blaming pgstencil's test tooling.
  • f527af3 merges the bot's commits but keeps this tree.

pnpm test:hosted (175) and test:miniflare (73) pass locally with Docker.

@nedtwigg
nedtwigg merged commit b8577ac into main Oct 19, 2026
9 checks passed
@nedtwigg
nedtwigg deleted the renovate/pgstencil branch October 19, 2026 01:51
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.

2 participants