Skip to content

test(snapshots): redact scaffolded devEngines version pins#2103

Merged
graphite-app[bot] merged 1 commit into
mainfrom
fix/redact-scaffold-pm-version
Jul 9, 2026
Merged

test(snapshots): redact scaffolded devEngines version pins#2103
graphite-app[bot] merged 1 commit into
mainfrom
fix/redact-scaffold-pm-version

Conversation

@fengmk2

@fengmk2 fengmk2 commented Jul 9, 2026

Copy link
Copy Markdown
Member

vp create/migrate write the resolved runtime and package-manager version
into a scaffolded package.json devEngines block, so recorded snapshots go
stale whenever the package manager or Node publishes a release (yarn
4.17.0 -> 4.17.1 broke the create_approve_builds_yarn case).

Mask the version value adjacent to a devEngines tool-name key
(node/npm/pnpm/yarn/bun/deno), the same way the banner already masks
"yarn ", and normalize the 9 existing pins across 5 snapshots.
User-controlled semver in the same manifests (core-js, a pre-existing
packageManager string, top-level version) stays verbatim.

@netlify

netlify Bot commented Jul 9, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit ab7f35b
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a4efc2abccb570008148b40

fengmk2 commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

How to use the Graphite Merge Queue

Add the label auto-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@fengmk2 fengmk2 marked this pull request as ready for review July 9, 2026 01:33
@fengmk2 fengmk2 self-assigned this Jul 9, 2026
@fengmk2 fengmk2 requested a review from cpojer July 9, 2026 01:33
@graphite-app

graphite-app Bot commented Jul 9, 2026

Copy link
Copy Markdown

Merge activity

vp create/migrate write the resolved runtime and package-manager version
into a scaffolded package.json devEngines block, so recorded snapshots go
stale whenever the package manager or Node publishes a release (yarn
4.17.0 -> 4.17.1 broke the create_approve_builds_yarn case).

Mask the version value adjacent to a devEngines tool-name key
(node/npm/pnpm/yarn/bun/deno), the same way the banner already masks
"yarn <version>", and normalize the 9 existing pins across 5 snapshots.
User-controlled semver in the same manifests (core-js, a pre-existing
packageManager string, top-level version) stays verbatim.
@graphite-app graphite-app Bot force-pushed the fix/redact-scaffold-pm-version branch from 0f0a211 to ab7f35b Compare July 9, 2026 01:40
@graphite-app graphite-app Bot merged commit ab7f35b into main Jul 9, 2026
52 checks passed
@graphite-app graphite-app Bot deleted the fix/redact-scaffold-pm-version branch July 9, 2026 01:48
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