Skip to content

[CRE-788] Support dynamic config updates in TriggerSubscriber - #19404

Merged
bolekk merged 1 commit into
developfrom
feature/CRE-788-remote-shims-dynamic-updates
Sep 26, 2025
Merged

bolekk merged 1 commit into
developfrom
feature/CRE-788-remote-shims-dynamic-updates

Conversation

@bolekk

@bolekk bolekk commented Sep 18, 2025 •

Copy link
Copy Markdown
Contributor

Launcher is currently unable to update shims for remote capabilities. Once a shim is created and connected to underlying services (registry, dispatcher) it can't be replaced with a new one. This PR fixes that by introducing dynamic config updates for existing shims.

  1. Modify Launcher to cache remote shims and update their config instead of creating new ones each time.
  2. Move TriggerSubscriber config from constructor to SetConfig() and reload it dynamically, when necessary.
  3. Make CombinedClient thread-safe.

To be followed up with another PR that migrates other shims to similar SetConfig() calls (i.e. TriggerPublisher, ExecutableClient and ExecutableServer)

@bolekk bolekk changed the title [CRE-788] Refactor TriggerSubscriber to allow for dynamic updates [CRE-788] Support dynamic config updates in TriggerSubscriber Sep 24, 2025
@cl-sonarqube-production

Copy link
Copy Markdown

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.

3 participants