Skip to content

fix(reporters): don't render green assertions on a request error; add gRPC/SSL detail [SIM-286]#1386

Closed
danielpaulus wants to merge 1 commit into
feat/cli-pertype-result-renderingfrom
daniel/sim-286-reporter-request-error
Closed

fix(reporters): don't render green assertions on a request error; add gRPC/SSL detail [SIM-286]#1386
danielpaulus wants to merge 1 commit into
feat/cli-pertype-result-renderingfrom
daniel/sim-286-reporter-request-error

Conversation

@danielpaulus

Copy link
Copy Markdown
Contributor

SIM-286

Fixes a misleading checkly test render plus a few detail gaps for the new monitor types. Targets the feat/cli-pertype-result-rendering branch (#1362) since it fixes that feature.

  • Green assertions on a request error (main fix) — when a result has a requestError, nothing was evaluated, but the reporter still printed every assertion as green ✔ for SSL/gRPC/traceroute (the API/DNS/TCP/ICMP branches already guard this). Now the Assertions block is suppressed when requestError is set.
  • gRPC assertion sources are humanized (were raw enums GRPC_STATUS_CODE…).
  • gRPC response block renders response time (from timingPhases.total).
  • SSL renders an explicit response-time reason on fail/degraded and a Baseline: <verdict> (grade …) line.

Tests

reporters/util.spec.ts: assertion suppression under requestError, gRPC labels + response time, SSL baseline + reason lines. Snapshot updated.

Verified live

SSL request-error now shows no assertion block; SSL happy-path renders Baseline: pass (grade A-).

🤖 Generated with Claude Code

https://claude.ai/code/session_01NC9pESYE5wGqy5TKRzufyc

… gRPC/SSL detail [SIM-286]

When a check result carries a requestError, no assertion was actually
evaluated, yet the test reporter still printed every assertion as a green
check for SSL/gRPC/traceroute (unlike API/DNS/TCP/ICMP). Suppress the
Assertions block when requestError is set. Also: humanize gRPC assertion
source labels, render gRPC response time, and add an explicit SSL response-time
reason line plus a security-baseline verdict line.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NC9pESYE5wGqy5TKRzufyc
@danielpaulus

Copy link
Copy Markdown
Contributor Author

Superseded by #1391 (SIM-286 + SIM-287 combined into one PR).

@danielpaulus danielpaulus deleted the daniel/sim-286-reporter-request-error branch July 7, 2026 14:31
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