Skip to content

feat: typed-IaC conformance migration to v1.0.0 (issue #8)#11

Merged
intel352 merged 9 commits into
mainfrom
feat/issue-8-typed-iac-conformance
May 13, 2026
Merged

feat: typed-IaC conformance migration to v1.0.0 (issue #8)#11
intel352 merged 9 commits into
mainfrom
feat/issue-8-typed-iac-conformance

Conversation

@intel352
Copy link
Copy Markdown
Contributor

Summary

  • Adds internal/iacserver.go with awsIaCServer struct satisfying pb.IaCProviderRequiredServer, pb.IaCProviderDriftDetectorServer, and pb.ResourceDriverServer
  • Adds internal/resourcedriver_server.go with per-type CRUD dispatch delegating to *AWSProvider.ResourceDriver
  • Removes legacy sdk.Serve / PluginProvider string-dispatch surface (plugin.go, module.go, plugin_test.go)
  • Bumps workflow dependency v0.19.2 → v0.51.7 and plugin version to v1.0.0
  • Rewrites host_conformance_test.go to validate typed-IaC load path (service-kind contract + live RPC)

Fixes

Closes #8

Test plan

  • go test ./... -race passes
  • WORKFLOW_IAC_HOST_CONFORMANCE=1 go test ./internal/ -run TestWorkflowHostConformance passes
  • go build ./cmd/workflow-plugin-aws exits 0
  • GOOS=linux GOARCH=amd64 go build + GOOS=darwin GOARCH=arm64 go build pass
  • CI passes

Breaking change

Old workflow engine tags (pre-v0.51.0) are permanently incompatible. Consumers must pin workflow-plugin-aws@v1.0.0 and use a workflow engine at v0.51.0+.

🤖 Generated with Claude Code

intel352 and others added 9 commits May 13, 2026 09:21
Mirror DO v1.0.1 force-cutover pattern: sdk.ServeIaCPlugin,
awsIaCServer wrapping AWSProvider, workflow bump to v0.51.7,
version bump to v1.0.0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Specify DetectDriftWithSpecs as thin delegator to DetectDrift
- Add atomicity note: Phase 2+4 deletions must be one commit
- Add go.mod bump verification gate (go mod tidy + go build)
- Add host_conformance_test rewrite spec (service-kind + live RPCs)
- Clarify Unimplemented embed vs. auto-registered services
- Add rollback go.sum note
- Expand assumptions for plugin.contracts.json and API bump

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
7-task single-PR plan: workflow bump, iacserver, resourcedriver_server,
entrypoint cutover, metadata bump, host_conformance rewrite, final verification.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@intel352 intel352 merged commit bfc4ee4 into main May 13, 2026
5 checks passed
@intel352 intel352 deleted the feat/issue-8-typed-iac-conformance branch May 13, 2026 13:53
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.

Migrate AWS plugin to typed-IaC conformance

1 participant