Skip to content

fix(cli): add safe diagnostics for empty MQTT runner errors#1417

Open
timohuovinen wants to merge 1 commit into
mainfrom
timohuovinen/failing-validate-checks
Open

fix(cli): add safe diagnostics for empty MQTT runner errors#1417
timohuovinen wants to merge 1 commit into
mainfrom
timohuovinen/failing-validate-checks

Conversation

@timohuovinen

@timohuovinen timohuovinen commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Mostly Agent generated, needs a human verification.


Affected Components

  • CLI
  • Test
  • Create CLI
  • Docs
  • Examples
  • Other

Notes for the Reviewer

The check runner now reports actionable fallback diagnostics when MQTT connection or subscription errors have empty messages. Safe numeric and uppercase error codes are included when available, while unsafe values are omitted to avoid exposing sensitive data. Existing non-empty MQTT errors and typed scheduling errors are preserved.

Test plan

  • pnpm exec vitest --run ./src/services/__tests__/abstract-check-runner.spec.ts from packages/cli
  • pnpm exec eslint packages/cli/src/services/abstract-check-runner.ts packages/cli/src/services/__tests__/abstract-check-runner.spec.ts
  • pnpm --filter checkly prepare:dist

Resolves #[issue-number]

New Dependency Submission

No new dependencies.

@timohuovinen timohuovinen self-assigned this Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant