Skip to content

feat: Let nodes detect if their subnet was deleted#9436

Open
michael-weigelt wants to merge 3 commits intomasterfrom
mwe/orch
Open

feat: Let nodes detect if their subnet was deleted#9436
michael-weigelt wants to merge 3 commits intomasterfrom
mwe/orch

Conversation

@michael-weigelt
Copy link
Contributor

@michael-weigelt michael-weigelt commented Mar 17, 2026

Nodes regularly check if they are assigned to their subnet or if they should unassign themselves and wipe the subnet state. Since it would be catastrophic to lose subnet state accidentally, the check is quite defensive and any error or missing data defaults to "stay assigned".
In order to support subnet deletion, where nodes should unassign themselves and wipe the subnet state based on a missing subnet_record, this PR adds an explicit check that only returns true when the subnet was deleted.

@github-actions github-actions bot added the feat label Mar 17, 2026
@michael-weigelt michael-weigelt marked this pull request as ready for review March 17, 2026 16:23
@michael-weigelt michael-weigelt requested a review from a team as a code owner March 17, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant