Skip to content

Add strict Dex Web v2 rendering - #2

Merged
longquanzheng merged 3 commits into
mainfrom
codex/fdg-v2-template
Sep 21, 2026
Merged

longquanzheng merged 3 commits into
mainfrom
codex/fdg-v2-template

Conversation

@longquanzheng

@longquanzheng longquanzheng commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • upgrade the basic-process template to strict Dex Web v2 / FDG 2.0 rendering
  • add indexed title/state attributes, summary/display RPCs, and a native approval Action
  • keep WaitFor condition-only and align the custom React UI with Action eligibility
  • pin and build the Dex Web v2 CLI baseline in CI
  • exclude CI's upstream-dex/ checkout from template gofmt validation

Rationale and user impact

Dex AI Platform applications need one supported Go template whose Flow renders correctly in Web v2. Generated projects now expose Run/Queue metadata and Actions without requiring a custom frontend, while the React example and HTTP contract continue to work.

The formatting check now validates only template-owned Go sources, so the checked-out upstream Dex tree cannot make CI fail for unrelated formatting.

Used by

Validation

  • GOCACHE=/tmp/dex-template-go-cache DEXCLI=/tmp/dexcli-template-ci make check

The full check passed: generated-source verification, FDG 2.0 with valid: true, Go vet, Go/React unit tests, real Dex integration, Worker restart coverage, Playwright E2E, and production builds.

@longquanzheng
longquanzheng marked this pull request as ready for review September 21, 2026 18:41
@longquanzheng
longquanzheng merged commit 8e10cff into main Sep 21, 2026
1 check passed
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