mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-04-25 09:35:55 +03:00
[PR #84] [CLOSED] fix: refresh worker container when REPO changes between runs #109
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shannon-KeygraphHQ#109
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/KeygraphHQ/shannon/pull/84
Author: @ChinmayShringi
Created: 2/7/2026
Status: ❌ Closed
Base:
main← Head:fix/repo-change-between-runs📝 Commits (1)
f44b058fix: refresh worker container when REPO changes between runs📊 Changes
1 file changed (+8 additions, -0 deletions)
View changed files
📝
shannon(+8 -0)📄 Description
Summary
When users changed
REPO=between runs, the old repository content persisted because the worker container wasn't recreated with the new volume mount.Root Cause
In
ensure_containers(), if Temporal is already healthy, the function returns early without refreshing the worker container. The existing fix forOUTPUT_DIRwasn't applied toTARGET_REPO.Solution
Add the same worker refresh logic for
TARGET_REPOthat already exists forOUTPUT_DIR. Docker compose will only recreate the container if the mount actually changed.Changes
shannon: Added TARGET_REPO refresh logic (7 lines)Test plan
./shannon start URL=... REPO=/path/to/repo1./shannon start URL=... REPO=/path/to/repo2Fixes #70
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.