Skip to content

refactor auth to support modal mode #4926

refactor auth to support modal mode

refactor auth to support modal mode #4926

Triggered via pull request November 10, 2026 20:07
Status Failure
Total duration 5m 23s
Artifacts –

frontend-preview.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
deploy / deploy
🚨 Action failed
deploy / deploy
The process '/opt/hostedtoolcache/node/24.15.0/x64/bin/npx' failed with exit code 1
deploy / deploy
npm warn Unknown env config "package-import-method". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. ▲ [WARNING] 🚧 `wrangler preview` is an open beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose ▲ [WARNING] Duplicate key "options" in object literal [duplicate-object-key] .output/server/chunks/build/index.min-ecIMCVHJ.mjs:1:260863: 1 │ ...[],options:{},allElements:[],options:d,allElements:u};let p={};r... ╵ ~~~~~~~ The original key "options" is here: .output/server/chunks/build/index.min-ecIMCVHJ.mjs:1:260837: 1 │ ...eturn{objects:[],elements:[],options:{},allElements:[],options:d... ╵ ~~~~~~~ ▲ [WARNING] Duplicate key "allElements" in object literal [duplicate-object-key] .output/server/chunks/build/index.min-ecIMCVHJ.mjs:1:260873: 1 │ ...},allElements:[],options:d,allElements:u};let p={};return u.filt... ╵ ~~~~~~~~~~~ The original key "allElements" is here: .output/server/chunks/build/index.min-ecIMCVHJ.mjs:1:260848: 1 │ ...:[],elements:[],options:{},allElements:[],options:d,allElements:... ╵ ~~~~~~~~~~~ ▲ [WARNING] The "??" operator here will always return the left operand [suspicious-nullish-coalescing] .output/server/chunks/build/server.mjs:1:2364736: 1 │ ...},{short:"other",name:"Other"}]??[],reportTypes:["spam","copyrig... ╵ ~~ The left operand of the "??" operator here will never be null or undefined, so it will always be returned. This usually indicates a bug in your code: .output/server/chunks/build/server.mjs:1:2364535: 1 │ ...nPlatforms:[{short:"patreon",name:"Patreon"},{short:"bmac",name:... ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ▲ [WARNING] The "??" operator here will always return the left operand [suspicious-nullish-coalescing] .output/server/chunks/build/server.mjs:1:2364864: 1 │ ...on","invalid metadata","other"]??[],projectTypes:[{actual:"mod",... ╵ ~~ The left operand of the "??" operator here will never be null or undefined, so it will always be returned. This usually indicates a bug in your code: .output/server/chunks/build/server.mjs:1:2364753: 1 │ ...eportTypes:["spam","copyright","inappropriate","malicious","name... ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ✘ [ERROR] A request to the Cloudflare API (/accounts/***/workers/workers/frontend/previews/e2f6769d363c4e2db89b1a8015d0fe60/deployments) failed. total sourcemap size is too large, must not exceed 15 MiB when gzipped (received 58391 KiB / 15403 KiB gzipped) [code: 10021] To learn more about this error, visit: https://developers.cloudflare.com/workers/observability/errors/#validation-errors-10021 If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose 🪵 Logs were written to "/home/runner/.config/.wrangler/logs/wrangler-2026-11-10_20-11-58_602.log"
deploy / deploy
🚨 Action failed
deploy / deploy
The process '/opt/hostedtoolcache/node/24.15.0/x64/bin/npx' failed with exit code 1
deploy / deploy
npm warn Unknown env config "package-import-method". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. ▲ [WARNING] 🚧 `wrangler preview` is an open beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose ▲ [WARNING] Processing wrangler.jsonc configuration: - "env.staging" environment configuration - There is a secrets_store_secrets binding with name "INTERCOM_IDENTITY_SECRET" at the top level, but not on "env.staging". This is not what you probably want, since "secrets_store_secrets" configuration is not inherited by environments. Please add a binding for "INTERCOM_IDENTITY_SECRET" to "env.staging.secrets_store_secrets.bindings". - "version_metadata" exists at the top level, but not on "env.staging". This is not what you probably want, since "version_metadata" is not inherited by environments. Please add "version_metadata" to "env.staging". ▲ [WARNING] Duplicate key "options" in object literal [duplicate-object-key] .output/server/chunks/build/index.min-ecIMCVHJ.mjs:1:260863: 1 │ ...[],options:{},allElements:[],options:d,allElements:u};let p={};r... ╵ ~~~~~~~ The original key "options" is here: .output/server/chunks/build/index.min-ecIMCVHJ.mjs:1:260837: 1 │ ...eturn{objects:[],elements:[],options:{},allElements:[],options:d... ╵ ~~~~~~~ ▲ [WARNING] Duplicate key "allElements" in object literal [duplicate-object-key] .output/server/chunks/build/index.min-ecIMCVHJ.mjs:1:260873: 1 │ ...},allElements:[],options:d,allElements:u};let p={};return u.filt... ╵ ~~~~~~~~~~~ The original key "allElements" is here: .output/server/chunks/build/index.min-ecIMCVHJ.mjs:1:260848: 1 │ ...:[],elements:[],options:{},allElements:[],options:d,allElements:... ╵ ~~~~~~~~~~~ ▲ [WARNING] The "??" operator here will always return the left operand [suspicious-nullish-coalescing] .output/server/chunks/build/server.mjs:1:2364736: 1 │ ...},{short:"other",name:"Other"}]??[],reportTypes:["spam","copyrig... ╵ ~~ The left operand of the "??" operator here will never be null or undefined, so it will always be returned. This usually indicates a bug in your code: .output/server/chunks/build/server.mjs:1:2364535: 1 │ ...nPlatforms:[{short:"patreon",name:"Patreon"},{short:"bmac",name:... ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ▲ [WARNING] The "??" operator here will always return the left operand [suspicious-nullish-coalescing] .output/server/chunks/build/server.mjs:1:2364864: 1 │ ...on","invalid metadata","other"]??[],projectTypes:[{actual:"mod",... ╵ ~~ The left operand of the "??" operator here will never be null or undefined, so it will always be returned. This usually indicates a bug in your code: .output/server/chunks/build/server.mjs:1:2364753: 1 │ ...eportTypes:["spam","copyright","inappropriate","malicious","name... ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ✘ [ERROR] A request to the Cloudflare API (/accounts/***/workers/workers/frontend-staging/previews/7f3c6b31446a4c17a2f158a803e5d01c/deployments) failed. total sourcemap size is too large, must not exceed 15