Skip to content

test(pgpm): update init snapshots for workspace-level safegres boilerplate - #1838

Merged
pyramation merged 2 commits into
mainfrom
feat/workspace-level-safegres-snapshots
Sep 17, 2026
Merged

pyramation merged 2 commits into
mainfrom
feat/workspace-level-safegres-snapshots

Conversation

@pyramation

Copy link
Copy Markdown
Contributor

Summary

Snapshot-only update for constructive-io/pgpm-boilerplates#52, which moves safegres from every pgpm/module to the workspace root: safegres.config.js / safegres-perf-baseline.json now appear once at <workspace>/ instead of under each packages/<module>/, and the module package.json no longer carries audit:db* scripts or the safegres dep.

Affected: init.test.ts.snap, init.install.test.ts.snap, extensions.test.ts.snap. Regenerated by temporarily pointing withInitDefaults at the local boilerplate branch, then restoring repo/fromBranch to the real defaults in the snapshot (no source changes).

Landing order. pgpm/cli/test-utils/init-argv.ts scaffolds from the boilerplates repo at fromBranch: 'main' (not a pinned ref), so these tests track that repo live. Merge constructive-io/pgpm-boilerplates#52 first; until then this PR's pgpm/cli tests fail (old template), and after it merges main here fails until this lands.

Link to Devin session: https://app.devin.ai/sessions/b2cd2199e6bc4547874ff99963347bef
Open in Devin Desktop: https://app.devin.ai/desktop/session/b2cd2199e6bc4547874ff99963347bef?variant=devin
Requested by: @pyramation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@tenki-reviewer

tenki-reviewer Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

Review complete. No issues found — approved ✅.


This PR refreshes committed Jest snapshot files in pgpm/cli/__tests__/__snapshots__/ after related code or environment changes. All three files are machine-generated test snapshots and were skipped by review as generated artifacts.

Files Change
extensions.test.ts.snap, init.install.test.ts.snap, init.test.ts.snap Regenerate expected output snapshots for the corresponding pgpm CLI tests.

Reviewed commit: 1827d44

@blacksmith-sh

This comment has been minimized.

@pyramation
pyramation merged commit a6ba70b into main Sep 17, 2026
20 checks passed
@pyramation
pyramation deleted the feat/workspace-level-safegres-snapshots branch September 17, 2026 00:37
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