Skip to content

Op composite + build pipeline integration #7

@lex00

Description

@lex00

Part of the Op / Temporal deployment workflow redesign.

Op is a new core composite in packages/core that declares a Temporal deployment workflow. Discovered via *.op.ts files; the Temporal lexicon serializer emits compiled workflow + worker JS to dist/ops/ as part of chant build.

Tasks

  • Op type and factory in packages/core/src/op/types.ts
  • phase(), activity(), gate() builder functions
  • Pre-built activity library: build(), kubectlApply(), helmInstall(), waitForStack(), gitlabPipeline(), stateSnapshot(), shell(), gate(), teardown()
  • RetryPolicy type and application logic
  • Parallel phase support ({ parallel: true })
  • depends enforcement (resolve Op dependency graph, block on incomplete deps)
  • onFailure compensation phase
  • Discovery of *.op.ts files in build pipeline
  • Temporal lexicon serializer: emit compiled workflow + worker JS to dist/ops/
  • Export Op and builders from packages/core index
  • Tests

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