Files
kubectx/cmd
Claude c57909e31a kubens: show slow-listing warning after 3s during namespace list
When `kubens` is run with no args in non-interactive mode (ListOp),
start a background goroutine that prints a warning to stderr after
3 seconds if the Kubernetes API call is still in progress. The warning
advises users to switch directly with `kubens -f <ns>` to avoid the
slow list call. The goroutine is cancelled immediately if listing
completes before the timeout.

https://claude.ai/code/session_01XJXHq8WG22iqX8KaDb9RZz
2026-03-09 08:15:23 +00:00
..