cli/internal/telemetry
adehad 3d9f22c115 fix(telemetry): use CREATE_NO_WINDOW to prevent tzutil console flash on Windows
DETACHED_PROCESS leaves the gh send-telemetry child with no console at
all. When the transitive dependency thlib/go-timezone-local invokes
`tzutil /g` to resolve the local IANA timezone, the console-subsystem
tzutil binary allocates a fresh conhost — producing a visible window
flash on every gh invocation, which accumulates as orphan terminals
under terminal configurations that keep windows open on exit.

CREATE_NO_WINDOW gives the child a non-visible console that descendants
inherit, suppressing the flash. CREATE_NEW_PROCESS_GROUP is preserved
so Ctrl+C still does not propagate to the detached telemetry child.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-09 08:35:38 +01:00
..
detach_unix.go Add sampled command telemetry 2026-04-16 21:42:46 +02:00
detach_windows.go fix(telemetry): use CREATE_NO_WINDOW to prevent tzutil console flash on Windows 2026-05-09 08:35:38 +01:00
fake.go Add skills specific telemetry 2026-04-17 19:58:59 +02:00
telemetry.go Fix SetSampleRate not updating sample_rate dimension 2026-04-22 13:04:57 +01:00
telemetry_test.go Fix SetSampleRate not updating sample_rate dimension 2026-04-22 13:04:57 +01:00