mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-04-26 10:05:49 +03:00
[GH-ISSUE #70] Cannot Change Repo Between Runs #23
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#23
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?
Originally created by @sibblegp on GitHub (Feb 6, 2026).
Original GitHub issue: https://github.com/KeygraphHQ/shannon/issues/70
So after I started a run against one piece of software, I changed REPO=.... to a different repo, changed the host, and wanted to audit that piece of software.
Except that it still used the source from the first time I ran REPO=.
I can see that it's using /target-repo as the repoPath. Is this in the docker image it creates? How do we run this against multiple repos?
Thanks!
@chichi13 commented on GitHub (Feb 8, 2026):
@sibblegp from what I understand :
shannon-worker-1between run, if not, the/target-repowill remain the same/target-repois your repo mounted (bind mount) in the container:@Yash-xoxo commented on GitHub (Feb 9, 2026):
Hey @sibblegp,
Yeah, this happens because the
/target-repobind mount persists in theshannon-worker-1container between runs.Quick Fix
Just restart the worker container before changing repos:
Or if you want a clean slate:
What's Happening
The
/target-repodirectory is a bind mount from your first repo's location. When you change theREPOenv var, the orchestrator might restart, but the worker container keeps the old mount unless you explicitly recreate it.Looks like @ChinmayShringi's PR #84 should fix this by detecting when
REPOchanges and automatically refreshing the worker. Once that's merged, you shouldn't need to manually restart anymore.Until then, just
docker compose downbetween different repos and you're good to go!@ezl-keygraph commented on GitHub (Feb 9, 2026):
Thanks for flagging! This should be fixed with #107
./reposfrom project's root or clone the target repo into the./reposfolderREPO=flag