Description
This affects all of our Playwright tests because webpack is failing to output bundles
Flakiness Type
Other / Unknown
Name of Job
Playwright (bundle_tracing_replay_feedback) Tests
Name of Test
integrations/Breadcrumbs/dom/click/test.ts:7:11
Link to Test Run
https://github.com/getsentry/sentry-javascript/actions/runs/8960269977/job/24606691207?pr=11899#logs
Details
Downloaded the playwright trace and this is what is being rendered when loading the page:
Html Webpack Plugin:
<pre>
Error: EEXIST: file already exists, symlink '/home/runner/work/sentry-javascri pt/sentry-javascript/packages/browser/build/bundles/bundle.tracing.replay.feed back.js' -> '/home/runner/work/sentry-javascript/sentry-javascript/dev-package s/browser-integration-tests/tmp/static/cdn.bundle.js'
- node:fs:1816 Object.symlinkSync
node:fs:1816:3
- staticAssets.ts:30 addStaticAssetSymlink
/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-i ntegration-tests/utils/staticAssets.ts:30:8
- generatePlugin.ts:203
/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-i ntegration-tests/utils/generatePlugin.ts:203:32
- new Promise
- Hook.js:22 Hook.PROMISE_DELEGATE [as _promise]
[sentry-javascript]/[tapable]/lib/Hook.js:22:14
- index.js:281
[browser-integration-tests]/[html-webpack-plugin]/index.js:281:89
- task_queues:95 processTicksAndRejections
node:internal/process/task_queues:95:5
</pre>