Enable config monitoring for Thor in containerized deployments#152
Draft
Copilot wants to merge 6 commits intocandidate-10.0.xfrom
Draft
Enable config monitoring for Thor in containerized deployments#152Copilot wants to merge 6 commits intocandidate-10.0.xfrom
Copilot wants to merge 6 commits intocandidate-10.0.xfrom
Conversation
Co-authored-by: jakesmith <902700+jakesmith@users.noreply.github.com>
Co-authored-by: jakesmith <902700+jakesmith@users.noreply.github.com>
Co-authored-by: jakesmith <902700+jakesmith@users.noreply.github.com>
Co-authored-by: jakesmith <902700+jakesmith@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add soft configuration reload for Thormanager and workers
Enable config monitoring for Thor in containerized deployments
Oct 14, 2025
jakesmith
requested changes
Oct 14, 2025
Owner
jakesmith
left a comment
There was a problem hiding this comment.
@copilot - structure looks broadly okay, but:
- you should be able to tell that a lot of the settings that you have added to managerAdditionalSettings, e.g. channelsPerWorker, logging/@thorworkerdetail, are coming direct from the configuration, without being overridden, and therefore there is no point in storing and sending them.
Also some settings are used by workers like "managerMemory" - prefer isContainerized() in code rather than #ifdef _CONTAINERIZED
- prefer out of method static's than in-method static objects.
Author
Addressed all three points in commit 6c97653:
|
…), move statics Co-authored-by: jakesmith <902700+jakesmith@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Code Review Changes (latest commit)
1. Optimized additional settings - Only include settings truly SET by manager:
@channelsPerWorker,logging/@thorworkerdetail,@name,@nodeGroup(already in config)managerMemory(not used by workers)@masterBuildTag,@masterTotalMem,@thorPath,@query_so_dir,@dllsToSlaves,@thorTempDirectory,workerMemory2. Replaced #ifdef with isContainerized() - More flexible runtime check
3. Moved in-method statics to file scope - Better code organization:
managerAdditionalSettings,managerAdditionalSettingsCrit,managerConfigHookworkerStoredManagerSettings,workerManagerSettingsCrit,workerConfigHookOriginal prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.