Skip to content

[benchmarker/scd] Improve resilience of subscription management - #1673

Merged
mickmis merged 1 commit into
interuss:mainfrom
BenjaminPelletier:benchmarker-resilient-sub-management
Sep 8, 2026
Merged

[benchmarker/scd] Improve resilience of subscription management#1673
mickmis merged 1 commit into
interuss:mainfrom
BenjaminPelletier:benchmarker-resilient-sub-management

Conversation

@BenjaminPelletier

@BenjaminPelletier BenjaminPelletier commented Aug 27, 2026

Copy link
Copy Markdown
Member

When benchmarker is stopped abnormally, the permanent subscriptions can be left in an unusable state since they have dependent operational intents which make them undeletable. This PR resolves that problem by also deleting the dependent operational intents when necessary to perform the specified subscription management task, so this allows easy benchmarker recovery of a dirty stateful deployed system. It also prints additional information about any residual errors to make debugging easier.

Tested stacked on #1672 locally with a modified configuration to elicit the new behavior more easily.

@BenjaminPelletier
BenjaminPelletier marked this pull request as ready for review August 27, 2026 17:51

@mickmis mickmis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

f"F3548 Action: Checking if subscription '{spec.subscription_id}' exists before deleting..."
)
deleted = False
for dss_instance in dss_instances:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤨

@mickmis
mickmis merged commit 62550d9 into interuss:main Sep 8, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants