Skip to content

fix: scope plugin sessions to active config targets#28

Merged
adityathebe merged 1 commit into
mainfrom
fix/plugin-session-scoping
May 21, 2026
Merged

fix: scope plugin sessions to active config targets#28
adityathebe merged 1 commit into
mainfrom
fix/plugin-session-scoping

Conversation

@adityathebe
Copy link
Copy Markdown
Member

Arthas, Inspektor Gadget, and SQL Server trace sessions could leak across config pages because their in-process session registries were listed globally.

Scope Arthas and Inspektor sessions by the pods resolved from the active config item, and validate session actions against that same target set.

SQL Server traces already record configItemId; use it to filter and validate trace list/get/stop/delete operations. UI cache keys and selection logic were updated so stale sessions are not shown after switching configs.

Arthas, Inspektor Gadget, and SQL Server trace sessions could leak across config pages because their in-process registries were listed globally.

Scope Arthas and Inspektor sessions by the pods resolved from the active config item, validate session actions against that target set, and use SQL Server trace configItemId for trace list/get/stop/delete.

Update UI cache keys and selection behavior so stale sessions are not shown after switching configs.
@adityathebe adityathebe linked an issue May 21, 2026 that may be closed by this pull request
@adityathebe adityathebe merged commit 569f6f5 into main May 21, 2026
23 checks passed
@adityathebe adityathebe deleted the fix/plugin-session-scoping branch May 21, 2026 16:26
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.

Golang - plugins should be limited to the plugins for selected pod

1 participant