cli/pkg/container
Snider d4afcc2918 fix(container): check context before select in Stop to fix flaky test
Stop() now checks ctx.Err() before entering the select block. When a
pre-cancelled context is passed, the select could non-deterministically
choose <-done over <-ctx.Done() if the process had already exited,
causing TestLinuxKitManager_Stop_Good_ContextCancelled to fail on CI.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 12:53:44 +00:00
..
templates feat(container): add LinuxKit YAML templates with variable substitution 2026-01-28 18:59:45 +00:00
container.go feat(container): implement LinuxKit container runtime 2026-01-28 18:50:32 +00:00
hypervisor.go feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00
hypervisor_test.go test: increase coverage across packages 2026-01-29 13:19:08 +00:00
linuxkit.go fix(container): check context before select in Stop to fix flaky test 2026-02-04 12:53:44 +00:00
linuxkit_test.go feat: infrastructure packages and lint cleanup (#281) 2026-02-04 11:34:43 +00:00
state.go docs(audit): add dependency security audit report (#248) 2026-02-02 08:04:26 +00:00
state_test.go feat: infrastructure packages and lint cleanup (#281) 2026-02-04 11:34:43 +00:00
templates.go docs(audit): add dependency security audit report (#248) 2026-02-02 08:04:26 +00:00
templates_test.go feat: infrastructure packages and lint cleanup (#281) 2026-02-04 11:34:43 +00:00