Skip to content

Commit 6b01266

Browse files
andreiborzaclaude
andcommitted
test(e2e): Raise mock Sentry server chunk size to fit whole bundles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent d79f44c commit 6b01266

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎dev-packages/test-utils/src/mock-sentry-server.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,9 @@ function sendResponse(
171171
res.end(
172172
JSON.stringify({
173173
url: `http://localhost:${port}/api/0/organizations/${org}/chunk-upload/`,
174-
chunkSize: 8388608,
174+
// Each chunk is unzipped on its own, so a bundle split across chunks loses its manifest.
175+
// Keep chunks as large as a request allows so that every bundle fits in one chunk.
176+
chunkSize: 33554432,
175177
chunksPerRequest: 64,
176178
maxFileSize: 2147483648,
177179
maxRequestSize: 33554432,

0 commit comments

Comments
 (0)