From 24bd930bfe1538719a506acc0ab7e6efa4947f63 Mon Sep 17 00:00:00 2001 From: Daniel Paulus Date: Wed, 15 Jul 2026 16:13:32 +0200 Subject: [PATCH] docs(traceroute): note the protocol-dependent default port (SIM-311) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `port` field's `@defaultValue` said 443 unconditionally, but the default is protocol-dependent: 443 for TCP, 33434 (a closed high port) for UDP/SCTP — the backend applies this when the CLI omits `port`. Doc-only; no behavior change (the construct already sends `undefined` when omitted, letting the backend default govern). Backend/runner fix: checkly/monorepo#3057. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_013AYwkvoaANQTH5dGStbBj2 --- packages/cli/src/constructs/traceroute-request.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/constructs/traceroute-request.ts b/packages/cli/src/constructs/traceroute-request.ts index c86c0905..76f6779e 100644 --- a/packages/cli/src/constructs/traceroute-request.ts +++ b/packages/cli/src/constructs/traceroute-request.ts @@ -37,11 +37,14 @@ export interface TracerouteRequest { /** * The destination port for TCP/UDP/SCTP probes. Ignored (and not sent) when - * `protocol` is `ICMP`. + * `protocol` is `ICMP`. When omitted, the default is protocol-dependent: `443` + * for TCP, and `33434` (a closed high port) for UDP/SCTP — UDP/SCTP arrival is + * only confirmed by an ICMP "port unreachable" from a closed port, whereas 443 + * is typically open and would never confirm arrival. * * @minimum 1 * @maximum 65535 - * @defaultValue 443 + * @defaultValue 443 for TCP, 33434 for UDP/SCTP */ port?: number