Skip to content

feat(temporal): waitForArgoSync activity + argoSync profile #106

Closed

Description

@lex00

Part of #100.

Scope

  • New dependency-free activity in lexicons/temporal (must NOT import the k8s lexicon or its generated Argo CRD types): waitForArgoSync({ appName, namespace?, server?, timeout? }) that polls ArgoCD's API (argocd app get or watching Application.status via the k8s API) and resolves when health=Healthy && sync=Synced.
  • Heartbeats every ~30s; configurable startToClose timeout.
  • New argoSync entry in TEMPORAL_ACTIVITY_PROFILES (long timeout, 60s heartbeat, cheap idempotent retries).

Acceptance criteria

  • Unit test against a faked ArgoCD API (Healthy/Progressing/Degraded transitions).
  • Integration test against a real Argo Application reaching Healthy.
  • argoSync profile exported and documented alongside existing profiles; signature is primitives-only (app name / namespace / server — no Argo resource object).

Dependencies

Independent of the k8s lexicon — talks only to ArgoCD's runtime API. Logically pairs with the composites (#105) for the refactor (#108).

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

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