Skip to content

feat(wes/workflow): fetch workflows from Git repos #88

Closed

Description

@uniqueg

Problem

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.

Origin: elixir-cloud-aai/prowes (formerly prowes#50).

Activity

  1. added
    type: feature
    priority: low
    workload: days
    status: blocked
    on Nov 16, 2026
  2. changed the title [-]feat: support remote repos[/-] [+]feat(wes/workflow): fetch workflows from Git repos[/+] on Nov 17, 2026
  3. added
    status: triage
    and removed
    status: blocked
    on Nov 17, 2026
  4. added
    status: blocked
    and removed
    status: triage
    on Nov 17, 2026
  5. added
    status: triage
    status: in progress
    and removed
    status: blocked
    status: triage
    on Nov 17, 2026
  6. self-assigned this
    on Nov 17, 2026
  7. moved this from Backlog to In progress in ELIXIR On-Cloud: Low Priorityon Nov 17, 2026
  8. moved this from In progress to In review in ELIXIR On-Cloud: Low Priorityon Nov 17, 2026
  9. removed
    status: in progress
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: lowtype: featureworkload: days

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions