Repository navigation
fix(build): avoid Turbopack chunk collision with GCS path rename - #7593
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
Greptile SummaryThis PR renames the GCS upload-provider directory to prevent a Turbopack chunk-name collision while preserving the existing provider identity and behavior.
Confidence Score: 5/5The PR appears safe to merge because the directory rename is complete and preserves the existing GCS runtime contract. No actionable failures remain: all old provider-path references were migrated, test discovery still includes the moved test, and provider configuration and persisted identifiers continue to use
|
| Filename | Overview |
|---|---|
| apps/sim/lib/uploads/core/storage-client.ts | Updates the lazy GCS metadata-client import to the renamed provider path. |
| apps/sim/lib/uploads/core/storage-service.ts | Updates GCS types and all storage-operation dynamic imports consistently. |
| apps/sim/lib/uploads/providers/google-cloud-storage/client.ts | Moves the existing GCS client and updates its local type import without changing behavior. |
| apps/sim/lib/uploads/providers/google-cloud-storage/client.test.ts | Moves the existing GCS test suite and updates its client import. |
| apps/sim/lib/uploads/providers/google-cloud-storage/types.ts | Moves the unchanged GCS provider type definitions. |
| apps/sim/lib/uploads/upload-session/provider.ts | Updates every upload-session GCS dynamic import to the renamed provider module. |
Reviews (1): Last reviewed commit: "fix(build): avoid Turbopack chunk collis..." | Re-trigger Greptile
waleedlatif1
added a commit
that referenced
this pull request
Sep 24, 2026
…nk name collision Turbopack truncates chunk content hashes to seven characters (vercel/next.js#97765), and this branch's module graph produced two different server chunks with the same name, failing the build. Renaming the module re-rolls the hash, as #7593 did; the collision can recur on unrelated changes until Next ships untruncated hashes.
This branch was previously deployed
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
google-cloud-storageand update imports to avoid a Turbopack chunk filename collision.Type of Change
Testing
Clean production build and TypeScript passed with the existing 8 GB build setting. All 114 focused upload/storage tests, lint, 46 repository audits, and docs manifest validation passed.
Checklist