Refresh CRD schema without restart #705

Merged
tobru merged 1 commit from feat/crd-schema-refresh into main 2026-09-29 07:52:05 +00:00
Owner

Key the in-process CRD model cache on a hash of the schema, so a new schema from the DB cache builds a new model class instead of reusing the stale one until the process restarts.

Add a "Refresh schema from control plane" admin action on ControlPlaneCRD. It drops the cached schema, plural and API discovery data and loads the schema again right away.

Key the in-process CRD model cache on a hash of the schema, so a new schema from the DB cache builds a new model class instead of reusing the stale one until the process restarts. Add a "Refresh schema from control plane" admin action on ControlPlaneCRD. It drops the cached schema, plural and API discovery data and loads the schema again right away.
feat(crd): refresh CRD schema without restart
All checks were successful
Tests / test (push) Successful in 1m56s
a90876ae49
Key the in-process CRD model cache on a hash of the schema, so a new
schema from the DB cache builds a new model class instead of reusing
the stale one until the process restarts.

Add a "Refresh schema from control plane" admin action on
ControlPlaneCRD. It drops the cached schema, plural and API discovery
data and loads the schema again right away.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
tobru changed title from WIP: Refresh CRD schema without restart to Refresh CRD schema without restart 2026-09-29 07:52:01 +00:00
tobru merged commit 46fb125d0e into main 2026-09-29 07:52:05 +00:00
tobru deleted branch feat/crd-schema-refresh 2026-09-29 07:52:05 +00:00
Sign in to join this conversation.
No description provided.