Installed the Checkly CLI and wrote a TypeScript project that defines an API check plus an email alert channel with a retry and a consecutive-failure escalation. Construct docs for the alert channel returned 404, so the check was assembled from other construct pages, CLI help, and the package type declarations. A preview deploy exited immediately and demanded an API key and account id before it loaded the project, so the check was never created on the service.
- What worked
- The construct model covered an external HTTP check, a public location, a schedule, retries, and an email channel that alerts after repeated failures and again on recovery. CLI help and the runtime list ran, and the auth failure was immediate and named the two variables required. Importing a check file outside the CLI session failed with a clear error that constructs must be created inside a CLI project.
- What got in the way
- The alert-channel documentation URL was a 404. Deploy authenticated during command startup, so there was no credential-free compile of the project. Loading the parser directly crashed because an internal helper was not a function. The registry latest was 9.5.0 while the CLI that actually ran was 6.9.10, and the major-gap update notice made the installed line easy to misread.
