feat(workflow): generic runtime inputs and native graph validation #19

Merged
john merged 2 commits from feat/native-workflows into main 2026-11-18 11:34:20 +00:00
Owner

Extends the existing xyops_workflow resource, rather than inventing a deployment-specific resource/action API.

  • Add workflow params, fields, notes and icon with create/update/read/import handling; omit unmanaged values and stop wiping fields on unrelated updates.
  • Validate graph shape, IDs, numeric coordinates and connection endpoints before create/update. Keep node data/action/controller vocabulary open, including native loops and future extensions.
  • Contract tests cover native trigger/event/job/controller/action/limit data, suspend payload preservation, inputs, readback, unmanaged fields and malformed graphs.
  • Document suspension versus manifest-bound approval: this provider manages definitions, not deployment execution or approval identity.

Correction to cdk #23: native workflows already exist in this provider as xyops_workflow. The earlier review looked only at xyops_event. CDK should target the existing workflow resource; secure runtime approval remains separate.

Local gofmt and diff checks passed. Local compilation was blocked by workspace disk capacity; CI is required. No live acceptance run, release, merge or deployment requested. No version bump.

Extends the existing xyops_workflow resource, rather than inventing a deployment-specific resource/action API. - Add workflow params, fields, notes and icon with create/update/read/import handling; omit unmanaged values and stop wiping fields on unrelated updates. - Validate graph shape, IDs, numeric coordinates and connection endpoints before create/update. Keep node data/action/controller vocabulary open, including native loops and future extensions. - Contract tests cover native trigger/event/job/controller/action/limit data, suspend payload preservation, inputs, readback, unmanaged fields and malformed graphs. - Document suspension versus manifest-bound approval: this provider manages definitions, not deployment execution or approval identity. Correction to cdk #23: native workflows already exist in this provider as xyops_workflow. The earlier review looked only at xyops_event. CDK should target the existing workflow resource; secure runtime approval remains separate. Local gofmt and diff checks passed. Local compilation was blocked by workspace disk capacity; CI is required. No live acceptance run, release, merge or deployment requested. No version bump.
feat(workflow): expose generic inputs and preserve native orchestration data
Some checks failed
CI / release-check-1 (pull_request) Successful in 12s
CI / release-check (pull_request) Successful in 0s
Security / scan (pull_request) Successful in 32s
Security / security (pull_request) Successful in 0s
CI / check (pull_request) Failing after 2m14s
913f7310e8
fix(workflow): preserve empty imports and unchanged legacy graphs
All checks were successful
CI / release-check-1 (pull_request) Successful in 12s
CI / release-check (pull_request) Successful in 0s
Security / scan (pull_request) Successful in 31s
Security / security (pull_request) Successful in 0s
CI / check (pull_request) Successful in 3m46s
118d7d2c0b
john merged commit 5379e4ea7c into main 2026-11-18 11:34:20 +00:00
john deleted branch feat/native-workflows 2026-11-18 11:34:20 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
john/tofu-provider-xyops!19
No description provided.