Skip to content

Cloud Components: new component rendering workflow input forms from a GA4GH I/O Schema #444

Todo

Description

@uniqueg

Why?

D4.3 delivered a draft standard for describing workflow and tool I/O: the GA4GH I/O Schema Profile, https://github.com/uniqueg/ga4gh-io-schema. It is a JSON Schema-based meta-schema plus a Python validator, and it has been shared with GA4GH as a candidate product. Its stated purpose is to let generic WES clients auto-generate input forms and validate inputs client-side. A Cloud Components element that does exactly this would:

This is a nice-to-have. It is part of the end-to-end demonstration elixir-cloud-aai/ga4gh-io-schema#23.

How?

  1. Read the profile's docs (https://ga4gh-io-schema.readthedocs.io/en/latest/) and the meta-schema with its vocabularies (schemas/). Pin profile version 0.3.
  2. Design an element, e.g., ecc-client-ga4gh-wes-io-form or a generic ecc-utils-design form, that:
    • takes an I/O Schema document (profile v0.3, pinned) as a property;
    • validates it against the profile: JSON Schema 2020-12 with x-ga4gh-* keywords, so strict-mode validators must be configured to allow them;
    • renders form controls for the supported input types, including a file-reference widget (URL input; DRS/S3 pickers later); unknown widgets render by type;
    • never renders descriptions as HTML, and sanitises Markdown;
    • validates user input client-side;
    • emits the input values (ecc-…-changed with {values, valid}), not workflow_params: translating values to workflow_params depends on the engine and is done by a separate builder (feat(wes): build run requests from I/O Schemas #570).
  3. Evaluate an existing JSON Schema form library vs a renderer on @elixir-cloud/design primitives. This is the component owner's decision; the agent prepares a short comparison for him. Document the choice.
  4. Add a docs-app demo with the profile's example schemas (tests/data/).
  5. Feed gaps in the profile back as issues on the io-schema repo.

Acceptance criteria

  • Given a valid I/O Schema, the component renders a usable form and emits input values that validate against the schema's inputs.
  • An invalid schema produces a clear error.
  • Descriptions are never rendered as HTML; Markdown is sanitised.
  • A docs-app demo exists.

Dependencies: blocked by elixir-cloud-aai/ga4gh-io-schema#10 (file references) and elixir-cloud-aai/ga4gh-io-schema#17 (widget list).


Part of the ELIXIR Compute Platform WP4 sprint (M&Ds due end of December 2026).
If you want to work on this issue:

  • Assign yourself (if someone is already assigned, ask them first or pick another one)
  • Move the issue to "In progress" on the project board
  • Start working 🚀

Activity

  1. added
    priority: low
    type: feature
    workload: weeks
    ecp-wp4: D4.2
    ecp-wp4: D4.3
    on Oct 14, 2026
  2. added
    flag: nice to have
    on Nov 8, 2026
  3. moved this from Ready to Backlog in ELIXIR On-Cloudon Nov 8, 2026
  4. added
    status: triage
    on Nov 12, 2026
  5. 15 remaining items

  6. moved this from Nice to have to In progress in ELIXIR On-Cloudon Nov 28, 2026
  7. moved this from In progress to In review in ELIXIR On-Cloudon Dec 2, 2026
  8. self-assigned this
    on Dec 3, 2026
  9. added
    status: in progress
    on Dec 3, 2026
  10. moved this from In review to In progress in ELIXIR On-Cloudon Dec 3, 2026
  11. removed
    status: triage
    on Dec 3, 2026
  12. uniqueg commented on Dec 4, 2026

    @uniqueg
    MemberAuthor

    Quick heads-up on where this stands: we're currently trying out the proposed approach end to end, to see how everything comes together for the GA4GH I/O Schema demo on 14 Dec.

    The work is collected on the integration branch feat/io-schema. It is branched off dev and only adds a CI trigger for itself. It will never be released. These three stacked PRs go into it:

    1. feat(wes): add the I/O Schema form (proposal) #613: the I/O Schema form (this issue)
    2. feat(wes): build run requests from I/O Schemas #614: building WES run requests from I/O Schemas (feat(wes): build run requests from I/O Schemas #570)
    3. feat(wes): show run outputs with I/O Schema hints #615: showing run outputs with I/O Schema hints (feat(wes): show run outputs with I/O Schema hints #571); the top of the stack

    Krini picks the components up from that branch as vendored tarballs, not as a release.

    This is just a trial run so that we have something working for the demo. Nothing goes into dev from it without @anuragxxd's review. The open design questions are listed in the PR bodies. Where your preferred approach differs, we're happy to adapt the branch or roll it back completely and redo it your way. The branch is only there to find out, on running code, how the pieces fit together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ecp-wp4: D4.2ecp-wp4: D4.3flag: nice to havepriority: lowstatus: in progresstype: featureworkload: weeks

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions