Skip to content

OSS-243: wait for starting parents instead of marking children gone - #404

Merged
athNdev merged 1 commit into
mainfrom
oss/243-self-heal-children
Nov 10, 2026
Merged

athNdev merged 1 commit into
mainfrom
oss/243-self-heal-children

Conversation

@athNdev

@athNdev athNdev commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • A running module with no container now waits while its parent is still coming up (starting/creating after self-heal), instead of being recorded as stopped.
  • Stopped and deep-sleep parents still prevent resurrection.
  • TestReconcileModuleWaitsWhenTheParentIsStarting runs real Manager.ReconcileModule and fails if the child is marked gone.
  • TestAServerStatusTransitionSchedulesChildModules covers the statusChanged && (running || stopped) scheduling branch.

Test plan

  • go test ./internal/reconciler/ ./internal/module/ -count=1 -timeout 180s
  • go vet ./internal/reconciler/ ./internal/module/
  • knowledge-lint -fix then lint again

Refs OSS-243. Follow-up to merged #400. Does not change #391 recreate gates or #394 module-to-module scheduling.

Made with Cursor

Self-heal records starting before children run. Marking a missing sidecar
gone there left it stopped after the parent became running.

Co-authored-by: Cursor <[email protected]>
@athNdev
athNdev merged commit a8c6e68 into main Nov 10, 2026
11 checks passed
@athNdev
athNdev deleted the oss/243-self-heal-children branch November 10, 2026 06:28
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