test(next-config): regenerate mergeEnvIntoConfig snapshot to unblock CI#2632
Merged
Conversation
The `parses an env config object` test feeds the env-schema parser `GC_DEMO_MODE='1'`, `GC_STOREFRONT_0_HYGRAPH_LOCALES_0='en'`, and `GC_STOREFRONT_1_HYGRAPH_LOCALES_0='de'`, but the committed snapshot still reflects the pre-`demoMode` / pre-flattened-`hygraphLocales` schema. Every CI run since those config fields were added (and the test input updated) has failed the `test` job on every PR with a snapshot mismatch unrelated to the PR's own changes: Snapshot \`parses an env config object 1\` mismatched + "GC_DEMO_MODE": true, + "GC_STOREFRONT_0_HYGRAPH_LOCALES_0": "en", + "GC_STOREFRONT_1_HYGRAPH_LOCALES_0": "de", Update the snapshot to match the schema. No code change.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: c25106b The changes in this PR will be included in the next version bump. This PR includes changesets to release 86 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Every PR's
pr-analysis / testjob has been failing on canary with a snapshot mismatch inmergeEnvIntoConfig— unrelated to the PR's own changes. Example: latest run on #2628 https://github.com/graphcommerce-org/graphcommerce/actions/runs/26162186314/job/76978986351 ends with:Root cause: the test input at
mergeEnvIntoConfig.ts:21-34was updated to includeGC_DEMO_MODE,GC_STOREFRONT_0_HYGRAPH_LOCALES_0, andGC_STOREFRONT_1_HYGRAPH_LOCALES_0when those fields landed in the config schema, but the committed snapshot was never regenerated. The env-schema parser correctly emits those three extra keys; the snapshot just doesn't expect them.This PR only updates the snapshot to match the schema. No code change, no behaviour change, no other tests touched. Once merged, every other PR's
testjob goes green without rebasing.Test plan
pr-analysis / testpasses on this PR.🤖 Generated with Claude Code