Skip to content

Conversation

@bolekk
Copy link
Contributor

@bolekk bolekk commented Sep 18, 2025

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 force-pushed the feature/CRE-788-remote-shims-dynamic-updates branch 11 times, most recently from 919e5bc to be2b605 Compare September 24, 2025 05:02
@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
@bolekk bolekk force-pushed the feature/CRE-788-remote-shims-dynamic-updates branch 4 times, most recently from 6043b2b to facf0c6 Compare September 24, 2025 18:24
@bolekk bolekk marked this pull request as ready for review September 24, 2025 19:03
@bolekk bolekk requested review from a team as code owners September 24, 2025 19:03
@bolekk bolekk force-pushed the feature/CRE-788-remote-shims-dynamic-updates branch from facf0c6 to 21a7b3d Compare September 25, 2025 17:19
@bolekk bolekk force-pushed the feature/CRE-788-remote-shims-dynamic-updates branch from 21a7b3d to 786f0fb Compare September 25, 2025 20:13
@cl-sonarqube-production
Copy link

@bolekk bolekk enabled auto-merge September 26, 2025 00:01
@bolekk bolekk added this pull request to the merge queue Sep 26, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 26, 2025
@bolekk bolekk added this pull request to the merge queue Sep 26, 2025
Merged via the queue into develop with commit 84d34a5 Sep 26, 2025
204 of 206 checks passed
@bolekk bolekk deleted the feature/CRE-788-remote-shims-dynamic-updates branch September 26, 2025 15:14
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