Skip to content

fix: double graph removals#247

Merged
jaapschoutenalliander merged 2 commits into
mainfrom
pgm/fix/double-inactivations
May 12, 2026
Merged

fix: double graph removals#247
jaapschoutenalliander merged 2 commits into
mainfrom
pgm/fix/double-inactivations

Conversation

@jaapschoutenalliander

Copy link
Copy Markdown
Member

Calling graphs.make_active() or graphs.make_inactive() on an already-active/inactive branch was a latent bug: the graph could end up in an inconsistent state.
make_active and make_inactive now check whether a branch is already in the target state before calling into the graph layer.

Signed-off-by: Jaap Schouten <jaap.schouten@alliander.com>
Signed-off-by: Jaap Schouten <jaap.schouten@alliander.com>
@sonarqubecloud

Copy link
Copy Markdown

@jaapschoutenalliander jaapschoutenalliander merged commit 2e1e36c into main May 12, 2026
15 checks passed
@jaapschoutenalliander jaapschoutenalliander deleted the pgm/fix/double-inactivations branch May 12, 2026 06:15
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