You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #214 (Refs #209) makes a namespaced LIST of coderworkspaces, codertemplates, and codertemplateversions return an empty list when no Coder backend serves the namespace. An independent readiness review of that PR left two open decisions. Item 1 is resolved. Item 2 is open.
Ineligible control plane gives an empty LIST. Resolved in 🤖 fix: return an empty namespaced LIST where no Coder backend serves the namespace #214 (commit cbf77c21): only a namespace that contains no CoderControlPlane at all gets the empty list. A namespace whose control plane exists but is not eligible (for example status.operatorAccessReady=false during a short Postgres outage) keeps the 503, so watch clients do not see objects as deleted.
Unconfigured standalone server. When standalone mode (--app=aggregated-apiserver) has no Coder URL or token, the server uses an error provider that returns 503 for every namespace (errClientProvider in internal/app/apiserverapp/apiserverapp.go). Its LIST errors are not marked as "namespace not served", so namespace deletion still hangs on such a server. This is a misconfiguration, so 🤖 fix: return an empty namespaced LIST where no Coder backend serves the namespace #214 left it out.
Trigger
Item 2: a user report, or the next change to standalone-mode configuration.
Owner
The coder-k8s maintainer.
Generated with mux • Model: anthropic:claude-opus-5-5 • Thinking: high
Problem
PR #214 (Refs #209) makes a namespaced LIST of
coderworkspaces,codertemplates, andcodertemplateversionsreturn an empty list when no Coder backend serves the namespace. An independent readiness review of that PR left two open decisions. Item 1 is resolved. Item 2 is open.Ineligible control plane gives an empty LIST.Resolved in 🤖 fix: return an empty namespaced LIST where no Coder backend serves the namespace #214 (commitcbf77c21): only a namespace that contains noCoderControlPlaneat all gets the empty list. A namespace whose control plane exists but is not eligible (for examplestatus.operatorAccessReady=falseduring a short Postgres outage) keeps the503, so watch clients do not see objects as deleted.--app=aggregated-apiserver) has no Coder URL or token, the server uses an error provider that returns503for every namespace (errClientProviderininternal/app/apiserverapp/apiserverapp.go). Its LIST errors are not marked as "namespace not served", so namespace deletion still hangs on such a server. This is a misconfiguration, so 🤖 fix: return an empty namespaced LIST where no Coder backend serves the namespace #214 left it out.Trigger
Owner
The coder-k8s maintainer.
Generated with
mux• Model:anthropic:claude-opus-5-5• Thinking:high