feat: more validation errors [sc-25043] #2696
Annotations
17 errors and 10 warnings
|
test - ubuntu-latest
Process completed with exit code 1.
|
|
e2e/__tests__/test.spec.ts > test > Should report timeouts correctly:
packages/cli/e2e/__tests__/test.spec.ts#L148
AssertionError: expected '✖ [SmsAlertChannel:sms-channel-1] Inv…' to contain 'Reached timeout of 0 seconds waiting …'
- Expected
+ Received
- Reached timeout of 0 seconds waiting for check result.
+ ✖ [SmsAlertChannel:sms-channel-1] Invalid property value
+
+ The value provided for property "phoneNumber" is not valid.
+
+ Reason: Invalid phone number format: "0031061234567890". Must be in E.164
+ format (e.g., +1234567890).
+
+ ✖ [MSTeamsAlertChannel:msteams-channel-1] Invalid property value
+
+ The value provided for property "url" is not valid.
+
+ Reason: Invalid URL format: "INSERT_WEBHOOK_HERE". Must be a valid URL.
+
+ ✖ Unable to continue due to unresolved validation errors.
+
+
❯ e2e/__tests__/test.spec.ts:148:27
|
|
e2e/__tests__/test.spec.ts > test > Should use Github reporter and show test-session link:
packages/cli/e2e/__tests__/test.spec.ts#L133
AssertionError: expected '✖ [SmsAlertChannel:sms-channel-1] Inv…' to contain 'Github summary saved in'
- Expected
+ Received
- Github summary saved in
+ ✖ [SmsAlertChannel:sms-channel-1] Invalid property value
+
+ The value provided for property "phoneNumber" is not valid.
+
+ Reason: Invalid phone number format: "0031061234567890". Must be in E.164
+ format (e.g., +1234567890).
+
+ ✖ [MSTeamsAlertChannel:msteams-channel-1] Invalid property value
+
+ The value provided for property "url" is not valid.
+
+ Reason: Invalid URL format: "INSERT_WEBHOOK_HERE". Must be a valid URL.
+
+ ✖ Unable to continue due to unresolved validation errors.
+
+
❯ e2e/__tests__/test.spec.ts:133:27
|
|
e2e/__tests__/test.spec.ts > test > Should list checks and not execute them with `--list`:
packages/cli/e2e/__tests__/test.spec.ts#L77
AssertionError: expected '✖ [SmsAlertChannel:sms-channel-1] Inv…' to contain 'Listing all checks'
- Expected
+ Received
- Listing all checks
+ ✖ [SmsAlertChannel:sms-channel-1] Invalid property value
+
+ The value provided for property "phoneNumber" is not valid.
+
+ Reason: Invalid phone number format: "0031061234567890". Must be in E.164
+ format (e.g., +1234567890).
+
+ ✖ [MSTeamsAlertChannel:msteams-channel-1] Invalid property value
+
+ The value provided for property "url" is not valid.
+
+ Reason: Invalid URL format: "INSERT_WEBHOOK_HERE". Must be a valid URL.
+
+ ✖ Unable to continue due to unresolved validation errors.
+
+
❯ e2e/__tests__/test.spec.ts:77:27
|
|
e2e/__tests__/test.spec.ts > test > Should terminate when no checks are found:
packages/cli/e2e/__tests__/test.spec.ts#L66
AssertionError: expected '✖ [SmsAlertChannel:sms-channel-1] Inv…' to contain 'Unable to find checks to run using [F…'
- Expected
+ Received
- Unable to find checks to run using [FILEARGS]='
+ ✖ [SmsAlertChannel:sms-channel-1] Invalid property value
+
+ The value provided for property "phoneNumber" is not valid.
+
+ Reason: Invalid phone number format: "0031061234567890". Must be in E.164
+ format (e.g., +1234567890).
+
+ ✖ [MSTeamsAlertChannel:msteams-channel-1] Invalid property value
+
+ The value provided for property "url" is not valid.
+
+ Reason: Invalid URL format: "INSERT_WEBHOOK_HERE". Must be a valid URL.
+
+ ✖ Unable to continue due to unresolved validation errors.
+
+
❯ e2e/__tests__/test.spec.ts:66:27
|
|
e2e/__tests__/test.spec.ts > test > Should use different config file:
packages/cli/e2e/__tests__/test.spec.ts#L44
AssertionError: expected '✖ [SmsAlertChannel:sms-channel-1] Inv…' to contain 'Show SECRET_ENV value'
- Expected
+ Received
- Show SECRET_ENV value
+ ✖ [SmsAlertChannel:sms-channel-1] Invalid property value
+
+ The value provided for property "phoneNumber" is not valid.
+
+ Reason: Invalid phone number format: "0031061234567890". Must be in E.164
+ format (e.g., +1234567890).
+
+ ✖ [MSTeamsAlertChannel:msteams-channel-1] Invalid property value
+
+ The value provided for property "url" is not valid.
+
+ Reason: Invalid URL format: "INSERT_WEBHOOK_HERE". Must be a valid URL.
+
+ ✖ Unable to continue due to unresolved validation errors.
+
+
❯ e2e/__tests__/test.spec.ts:44:27
|
|
e2e/__tests__/test.spec.ts > test > Should include only one check:
packages/cli/e2e/__tests__/test.spec.ts#L32
AssertionError: expected '✖ [SmsAlertChannel:sms-channel-1] Inv…' to contain 'Show SECRET_ENV value'
- Expected
+ Received
- Show SECRET_ENV value
+ ✖ [SmsAlertChannel:sms-channel-1] Invalid property value
+
+ The value provided for property "phoneNumber" is not valid.
+
+ Reason: Invalid phone number format: "0031061234567890". Must be in E.164
+ format (e.g., +1234567890).
+
+ ✖ [MSTeamsAlertChannel:msteams-channel-1] Invalid property value
+
+ The value provided for property "url" is not valid.
+
+ Reason: Invalid URL format: "INSERT_WEBHOOK_HERE". Must be a valid URL.
+
+ ✖ Unable to continue due to unresolved validation errors.
+
+
❯ e2e/__tests__/test.spec.ts:32:27
|
|
e2e/__tests__/test.spec.ts > test > Test project should run successfully:
packages/cli/e2e/__tests__/test.spec.ts#L21
AssertionError: expected '✖ [SmsAlertChannel:sms-channel-1] Inv…' to contain 'ebeae6df-4382-46ec-b477-4ed284ffbd24'
- Expected
+ Received
- ebeae6df-4382-46ec-b477-4ed284ffbd24
+ ✖ [SmsAlertChannel:sms-channel-1] Invalid property value
+
+ The value provided for property "phoneNumber" is not valid.
+
+ Reason: Invalid phone number format: "0031061234567890". Must be in E.164
+ format (e.g., +1234567890).
+
+ ✖ [MSTeamsAlertChannel:msteams-channel-1] Invalid property value
+
+ The value provided for property "url" is not valid.
+
+ Reason: Invalid URL format: "INSERT_WEBHOOK_HERE". Must be a valid URL.
+
+ ✖ Unable to continue due to unresolved validation errors.
+
+
❯ e2e/__tests__/test.spec.ts:21:27
|
|
e2e/__tests__/deploy.spec.ts > deploy > Simple project should deploy successfully:
packages/cli/e2e/__tests__/deploy.spec.ts#L139
AssertionError: expected 'Parsing your project...' to contain 'Notice: replacing version \'0.0.1-dev…'
Expected: "Notice: replacing version '0.0.1-dev' with latest '6.2.0'"
Received: "Parsing your project..."
❯ e2e/__tests__/deploy.spec.ts:139:20
|
|
test - windows-latest
Process completed with exit code 1.
|
|
e2e/__tests__/test.spec.ts > test > Should report timeouts correctly:
packages/cli/e2e/__tests__/test.spec.ts#L148
AssertionError: expected '× [SmsAlertChannel:sms-channel-1] Inv…' to contain 'Reached timeout of 0 seconds waiting …'
- Expected
+ Received
- Reached timeout of 0 seconds waiting for check result.
+ × [SmsAlertChannel:sms-channel-1] Invalid property value
+
+ The value provided for property "phoneNumber" is not valid.
+
+ Reason: Invalid phone number format: "0031061234567890". Must be in E.164
+ format (e.g., +1234567890).
+
+ × [MSTeamsAlertChannel:msteams-channel-1] Invalid property value
+
+ The value provided for property "url" is not valid.
+
+ Reason: Invalid URL format: "INSERT_WEBHOOK_HERE". Must be a valid URL.
+
+ × Unable to continue due to unresolved validation errors.
+
+
❯ e2e/__tests__/test.spec.ts:148:27
|
|
e2e/__tests__/test.spec.ts > test > Should use Github reporter and show test-session link:
packages/cli/e2e/__tests__/test.spec.ts#L133
AssertionError: expected '× [SmsAlertChannel:sms-channel-1] Inv…' to contain 'Github summary saved in'
- Expected
+ Received
- Github summary saved in
+ × [SmsAlertChannel:sms-channel-1] Invalid property value
+
+ The value provided for property "phoneNumber" is not valid.
+
+ Reason: Invalid phone number format: "0031061234567890". Must be in E.164
+ format (e.g., +1234567890).
+
+ × [MSTeamsAlertChannel:msteams-channel-1] Invalid property value
+
+ The value provided for property "url" is not valid.
+
+ Reason: Invalid URL format: "INSERT_WEBHOOK_HERE". Must be a valid URL.
+
+ × Unable to continue due to unresolved validation errors.
+
+
❯ e2e/__tests__/test.spec.ts:133:27
|
|
e2e/__tests__/test.spec.ts > test > Should list checks and not execute them with `--list`:
packages/cli/e2e/__tests__/test.spec.ts#L77
AssertionError: expected '× [SmsAlertChannel:sms-channel-1] Inv…' to contain 'Listing all checks'
- Expected
+ Received
- Listing all checks
+ × [SmsAlertChannel:sms-channel-1] Invalid property value
+
+ The value provided for property "phoneNumber" is not valid.
+
+ Reason: Invalid phone number format: "0031061234567890". Must be in E.164
+ format (e.g., +1234567890).
+
+ × [MSTeamsAlertChannel:msteams-channel-1] Invalid property value
+
+ The value provided for property "url" is not valid.
+
+ Reason: Invalid URL format: "INSERT_WEBHOOK_HERE". Must be a valid URL.
+
+ × Unable to continue due to unresolved validation errors.
+
+
❯ e2e/__tests__/test.spec.ts:77:27
|
|
e2e/__tests__/test.spec.ts > test > Should terminate when no checks are found:
packages/cli/e2e/__tests__/test.spec.ts#L66
AssertionError: expected '× [SmsAlertChannel:sms-channel-1] Inv…' to contain 'Unable to find checks to run using [F…'
- Expected
+ Received
- Unable to find checks to run using [FILEARGS]='
+ × [SmsAlertChannel:sms-channel-1] Invalid property value
+
+ The value provided for property "phoneNumber" is not valid.
+
+ Reason: Invalid phone number format: "0031061234567890". Must be in E.164
+ format (e.g., +1234567890).
+
+ × [MSTeamsAlertChannel:msteams-channel-1] Invalid property value
+
+ The value provided for property "url" is not valid.
+
+ Reason: Invalid URL format: "INSERT_WEBHOOK_HERE". Must be a valid URL.
+
+ × Unable to continue due to unresolved validation errors.
+
+
❯ e2e/__tests__/test.spec.ts:66:27
|
|
e2e/__tests__/test.spec.ts > test > Should use different config file:
packages/cli/e2e/__tests__/test.spec.ts#L44
AssertionError: expected '× [SmsAlertChannel:sms-channel-1] Inv…' to contain 'Show SECRET_ENV value'
- Expected
+ Received
- Show SECRET_ENV value
+ × [SmsAlertChannel:sms-channel-1] Invalid property value
+
+ The value provided for property "phoneNumber" is not valid.
+
+ Reason: Invalid phone number format: "0031061234567890". Must be in E.164
+ format (e.g., +1234567890).
+
+ × [MSTeamsAlertChannel:msteams-channel-1] Invalid property value
+
+ The value provided for property "url" is not valid.
+
+ Reason: Invalid URL format: "INSERT_WEBHOOK_HERE". Must be a valid URL.
+
+ × Unable to continue due to unresolved validation errors.
+
+
❯ e2e/__tests__/test.spec.ts:44:27
|
|
e2e/__tests__/test.spec.ts > test > Should include only one check:
packages/cli/e2e/__tests__/test.spec.ts#L32
AssertionError: expected '× [SmsAlertChannel:sms-channel-1] Inv…' to contain 'Show SECRET_ENV value'
- Expected
+ Received
- Show SECRET_ENV value
+ × [SmsAlertChannel:sms-channel-1] Invalid property value
+
+ The value provided for property "phoneNumber" is not valid.
+
+ Reason: Invalid phone number format: "0031061234567890". Must be in E.164
+ format (e.g., +1234567890).
+
+ × [MSTeamsAlertChannel:msteams-channel-1] Invalid property value
+
+ The value provided for property "url" is not valid.
+
+ Reason: Invalid URL format: "INSERT_WEBHOOK_HERE". Must be a valid URL.
+
+ × Unable to continue due to unresolved validation errors.
+
+
❯ e2e/__tests__/test.spec.ts:32:27
|
|
e2e/__tests__/test.spec.ts > test > Test project should run successfully:
packages/cli/e2e/__tests__/test.spec.ts#L21
AssertionError: expected '× [SmsAlertChannel:sms-channel-1] Inv…' to contain '86f6e7b9-b55f-48eb-bc19-960d3c0d9b2e'
- Expected
+ Received
- 86f6e7b9-b55f-48eb-bc19-960d3c0d9b2e
+ × [SmsAlertChannel:sms-channel-1] Invalid property value
+
+ The value provided for property "phoneNumber" is not valid.
+
+ Reason: Invalid phone number format: "0031061234567890". Must be in E.164
+ format (e.g., +1234567890).
+
+ × [MSTeamsAlertChannel:msteams-channel-1] Invalid property value
+
+ The value provided for property "url" is not valid.
+
+ Reason: Invalid URL format: "INSERT_WEBHOOK_HERE". Must be a valid URL.
+
+ × Unable to continue due to unresolved validation errors.
+
+
❯ e2e/__tests__/test.spec.ts:21:27
|
|
lint:
packages/cli/src/constructs/internal/codegen/codegen.ts#L11
'resource' is defined but never used
|
|
lint:
packages/cli/src/constructs/internal/codegen/codegen.ts#L11
'logicalId' is defined but never used
|
|
lint:
packages/cli/src/constructs/alert-channel-subscription-codegen.ts#L10
'resource' is defined but never used
|
|
lint:
packages/cli/src/commands/trigger.ts#L119
Empty block statement
|
|
lint:
packages/cli/src/commands/trigger.ts#L119
'err' is defined but never used
|
|
lint:
packages/cli/src/commands/switch.ts#L32
'e' is defined but never used
|
|
lint:
packages/cli/src/commands/env/update.ts#L3
'ux' is defined but never used
|
|
lint:
packages/cli/src/commands/env/add.ts#L3
'ux' is defined but never used
|
|
lint:
packages/cli/src/commands/baseCommand.ts#L77
Empty block statement
|
|
lint:
packages/cli/e2e/__tests__/test.spec.ts#L123
Empty block statement
|