Skip to content

Add trigger-run Dataset Deal alternative - #174

Open
longquanzheng wants to merge 1 commit into
codex/dataset-deal-dslfrom
codex/dataset-deal-dsl-alt
Open

Add trigger-run Dataset Deal alternative#174
longquanzheng wants to merge 1 commit into
codex/dataset-deal-dslfrom
codex/dataset-deal-dsl-alt

Conversation

@longquanzheng

Copy link
Copy Markdown
Contributor

Summary

  • model each Dataset Deal start or condition submission as a short Dex trigger Run under one execution FlowID
  • persist immutable process snapshots and all execution state in PostgreSQL with optimistic version checks and indexed filters
  • commit one action per step using RunID plus StepExecutionID for idempotency, and return 409 for conflicting triggers
  • update the REST API, seller/buyer UI, demo scripts, and documentation for PROCESSING, WAITING, and COMPLETED execution state

Tests

  • make -C examples/go unitTests
  • make -C examples/go e2eTests
  • make -C examples/go datasetDealDemo (isolated ports)
  • make copyright-check

@longquanzheng
longquanzheng force-pushed the codex/dataset-deal-dsl-alt branch from 36ec3d9 to c8d92a1 Compare August 6, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant