Skip to content

Optimize and clean adding and removing infrastructure logic #242

Optimize and clean adding and removing infrastructure logic

Optimize and clean adding and removing infrastructure logic #242

Triggered via pull request July 24, 2025 11:53
@ServerlessLifeServerlessLife
synchronize #130
alpha
Status Cancelled
Total duration 6m 22s
Artifacts 1

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

38 errors and 15 warnings
test / test-sls-basic
Process completed with exit code 1.
test/sls-basic.test.ts > sls-basic > call Lambda - testJsEsModule: test/sls-basic.test.ts#L58
AssertionError: expected false to deeply equal true - Expected + Received - true + false ❯ test/sls-basic.test.ts:58:37
test/sls-basic.test.ts > sls-basic > call Lambda - testJsEsModule: test/sls-basic.test.ts#L58
AssertionError: expected false to deeply equal true - Expected + Received - true + false ❯ test/sls-basic.test.ts:58:37
test/sls-basic.test.ts > sls-basic > call Lambda - testJsEsModule: test/sls-basic.test.ts#L58
AssertionError: expected false to deeply equal true - Expected + Received - true + false ❯ test/sls-basic.test.ts:58:37
test/sls-basic.test.ts > sls-basic > call Lambda - testJsCommonJs: test/sls-basic.test.ts#L45
AssertionError: expected false to deeply equal true - Expected + Received - true + false ❯ test/sls-basic.test.ts:45:37
test/sls-basic.test.ts > sls-basic > call Lambda - testJsCommonJs: test/sls-basic.test.ts#L45
AssertionError: expected false to deeply equal true - Expected + Received - true + false ❯ test/sls-basic.test.ts:45:37
test/sls-basic.test.ts > sls-basic > call Lambda - testJsCommonJs: test/sls-basic.test.ts#L45
AssertionError: expected false to deeply equal true - Expected + Received - true + false ❯ test/sls-basic.test.ts:45:37
test/sls-basic.test.ts > sls-basic > check infra: test/utils/expectInfraDeployed.ts#L13
AssertionError: expected undefined to match object { …(4) } - Expected: { "AWS_LAMBDA_EXEC_WRAPPER": "/opt/lld-wrapper", "LLD_DEBUGGER_ID": Any<String>, "LLD_FUNCTION_ID": Any<String>, "LLD_INITIAL_TIMEOUT": Any<String>, } + Received: undefined ❯ Module.expectInfraDeployed test/utils/expectInfraDeployed.ts:13:7 ❯ test/sls-basic.test.ts:35:5
test/sls-basic.test.ts > sls-basic > check infra: test/utils/expectInfraDeployed.ts#L13
AssertionError: expected undefined to match object { …(4) } - Expected: { "AWS_LAMBDA_EXEC_WRAPPER": "/opt/lld-wrapper", "LLD_DEBUGGER_ID": Any<String>, "LLD_FUNCTION_ID": Any<String>, "LLD_INITIAL_TIMEOUT": Any<String>, } + Received: undefined ❯ Module.expectInfraDeployed test/utils/expectInfraDeployed.ts:13:7 ❯ test/sls-basic.test.ts:35:5
test/sls-basic.test.ts > sls-basic > check infra: test/utils/expectInfraDeployed.ts#L13
AssertionError: expected undefined to match object { …(4) } - Expected: { "AWS_LAMBDA_EXEC_WRAPPER": "/opt/lld-wrapper", "LLD_DEBUGGER_ID": Any<String>, "LLD_FUNCTION_ID": Any<String>, "LLD_INITIAL_TIMEOUT": Any<String>, } + Received: undefined ❯ Module.expectInfraDeployed test/utils/expectInfraDeployed.ts:13:7 ❯ test/sls-basic.test.ts:35:5
test/terraform-basic.test.ts > terraform-basic > call Lambda - testJsCommonJs_1: test/utils/validateLocalResponse.ts#L38
AssertionError: expected { …(2) } to deeply equal { …(2) } - Expected + Received { "lambdaName": "lld-terraform-basic-test-js-commonjs_1", - "timestamp": "2025-07-24T11:58:16.377Z", + "timestamp": "2025-07-24T11:57:18.726Z", } ❯ Module.validateLocalResponse test/utils/validateLocalResponse.ts:38:31 ❯ test/terraform-basic.test.ts:86:7
test/terraform-basic.test.ts > terraform-basic > call Lambda - testTsEsModule: test/utils/validateLocalResponse.ts#L38
AssertionError: expected { …(2) } to deeply equal { …(2) } - Expected + Received { "lambdaName": "lld-terraform-basic-test-ts-esmodule", - "timestamp": "2025-07-24T11:58:15.279Z", + "timestamp": "2025-07-24T11:57:13.454Z", } ❯ Module.validateLocalResponse test/utils/validateLocalResponse.ts:38:31 ❯ test/terraform-basic.test.ts:70:7
test/terraform-basic.test.ts > terraform-basic > call Lambda - testTsEsModule: test/utils/validateLocalResponse.ts#L38
AssertionError: expected { …(2) } to deeply equal { …(2) } - Expected + Received { "lambdaName": "lld-terraform-basic-test-ts-esmodule", - "timestamp": "2025-07-24T11:58:14.176Z", + "timestamp": "2025-07-24T11:57:13.454Z", } ❯ Module.validateLocalResponse test/utils/validateLocalResponse.ts:38:31 ❯ test/terraform-basic.test.ts:70:7
test/terraform-basic.test.ts > terraform-basic > call Lambda - testTsEsModule: test/utils/validateLocalResponse.ts#L38
AssertionError: expected { …(2) } to deeply equal { …(2) } - Expected + Received { "lambdaName": "lld-terraform-basic-test-ts-esmodule", - "timestamp": "2025-07-24T11:58:11.566Z", + "timestamp": "2025-07-24T11:57:13.454Z", } ❯ Module.validateLocalResponse test/utils/validateLocalResponse.ts:38:31 ❯ test/terraform-basic.test.ts:70:7
test/terraform-basic.test.ts > terraform-basic > call Lambda - testTsCommonJs: test/utils/validateLocalResponse.ts#L38
AssertionError: expected { …(2) } to deeply equal { …(2) } - Expected + Received { "lambdaName": "lld-terraform-basic-test-ts-commonjs", - "timestamp": "2025-07-24T11:58:10.428Z", + "timestamp": "2025-07-24T11:57:08.106Z", } ❯ Module.validateLocalResponse test/utils/validateLocalResponse.ts:38:31 ❯ test/terraform-basic.test.ts:54:7
test/terraform-basic.test.ts > terraform-basic > call Lambda - testTsCommonJs: test/utils/validateLocalResponse.ts#L38
AssertionError: expected { …(2) } to deeply equal { …(2) } - Expected + Received { "lambdaName": "lld-terraform-basic-test-ts-commonjs", - "timestamp": "2025-07-24T11:58:09.288Z", + "timestamp": "2025-07-24T11:57:08.106Z", } ❯ Module.validateLocalResponse test/utils/validateLocalResponse.ts:38:31 ❯ test/terraform-basic.test.ts:54:7
test/terraform-basic.test.ts > terraform-basic > call Lambda - testTsCommonJs: test/utils/validateLocalResponse.ts#L38
AssertionError: expected { …(2) } to deeply equal { …(2) } - Expected + Received { "lambdaName": "lld-terraform-basic-test-ts-commonjs", - "timestamp": "2025-07-24T11:58:06.534Z", + "timestamp": "2025-07-24T11:57:08.106Z", } ❯ Module.validateLocalResponse test/utils/validateLocalResponse.ts:38:31 ❯ test/terraform-basic.test.ts:54:7
test/terraform-basic.test.ts > terraform-basic > check infra: test/utils/expectInfraDeployed.ts#L13
AssertionError: expected undefined to match object { …(4) } - Expected: { "AWS_LAMBDA_EXEC_WRAPPER": "/opt/lld-wrapper", "LLD_DEBUGGER_ID": Any<String>, "LLD_FUNCTION_ID": Any<String>, "LLD_INITIAL_TIMEOUT": Any<String>, } + Received: undefined ❯ Module.expectInfraDeployed test/utils/expectInfraDeployed.ts:13:7 ❯ test/terraform-basic.test.ts:39:5
test/terraform-basic.test.ts > terraform-basic > check infra: test/utils/expectInfraDeployed.ts#L13
AssertionError: expected undefined to match object { …(4) } - Expected: { "AWS_LAMBDA_EXEC_WRAPPER": "/opt/lld-wrapper", "LLD_DEBUGGER_ID": Any<String>, "LLD_FUNCTION_ID": Any<String>, "LLD_INITIAL_TIMEOUT": Any<String>, } + Received: undefined ❯ Module.expectInfraDeployed test/utils/expectInfraDeployed.ts:13:7 ❯ test/terraform-basic.test.ts:39:5
test/terraform-basic.test.ts > terraform-basic > check infra: test/utils/expectInfraDeployed.ts#L13
AssertionError: expected undefined to match object { …(4) } - Expected: { "AWS_LAMBDA_EXEC_WRAPPER": "/opt/lld-wrapper", "LLD_DEBUGGER_ID": Any<String>, "LLD_FUNCTION_ID": Any<String>, "LLD_INITIAL_TIMEOUT": Any<String>, } + Received: undefined ❯ Module.expectInfraDeployed test/utils/expectInfraDeployed.ts:13:7 ❯ test/terraform-basic.test.ts:39:5
test/sam-basic.test.ts > sam-basic > call Lambda - testJsCommonJs: test/utils/validateLocalResponse.ts#L38
AssertionError: expected { …(2) } to deeply equal { …(2) } - Expected + Received { "lambdaName": "lld-test-sam-basic-testJsCommonJs-wLy0sOe2xcMT", - "timestamp": "2025-07-24T11:58:42.413Z", + "timestamp": "2025-07-24T11:57:57.955Z", } ❯ Module.validateLocalResponse test/utils/validateLocalResponse.ts:38:31 ❯ test/sam-basic.test.ts:86:7
test/sam-basic.test.ts > sam-basic > call Lambda - testTsEsModule: test/utils/validateLocalResponse.ts#L38
AssertionError: expected { …(2) } to deeply equal { …(2) } - Expected + Received { "lambdaName": "lld-test-sam-basic-testTsEsModule-CglueQdJmkfv", - "timestamp": "2025-07-24T11:58:41.273Z", + "timestamp": "2025-07-24T11:57:52.356Z", } ❯ Module.validateLocalResponse test/utils/validateLocalResponse.ts:38:31 ❯ test/sam-basic.test.ts:70:7
test/sam-basic.test.ts > sam-basic > call Lambda - testTsEsModule: test/utils/validateLocalResponse.ts#L38
AssertionError: expected { …(2) } to deeply equal { …(2) } - Expected + Received { "lambdaName": "lld-test-sam-basic-testTsEsModule-CglueQdJmkfv", - "timestamp": "2025-07-24T11:58:40.131Z", + "timestamp": "2025-07-24T11:57:52.356Z", } ❯ Module.validateLocalResponse test/utils/validateLocalResponse.ts:38:31 ❯ test/sam-basic.test.ts:70:7
test/sam-basic.test.ts > sam-basic > call Lambda - testTsEsModule: test/utils/validateLocalResponse.ts#L38
AssertionError: expected { …(2) } to deeply equal { …(2) } - Expected + Received { "lambdaName": "lld-test-sam-basic-testTsEsModule-CglueQdJmkfv", - "timestamp": "2025-07-24T11:58:37.582Z", + "timestamp": "2025-07-24T11:57:52.356Z", } ❯ Module.validateLocalResponse test/utils/validateLocalResponse.ts:38:31 ❯ test/sam-basic.test.ts:70:7
test/sam-basic.test.ts > sam-basic > call Lambda - testTsCommonJs: test/utils/validateLocalResponse.ts#L38
AssertionError: expected { …(2) } to deeply equal { …(2) } - Expected + Received { "lambdaName": "lld-test-sam-basic-testTsCommonJs-HJl3LIgrTqIA", - "timestamp": "2025-07-24T11:58:36.444Z", + "timestamp": "2025-07-24T11:57:46.564Z", } ❯ Module.validateLocalResponse test/utils/validateLocalResponse.ts:38:31 ❯ test/sam-basic.test.ts:54:7
test/sam-basic.test.ts > sam-basic > call Lambda - testTsCommonJs: test/utils/validateLocalResponse.ts#L38
AssertionError: expected { …(2) } to deeply equal { …(2) } - Expected + Received { "lambdaName": "lld-test-sam-basic-testTsCommonJs-HJl3LIgrTqIA", - "timestamp": "2025-07-24T11:58:35.304Z", + "timestamp": "2025-07-24T11:57:46.564Z", } ❯ Module.validateLocalResponse test/utils/validateLocalResponse.ts:38:31 ❯ test/sam-basic.test.ts:54:7
test/sam-basic.test.ts > sam-basic > call Lambda - testTsCommonJs: test/utils/validateLocalResponse.ts#L38
AssertionError: expected { …(2) } to deeply equal { …(2) } - Expected + Received { "lambdaName": "lld-test-sam-basic-testTsCommonJs-HJl3LIgrTqIA", - "timestamp": "2025-07-24T11:58:32.477Z", + "timestamp": "2025-07-24T11:57:46.564Z", } ❯ Module.validateLocalResponse test/utils/validateLocalResponse.ts:38:31 ❯ test/sam-basic.test.ts:54:7
test/sam-basic.test.ts > sam-basic > check infra: test/utils/expectInfraDeployed.ts#L13
AssertionError: expected { Object (NODE_OPTIONS) } to match object { …(4) } (1 matching property omitted from actual) - Expected + Received { - "AWS_LAMBDA_EXEC_WRAPPER": "/opt/lld-wrapper", - "LLD_DEBUGGER_ID": Any<String>, - "LLD_FUNCTION_ID": Any<String>, - "LLD_INITIAL_TIMEOUT": Any<String>, + "NODE_OPTIONS": " --enable-source-maps", } ❯ Module.expectInfraDeployed test/utils/expectInfraDeployed.ts:13:7 ❯ test/sam-basic.test.ts:39:5
test/sam-basic.test.ts > sam-basic > check infra: test/utils/expectInfraDeployed.ts#L13
AssertionError: expected { Object (NODE_OPTIONS) } to match object { …(4) } (1 matching property omitted from actual) - Expected + Received { - "AWS_LAMBDA_EXEC_WRAPPER": "/opt/lld-wrapper", - "LLD_DEBUGGER_ID": Any<String>, - "LLD_FUNCTION_ID": Any<String>, - "LLD_INITIAL_TIMEOUT": Any<String>, + "NODE_OPTIONS": " --enable-source-maps", } ❯ Module.expectInfraDeployed test/utils/expectInfraDeployed.ts:13:7 ❯ test/sam-basic.test.ts:39:5
test/sam-basic.test.ts > sam-basic > check infra: test/utils/expectInfraDeployed.ts#L13
AssertionError: expected { Object (NODE_OPTIONS) } to match object { …(4) } (1 matching property omitted from actual) - Expected + Received { - "AWS_LAMBDA_EXEC_WRAPPER": "/opt/lld-wrapper", - "LLD_DEBUGGER_ID": Any<String>, - "LLD_FUNCTION_ID": Any<String>, - "LLD_INITIAL_TIMEOUT": Any<String>, + "NODE_OPTIONS": " --enable-source-maps", } ❯ Module.expectInfraDeployed test/utils/expectInfraDeployed.ts:13:7 ❯ test/sam-basic.test.ts:39:5
test / test-cdk-esm
The operation was canceled.
test / test-cdk-esm
The run was canceled by @ServerlessLife.
test / test-cdk-basic
The operation was canceled.
test / test-cdk-basic
The run was canceled by @ServerlessLife.
test / test-sam-alt
The operation was canceled.
test / test-sam-alt
The run was canceled by @ServerlessLife.
Pull Request CI check
The run was canceled by @ServerlessLife.
Pull Request CI check
The run was canceled by @ServerlessLife.
build / lint & typecheck
The process '/usr/bin/git' failed with exit code 128
build / build
The process '/usr/bin/git' failed with exit code 128
remove-old-layers
The process '/usr/bin/git' failed with exit code 128
test / test-sls-basic
The process '/usr/bin/git' failed with exit code 128
test / test-terraform-basic
The process '/usr/bin/git' failed with exit code 128
test / test-osls-esbuild-esm
The process '/usr/bin/git' failed with exit code 128
test / test-osls-basic
The process '/usr/bin/git' failed with exit code 128
test / test-sls-esbuild-esm
The process '/usr/bin/git' failed with exit code 128
test / test-osls-esbuild-cjs
The process '/usr/bin/git' failed with exit code 128
test / test-sam-basic
The process '/usr/bin/git' failed with exit code 128
test / test-sls-esbuild-cjs
The process '/usr/bin/git' failed with exit code 128
test / test-opentofu-basic
The process '/usr/bin/git' failed with exit code 128
test / test-cdk-esm
The process '/usr/bin/git' failed with exit code 128
test / test-cdk-basic
The process '/usr/bin/git' failed with exit code 128
test / test-sam-alt
The process '/usr/bin/git' failed with exit code 128

Artifacts

Produced during runtime
Name Size Digest
dist Expired
2.41 MB
sha256:c69ed98773db78b26eafbdecdb3ecf280df952603914b8b6840546519f8ef600