You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: support multiple local adaptor repos in registry (#4714)
* feat: support multiple local adaptor repos in registry
OPENFN_ADAPTORS_REPO now accepts a colon-separated list of paths so that
a private adaptor repo can be loaded alongside the canonical OpenFn
adaptors monorepo. Order is precedence: when two repos ship a package
with the same dirname, the entry from the earlier path wins and a single
summary warning is logged for the shadowed entries.
The bootstrap layer normalises the env var into the
`local_adaptors_repos` list config key, which is the sole input the
registry consumes. Single-path values still work; they just become a
one-element list. A missing or unreadable repo path is logged as an
error and skipped, so a typo in one entry does not take down the others.
The bundled ws-worker still expects a single path for `@local` adaptor
execution, so colon-separated values only widen the registry view
(picker UI, metadata). RUNNINGLOCAL.md and .env.example document the
limitation.
* fix: use comma separator for OPENFN_ADAPTORS_REPO and run mix format
Colon collides with Windows drive letters (c:/repo); comma matches the
ws-worker parser so the registry view and @Local resolution agree.
Single-path callers are unchanged. Also applies mix format to satisfy
CI and tightens the docs note about missing repos (they are skipped,
not fatal).
* improve shadowed-adaptor warning and trim local-adaptor docs
The shadow warning now names the winning and shadowed repo per package
instead of just listing package names twice, so a local override is
diagnosable from the log alone.
Consolidate the local-adaptors explanation into RUNNINGLOCAL.md: strip
the duplicated prose from .env.example and reduce the bootstrap.ex
comment to the ws-worker separator rationale.
* docs: add changelog entry for multi-root local adaptors (#4714)
---------
Co-authored-by: Stuart Corbishley <corbish@gmail.com>
0 commit comments