Relationships
↔ sibling #3018#3031 extension push: --extensions-dir is ignored for bundled workflows
Opened by skunk-ape · 10/5/2026· Shipped 10/6/2026
Problem
swamp extension push resolves manifest model, vault, datastore, report and webhook paths against --extensions-dir (src/cli/resolve_extension_files.ts, extensionsDir ?? repoDir), but bundled workflow paths only against the manifest directory and the repo dir (workflows/ and the configured workflows dir). Pushing an extension that bundles workflows from outside the swamp repo therefore fails even with --extensions-dir set.
Reproduction
From an initialized scratch repo, with swamp 20261003.133728:
swamp extension push ~/sc/swamp-extensions/kubernetes/manifest.yaml --dry-run --repo-dir /tmp/scratch --extensions-dir ~/sc/swamp-extensions/kubernetes
Error: Workflow file not found: debug-namespace-deep/workflow.yaml (looked in /tmp/scratch/workflows, /tmp/scratch/extensions/workflows)
The same command for an extension without workflows (model/digitalocean) succeeds. Symlinking /extensions to the extension's extensions directory works around it.
Expected
Workflow (and any other bundled content) candidate directories include the --extensions-dir root, the same way model files do, so one flag relocates the whole extension.
Found while reproducing swamp-club#3019.
Shipped
Click a lifecycle step above to view its details.
Sign in to post a ripple.