Skip to content

feat: add compute container runtime adapters - #1

Merged
intel352 merged 3 commits into
mainfrom
feat/rte1-container-runtime-adapters
May 31, 2026
Merged

intel352 merged 3 commits into
mainfrom
feat/rte1-container-runtime-adapters

Conversation

@intel352

Copy link
Copy Markdown
Contributor

Summary

  • scaffold public workflow-plugin-compute-container plugin repo
  • add reusable sandboxed command and sandboxed container-build runtime adapter APIs
  • publish runtime adapter metadata through plugin.json runtimeAdaptersRef and runtime-adapters.json
  • add conformance coverage for env ref resolution, stripped runtime payloads, artifact hashing, reserved build env rejection, symlink path rejection, digest marker handling, and multi-tag forwarding

TDD / verification

RED examples observed before fixes:

  • GOWORK=off go test ./container -run TestSandbox -count=1 failed with undefined adapter APIs
  • GOWORK=off go test ./container -run TestRuntimeAdapterContracts -count=1 failed with undefined contract builders
  • GOWORK=off go test ./container -run 'Test(ContainerBuildRejectsReservedControlEnvOverride|ContainerBuildPassesAllTagsAsJSON|CommandArtifactHashRejectsSymlinkPathComponents)' -count=1 failed for accepted reserved env, missing WORKFLOW_COMPUTE_BUILD_TAGS, and symlink artifact traversal\n\nGREEN after implementation:\n- GOWORK=off go test ./... -count=1\n- GOWORK=off go vet ./...\n- GOWORK=off go build ./...\n- wfctl plugin validate-contract .\n\n## Notes\nwfctl plugin validate-contract currently recognizes module/step/trigger/service_method/message contract kinds only. Runtime adapter discovery is therefore exposed via runtimeAdaptersRef rather than an unknown plugin.contracts.json kind.\n\nPart of workflow-compute RTE-1 / T520. Host-only task admission, leases, authz, credential resolution, registry allowlists, proof/reward mutation, and worker binding remain outside the plugin.

@intel352
intel352 merged commit c68fa98 into main May 31, 2026
2 checks passed
@intel352
intel352 deleted the feat/rte1-container-runtime-adapters branch May 31, 2026 23:41
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