Skip to content

[codex] complete generated adapter IR milestone#372

Draft
cssbruno wants to merge 4 commits into
mainfrom
codex/m8-generated-adapter-ir
Draft

[codex] complete generated adapter IR milestone#372
cssbruno wants to merge 4 commits into
mainfrom
codex/m8-generated-adapter-ir

Conversation

@cssbruno

@cssbruno cssbruno commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Summary

Completes roadmap milestone 8 by making backend adapter generation use typed appgen IR as the shared source of truth for backend route metadata and backend handler emission across one-binary, split frontend proxy, and backend-only generated apps.

Changes

  • Adds milestone 8 spec and implementation plan artifacts under docs/engineering/.
  • Extends BackendAdapterIR with endpoint registration metadata, action/API/fragment adapter operation records, guard metadata, backend import metadata, dynamic route flags, decoders, handler calls, responses, and fallback metadata.
  • Routes backend imports, route presence, CSRF/rate-limit/guard checks, split proxy matching, backend-only route registration, custom endpoint error pages, and action/API/fragment handler emitters through adapter IR.
  • Adds appgen coverage for adapter metadata and split frontend proxy route matching.
  • Updates roadmap and architecture docs to mark generated adapter IR implemented.

Verification

  • go test ./internal/appgen
  • go test ./internal/compiler ./internal/buildgen ./internal/appgen
  • go build ./cmd/gowdk
  • go run ./cmd/gowdk build --out /tmp/gowdk-m8-build --app /tmp/gowdk-m8-app examples/pages/*.gwdk
  • go test ./...
  • scripts/test-go-modules.sh

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