Skip to content

feat: Add Argo Workflows job agent integration #777

@jsbroks

Description

@jsbroks

Discussed in #776

Originally posted by cursor[bot] February 4, 2026

Summary

Add a job agent integration that runs Ctrlplane jobs as Argo Workflows.

Problem

Teams already orchestrate workloads with Argo Workflows and want Ctrlplane jobs to trigger and monitor workflows directly instead of relying on custom glue.

Proposal

  • Introduce a new job agent type (e.g. argo-workflows).
  • Create workflows from Ctrlplane job definitions using either:
    • A referenced WorkflowTemplate
    • Or an inline Workflow manifest
  • Map Ctrlplane job lifecycle to Argo workflow status (Pending/Running/Succeeded/Failed).
  • Support parameter/variable injection, retries, and cancellation (terminate workflow).
  • Surface workflow links, logs, and artifacts in job metadata.

Scope / tasks

  • Define configuration schema and validation.
  • Implement integration package + API wiring.
  • UI selection + configuration form.
  • Observability: events/metrics and links to Argo UI.
  • Add integration/e2e tests.
  • Documentation and example config.

Acceptance criteria

  • Jobs create Argo workflows and update status reliably.
  • Cancellation terminates the workflow.
  • Parameters and secrets map correctly.
  • Clear docs and tested happy-path + failure-path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions