Skip to content

api: tighten runtime CRD validation#1

Closed
googs1025 wants to merge 1 commit into
mainfrom
add-crd-validation
Closed

api: tighten runtime CRD validation#1
googs1025 wants to merge 1 commit into
mainfrom
add-crd-validation

Conversation

@googs1025

Copy link
Copy Markdown
Owner

Summary

  • add CRD schema/CEL validation for runtime session durations and ordering
  • validate runtime target ports and path prefixes
  • enforce non-negative CodeInterpreter warm pool size and add generated CRD schema tests

Test Plan

  • GOCACHE=/private/tmp/agentcube-go-cache make gen-crd
  • GOCACHE=/private/tmp/agentcube-go-cache go test -gcflags=all=-l ./pkg/apis/runtime/v1alpha1 ./pkg/workloadmanager -count=1

@googs1025

Copy link
Copy Markdown
Owner Author

Closed because the intended target is the upstream repository: volcano-sh#382

@googs1025 googs1025 closed this Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant