[DEV-94] Reload workspace and automation config without restarting the worker - #80
Merged
Conversation
…ut restarting the worker
# Conflicts: # docs/code/workspaces.md
Contributor
Author
|
🔀 This branch had merge conflicts with |
# Conflicts: # packages/code/src/lib/workspace/workspace-worker.ts
Contributor
Author
|
|
# Conflicts: # packages/code/src/lib/review-polling-acquirer.ts
Contributor
Author
|
🔀 This branch had merge conflicts with |
# Conflicts: # docs/code/workspaces.md # packages/code/src/lib/automation-acquirer.ts # packages/code/src/lib/workspace/workspace-worker.ts
Contributor
Author
|
🔀 This branch had merge conflicts with |
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.
Task: DEV-94
Summary
Reload validated workspace configuration without restarting the worker. This update also merges the current
mainbranch and completes runtime reload support for estimations and other settings introduced after the original implementation.Settings applied live
task_query,poll_interval,worker_task_args, andworktrees_ttl_daysExisting in-flight work finishes safely while later runs use the updated configuration. Durable schedules preserve their state when unchanged and reconcile when their definitions change.
Startup-only settings
.envA change to a startup-only setting rejects the entire reload, leaving the last valid configuration active. Runtime-incompatible tracker/query changes are also rejected with restart guidance.
Reliability
SIGHUPas a manual reloadVerification
@getdevintern/code: 1194 passed, 0 failedThis PR was automatically created by @devintern/code