Skip to content

feat: schedule snapshots by CPU compatibility - #30

Merged
CMGS merged 3 commits into
mainfrom
feat/snapshot-cpu-compatibility
Aug 11, 2026
Merged

feat: schedule snapshots by CPU compatibility#30
CMGS merged 3 commits into
mainfrom
feat/snapshot-cpu-compatibility

Conversation

@tonicmuroq

@tonicmuroq tonicmuroq commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • render spec.snapshotCompatibilityClass as an independent hard node selector
  • preserve the selector through normal creation and release-policy wake
  • adopt pre-feature pods with no immutable CPU selector so class backfill does not restart running VMs; their next normal recreate converges automatically
  • continue rejecting non-empty selector mismatches for agent and toolbox pods

Uses the merged snapshot compatibility contract from cocoon-common#16.

Test plan

  • go mod tidy
  • make test
  • verify imported CRD is byte-identical to cocoon-common

Render snapshot compatibility as an independent hard node selector, preserve it across wake flows, and adopt pre-feature pods without restarting running VMs. Pin the merged cocoon-common contract.
@tonicmuroq
tonicmuroq force-pushed the feat/snapshot-cpu-compatibility branch from c0c697d to fa79424 Compare August 11, 2026 07:49
@CMGS
CMGS merged commit 7aad2a1 into main Aug 11, 2026
2 checks passed
@CMGS
CMGS deleted the feat/snapshot-cpu-compatibility branch August 11, 2026 11:58
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.

2 participants