[Feature] Expose Dataflow run lifecycle to Workflow #9

Closed
opened 2026-07-28 00:58:09 +02:00 by zemion · 3 comments
Owner

Parent: #1

Expose versioned capabilities for Workflow to start a pinned pipeline revision, await terminal or review-required states, present a module-owned task UI, resume after decisions, cancel safely, and consume output references.

Parent: https://git.add-ideas.de/GovOPlaN/govoplan-dataflow/issues/1 Expose versioned capabilities for Workflow to start a pinned pipeline revision, await terminal or review-required states, present a module-owned task UI, resume after decisions, cancel safely, and consume output references.
Author
Owner

Codex State: progress

The shared graph and datasource prerequisites are now in place. Workflow can
represent a pinned Dataflow action through its module-specific node library,
and Dataflow consumes stable datasource references.

The remaining execution contract is still open: start/cancel/status,
terminal/review-required states, idempotency, output publication, retries, and
module-owned task UI. Output publication is tracked at
GovOPlaN/govoplan-datasources#3 and
durable Workflow execution at
GovOPlaN/govoplan-workflow#5.

## Codex State: progress The shared graph and datasource prerequisites are now in place. Workflow can represent a pinned Dataflow action through its module-specific node library, and Dataflow consumes stable datasource references. The remaining execution contract is still open: start/cancel/status, terminal/review-required states, idempotency, output publication, retries, and module-owned task UI. Output publication is tracked at https://git.add-ideas.de/GovOPlaN/govoplan-datasources/issues/3 and durable Workflow execution at https://git.add-ideas.de/GovOPlaN/govoplan-workflow/issues/5.
Author
Owner

Codex State: progress

Summary

  • Implemented Core dataflow.runLifecycle and the Dataflow provider in baa2143/6305ef9.
  • Runs pin an immutable revision, persist request/evidence and terminal state, support idempotent replay, expose start/get/cancel APIs, and return published datasource/materialization references.
  • The WebUI now starts saved revisions, optionally publishes to a new or existing non-live datasource, and shows recent run status.

Verification

  • Dataflow tests: 27 passed; Workflow/Dataflow WebUI permutations passed.

Next / Blocked

  • Keep open for queued asynchronous execution, meaningful in-flight cancellation, review-required/wait states, and Workflow-owned handoff/progress UI.

Suggested status label: status/in-progress

## Codex State: progress ### Summary - Implemented Core dataflow.runLifecycle and the Dataflow provider in baa2143/6305ef9. - Runs pin an immutable revision, persist request/evidence and terminal state, support idempotent replay, expose start/get/cancel APIs, and return published datasource/materialization references. - The WebUI now starts saved revisions, optionally publishes to a new or existing non-live datasource, and shows recent run status. ### Verification - `Dataflow tests: 27 passed; Workflow/Dataflow WebUI permutations passed.` ### Next / Blocked - Keep open for queued asynchronous execution, meaningful in-flight cancellation, review-required/wait states, and Workflow-owned handoff/progress UI. Suggested status label: `status/in-progress`
zemion added
status
in-progress
and removed
status
ready
labels 2026-07-28 13:51:40 +02:00
Author
Owner

Implemented and verified in a86220d; released as v0.1.19.

Acceptance evidence:

  • Dataflow exposes queued worker execution, cooperative cancellation, and start/get/cancel lifecycle operations with pinned revisions, idempotency, retries, and stable output references.
  • Workflow already consumes that lifecycle through wait/retry/review/approve/cancel handoffs and task UI.
  • Datasource publication outcomes published_with_warnings and review_required now become Dataflow warning diagnostics, causing a deliberate Workflow review handoff instead of silent success.
  • Scheduling, concurrency, missed-run, publication-freeze, and review consequences are documented and connected to exact contextual help.

Verification: all 92 Dataflow tests, the focused Workflow instance-service lifecycle suite, TypeScript, manifest/contract/dependency checks, strict inventory, all WebUI permutations, and the complete workspace focused gate passed.

Implemented and verified in `a86220d`; released as `v0.1.19`. Acceptance evidence: - Dataflow exposes queued worker execution, cooperative cancellation, and start/get/cancel lifecycle operations with pinned revisions, idempotency, retries, and stable output references. - Workflow already consumes that lifecycle through wait/retry/review/approve/cancel handoffs and task UI. - Datasource publication outcomes `published_with_warnings` and `review_required` now become Dataflow warning diagnostics, causing a deliberate Workflow review handoff instead of silent success. - Scheduling, concurrency, missed-run, publication-freeze, and review consequences are documented and connected to exact contextual help. Verification: all 92 Dataflow tests, the focused Workflow instance-service lifecycle suite, TypeScript, manifest/contract/dependency checks, strict inventory, all WebUI permutations, and the complete workspace focused gate passed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GovOPlaN/govoplan-dataflow#9