diff --git a/examples/advanced-project-js/src/__checks__/utils/alert-channels.js b/examples/advanced-project-js/src/__checks__/utils/alert-channels.js index e87f53ff2..0e7abdf67 100644 --- a/examples/advanced-project-js/src/__checks__/utils/alert-channels.js +++ b/examples/advanced-project-js/src/__checks__/utils/alert-channels.js @@ -1,7 +1,6 @@ const { URL } = require('node:url') const { - SmsAlertChannel, EmailAlertChannel, SlackAlertChannel, WebhookAlertChannel, @@ -21,11 +20,6 @@ const sendDefaults = { sslExpiryThreshold: 30, }; -const smsChannel = new SmsAlertChannel('sms-channel-1', { - phoneNumber: '0031061234567890', - ...sendDefaults, -}) - const emailChannel = new EmailAlertChannel('email-channel-1', { address: 'alerts@acme.com', ...sendDefaults, @@ -57,7 +51,6 @@ const webhookChannel = new WebhookAlertChannel('webhook-channel-1', { }) module.exports = { - smsChannel, emailChannel, slackChannel, webhookChannel, diff --git a/examples/advanced-project/checkly.config.ts b/examples/advanced-project/checkly.config.ts index 577437649..5ddde2f00 100644 --- a/examples/advanced-project/checkly.config.ts +++ b/examples/advanced-project/checkly.config.ts @@ -18,15 +18,15 @@ const config = defineConfig({ /* A default for how often your Check should run in minutes */ frequency: 10, /* Checkly data centers to run your Checks as monitors */ - locations: ['us-east-1', 'eu-west-1'], + locations: ['us-east-1', 'eu-central-1'], /* An optional array of tags to organize your Checks */ tags: ['mac'], /** The Checkly Runtime identifier, determining npm packages and the Node.js version available at runtime. * See https://www.checklyhq.com/docs/cli/npm-packages/ */ runtimeId: '2025.04', - /* Failed check runs will be retried before triggering alerts */ - retryStrategy: RetryStrategyBuilder.fixedStrategy({ baseBackoffSeconds: 60, maxRetries: 4, sameRegion: true }), + /* Failed check runs will be retried before triggering alerts - not available on all plan types */ + // retryStrategy: RetryStrategyBuilder.fixedStrategy({ baseBackoffSeconds: 60, maxRetries: 4, sameRegion: true }), /* All checks will have this alert escalation policy defined */ alertEscalationPolicy: AlertEscalationBuilder.runBasedEscalation(1), /* A glob pattern that matches the Checks inside your repo, see https://www.checklyhq.com/docs/constructs/including-checks/#checks-checkmatch */ @@ -57,7 +57,7 @@ const config = defineConfig({ }, cli: { /* The default datacenter location to use when running npx checkly test */ - runLocation: 'eu-west-1', + runLocation: 'eu-central-1', /* An array of default reporters to use when a reporter is not specified with the "--reporter" flag */ reporters: ['list'], /* How many times to retry a failing test run when running `npx checkly test` or `npx checkly trigger` (max. 3) */ diff --git a/examples/advanced-project/src/__checks__/utils/alert-channels.ts b/examples/advanced-project/src/__checks__/utils/alert-channels.ts index 0ff6dcaa8..e0c30bf39 100644 --- a/examples/advanced-project/src/__checks__/utils/alert-channels.ts +++ b/examples/advanced-project/src/__checks__/utils/alert-channels.ts @@ -1,6 +1,5 @@ import { URL } from 'node:url' import { - SmsAlertChannel, EmailAlertChannel, SlackAlertChannel, WebhookAlertChannel @@ -21,11 +20,6 @@ const sendDefaults = { sslExpiryThreshold: 30 } -export const smsChannel = new SmsAlertChannel('sms-channel-1', { - phoneNumber: '0031061234567890', - ...sendDefaults -}) - export const emailChannel = new EmailAlertChannel('email-channel-1', { address: 'alerts@acme.com', ...sendDefaults diff --git a/examples/boilerplate-project-js/__checks__/api.check.js b/examples/boilerplate-project-js/__checks__/api.check.js index 4c66734f1..2e505e906 100644 --- a/examples/boilerplate-project-js/__checks__/api.check.js +++ b/examples/boilerplate-project-js/__checks__/api.check.js @@ -18,5 +18,5 @@ new ApiCheck("books-api-check-1", { AssertionBuilder.jsonBody("$[0].id").isNotNull(), ], }, - runParallel: true, + runParallel: false, }) diff --git a/examples/boilerplate-project-js/checkly.config.js b/examples/boilerplate-project-js/checkly.config.js index 921016976..af95d673d 100644 --- a/examples/boilerplate-project-js/checkly.config.js +++ b/examples/boilerplate-project-js/checkly.config.js @@ -17,7 +17,7 @@ const config = defineConfig({ /* A default for how often your Check should run in minutes */ frequency: 10, /* Checkly data centers to run your Checks as monitors */ - locations: ['us-east-1', 'eu-west-1'], + locations: ['us-east-1', 'eu-central-1'], /* An optional array of tags to organize your Checks */ tags: ['mac'], /** The Checkly Runtime identifier, determining npm packages and the Node.js version available at runtime. @@ -52,7 +52,7 @@ const config = defineConfig({ }, cli: { /* The default datacenter location to use when running npx checkly test */ - runLocation: 'eu-west-1', + runLocation: 'eu-central-1', /* An array of default reporters to use when a reporter is not specified with the "--reporter" flag */ reporters: ['list'], /* How many times to retry a failing test run when running `npx checkly test` or `npx checkly trigger` (max. 3) */ diff --git a/examples/boilerplate-project/__checks__/api.check.ts b/examples/boilerplate-project/__checks__/api.check.ts index 1e4954cef..d75330d45 100644 --- a/examples/boilerplate-project/__checks__/api.check.ts +++ b/examples/boilerplate-project/__checks__/api.check.ts @@ -18,5 +18,5 @@ new ApiCheck('books-api-check-1', { AssertionBuilder.jsonBody('$[0].id').isNotNull(), ], }, - runParallel: true, + runParallel: false, }) diff --git a/examples/boilerplate-project/checkly.config.ts b/examples/boilerplate-project/checkly.config.ts index 872edac03..9309f9677 100644 --- a/examples/boilerplate-project/checkly.config.ts +++ b/examples/boilerplate-project/checkly.config.ts @@ -17,7 +17,7 @@ const config = defineConfig({ /* A default for how often your Check should run in minutes */ frequency: 10, /* Checkly data centers to run your Checks as monitors */ - locations: ['us-east-1', 'eu-west-1'], + locations: ['us-east-1', 'eu-central-1'], /* An optional array of tags to organize your Checks */ tags: ['mac'], /** The Checkly Runtime identifier, determining npm packages and the Node.js version available at runtime. @@ -52,7 +52,7 @@ const config = defineConfig({ }, cli: { /* The default datacenter location to use when running npx checkly test */ - runLocation: 'eu-west-1', + runLocation: 'eu-central-1', /* An array of default reporters to use when a reporter is not specified with the "--reporter" flag */ reporters: ['list'], /* How many times to retry a failing test run when running `npx checkly test` or `npx checkly trigger` (max. 3) */ diff --git a/packages/create-cli/e2e/__tests__/fixtures/initiated-project/checkly.config.ts b/packages/create-cli/e2e/__tests__/fixtures/initiated-project/checkly.config.ts index 25400fae0..dd7033661 100644 --- a/packages/create-cli/e2e/__tests__/fixtures/initiated-project/checkly.config.ts +++ b/packages/create-cli/e2e/__tests__/fixtures/initiated-project/checkly.config.ts @@ -6,7 +6,7 @@ const config = defineConfig({ repoUrl: 'https://github.com/checkly/checkly-cli', checks: { frequency: 10, - locations: ['us-east-1', 'eu-west-1'], + locations: ['us-east-1', 'eu-central-1'], tags: ['mac'], runtimeId: '2023.02', checkMatch: '**/__checks__/**/*.check.ts', @@ -15,7 +15,7 @@ const config = defineConfig({ }, }, cli: { - runLocation: 'eu-west-1', + runLocation: 'eu-central-1', reporters: ['list'], }, }) diff --git a/packages/create-cli/src/utils/__tests__/fixtures/checkly-project/checkly.config.ts b/packages/create-cli/src/utils/__tests__/fixtures/checkly-project/checkly.config.ts index b1f7b7f47..ef54bb2c8 100644 --- a/packages/create-cli/src/utils/__tests__/fixtures/checkly-project/checkly.config.ts +++ b/packages/create-cli/src/utils/__tests__/fixtures/checkly-project/checkly.config.ts @@ -6,7 +6,7 @@ const config = defineConfig({ repoUrl: 'https://github.com/checkly/checkly-cli', checks: { frequency: 10, - locations: ['us-east-1', 'eu-west-1'], + locations: ['us-east-1', 'eu-central-1'], tags: ['mac'], runtimeId: '2023.02', checkMatch: '**/__checks__/**/*.check.ts', @@ -15,7 +15,7 @@ const config = defineConfig({ }, }, cli: { - runLocation: 'eu-west-1', + runLocation: 'eu-central-1', reporters: ['list'], }, })