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
{{ message }}
Repository navigation
feat(wes/workflow): fetch workflows from Git repos #88
Clients of WES gateways (proWES, elixir-cloud-aai/prowes#121) want to run workflows straight from a GitHub, GitLab or Bitbucket repository by passing its URL as workflow_url. WES doesn't define this, and most WES backends can't fetch repositories.
Moved from elixir-cloud-aai/prowes on 2026-11-17: the feature is a reusable wes plugin, not a proWES core feature, so that any gateway for the WES API can use it.
What to do
A plugin of the request phase (group wes, e.g. wes.workflow.git), so that every backend gets the same request:
Recognize repository URLs with a ref (branch, tag or commit) and a path to the main workflow file, for GitHub, GitLab and Bitbucket (document the accepted URL forms).
Fetch the files of the ref over HTTPS (archive download; no git binary needed), add the files the workflow needs as workflow_attachment (the whole repository or a configured subdirectory), and set workflow_url to the main file's relative path, as WES defines for attached workflows.
Configuration: allowed hosts (empty by default), maximum number and total size of files, timeouts; outbound requests through FOCA's guarded HTTP client. Private repositories are out of scope (they would need credentials per client).
Check first that FOCA's wes gateway API lets request plugins add workflow_attachment files; if not, open a FOCA issue and block this one on it.
Done when
Unit tests with recorded archive responses for each host: ref and path resolution, size and host limits, missing ref or file.
The README documents the plugin and its configuration.
Activity
[-]feat: support remote repos[/-][+]feat(wes/workflow): fetch workflows from Git repos[/+]