Skip to content

Fix params.defineList cors parsed as undefined at deploy #4803

Fix params.defineList cors parsed as undefined at deploy

Fix params.defineList cors parsed as undefined at deploy #4803

Triggered via pull request February 20, 2026 11:23
Status Failure
Total duration 4m 20s
Artifacts 2

test.yaml

on: pull_request
Matrix: lint
Matrix: unit
Matrix: integration
Matrix: packaging
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 10 warnings
unit (20.x)
Process completed with exit code 1.
unit (18.x)
The strategy configuration was canceled because "unit._20_x" failed
unit (18.x)
The operation was canceled.
unit (22.x)
The strategy configuration was canceled because "unit._20_x" failed
unit (22.x)
The operation was canceled.
unit (24.x)
The strategy configuration was canceled because "unit._20_x" failed
unit (24.x)
The operation was canceled.
lint (22.x)
Process completed with exit code 1.
lint (22.x): src/v2/providers/https.ts#L348
This assertion is unnecessary since it does not change the type of the expression
lint (22.x): src/v2/providers/https.ts#L325
Replace `isDebugFeatureEnabled("enableCors")·&&·(!options.respectCorsFalse·||·options.corsOpt·!==·false)` with `⏎······isDebugFeatureEnabled("enableCors")·&&⏎······(!options.respectCorsFalse·||·options.corsOpt·!==·false)⏎····`
lint (22.x): src/v2/providers/https.ts#L324
Replace `reqOrigin:·string·|·undefined,·callback:·(err:·Error·|·null,·allow?:·boolean·|·string)·=>·void` with `⏎····reqOrigin:·string·|·undefined,⏎····callback:·(err:·Error·|·null,·allow?:·boolean·|·string)·=>·void⏎··`
lint (22.x): src/v2/providers/https.ts#L296
Replace `reqOrigin:·string·|·undefined,·cb:·(err:·Error·|·null,·allow?:·boolean·|·string)·=>·void` with `⏎····reqOrigin:·string·|·undefined,⏎····cb:·(err:·Error·|·null,·allow?:·boolean·|·string)·=>·void⏎··`
lint (22.x): src/params/types.ts#L656
This assertion is unnecessary since it does not change the type of the expression
lint (22.x): integration_test/functions/src/index.ts#L53
Unsafe argument of type error typed assigned to a parameter of type `string`
lint (22.x): integration_test/functions/src/index.ts#L52
Unsafe member access .ok on an `error` typed value
lint (22.x): integration_test/functions/src/index.ts#L45
Unsafe member access .projectId on an `any` value
lint (22.x): integration_test/functions/src/index.ts#L44
Unsafe call of a(n) `error` type typed value
lint (22.x): integration_test/functions/src/index.ts#L44
Unsafe assignment of an error typed value
lint (22.x): integration_test/functions/src/index.ts#L43
Unexpected any. Specify a different type
lint (22.x): integration_test/functions/src/index.ts#L34
Unsafe assignment of an `any` value
lint (22.x): integration_test/functions/src/index.ts#L26
Unsafe member access .projectId on an `any` value
lint (22.x): integration_test/functions/src/index.ts#L25
Unexpected any. Specify a different type
lint (22.x): integration_test/functions/src/index.ts#L20
Unsafe assignment of an `any` value

Artifacts

Produced during runtime
Name Size Digest
lib
266 KB
sha256:738b0706a0d3cdf1a76852e60722d43155b4bbbd361260093944dc9c81fcae98
tarball
219 KB
sha256:3079a09c8ff850a862c0e463f12029c9119c54cbc4e406a00ee85882433bc861