Describe the bug
When running Shannon via npx @keygraph/shannon start, the CLI consistently times out with "Timeout waiting for workflow to start" before the worker container can register with Temporal and begin processing.
Environment
- OS: Ubuntu 24.04 LTS (GCP VM, e2-standard-8)
- Docker: 27.x
- Node.js: v20.20.2
- Shannon: v1.0.0 (via npx)
- Provider: Google Vertex AI (us-east5)
Steps to reproduce
1.npx @keygraph/shannon setup (configure Vertex AI)
2. npx @keygraph/shannon start -u <url> -r <repo> -c <config>
3. CLI shows banner, then "Waiting for workflow to start..." with dots
4. After ~60s, "Timeout waiting for workflow to start"
Expected behaviour
Worker should start and workflow should begin processing.
Actual behaviour
The CLI times out, but running the worker container manually with docker run using the same config works perfectly — preflight passes, pre-recon agent launches, and Claude starts analyzing.
Pre-submission checklist (required)
If applicable
Debugging details
Running the worker container manually works:
docker run --rm --network shannon-net \
-e TEMPORAL_ADDRESS=shannon-temporal:7233 \
-e CLAUDE_CODE_USE_VERTEX=1 \
... \
keygraph/shannon:1.0.0 \
node apps/worker/dist/temporal/worker.js \
--task-queue shannon-pentest --config
Screenshots
No response
CLI mode
npx (@keygraph/shannon)
Provider
Google Vertex AI
Full command with all flags used (with redactions)
npx @keygraph/shannon start -u https://example.com/ -r ~/repo-of-my-app -c ~/congif-file.yaml
OS (with version)
Ubuntu 24.04 LTS (GCP VM, e2-standard-8)
Node.js version ('node -v')
v20.20.2
Docker version ('docker -v')
27.x
Additional context
- The worker container spawned by the CLI (
spawnWorker in index.mjs) uses --rm and stdio: "pipe", making it impossible to capture logs after timeout.
- The timeout seems hardcoded and may be too short for the Vertex AI initialization + workflow bundling (~15-20s).
- Tested on both a manually cloned repo (
./shannon start) and npx — same behavior.
- Works fine on macOS with OrbStack.
Describe the bug
When running Shannon via
npx @keygraph/shannon start, the CLI consistently times out with "Timeout waiting for workflow to start" before the worker container can register with Temporal and begin processing.Environment
Steps to reproduce
1.
npx @keygraph/shannon setup(configure Vertex AI)2.
npx @keygraph/shannon start -u <url> -r <repo> -c <config>3. CLI shows banner, then "Waiting for workflow to start..." with dots
4. After ~60s, "Timeout waiting for workflow to start"
Expected behaviour
Worker should start and workflow should begin processing.
Actual behaviour
The CLI times out, but running the worker container manually with
docker runusing the same config works perfectly — preflight passes, pre-recon agent launches, and Claude starts analyzing.Pre-submission checklist (required)
shannon.If applicable
Debugging details
Running the worker container manually works:
Screenshots
No response
CLI mode
npx (@keygraph/shannon)
Provider
Google Vertex AI
Full command with all flags used (with redactions)
npx @keygraph/shannon start -u https://example.com/ -r ~/repo-of-my-app -c ~/congif-file.yaml
OS (with version)
Ubuntu 24.04 LTS (GCP VM, e2-standard-8)
Node.js version ('node -v')
v20.20.2
Docker version ('docker -v')
27.x
Additional context
spawnWorkerinindex.mjs) uses--rmandstdio: "pipe", making it impossible to capture logs after timeout../shannon start) and npx — same behavior.