Skip to content

feat: select runtime profile by placement#15

Merged
intel352 merged 1 commit into
mainfrom
refactor/runtime-contract-placement-lookup
May 25, 2026
Merged

feat: select runtime profile by placement#15
intel352 merged 1 commit into
mainfrom
refactor/runtime-contract-placement-lookup

Conversation

@intel352
Copy link
Copy Markdown
Contributor

Summary

  • add ProviderRuntimeContract.RuntimeProfileForRequirements for shared placement tuple matching
  • route SupportsProduct through the shared runtime-profile lookup
  • cover matching and unsupported executor behavior in protocol tests

Verification

  • RED: with the production method absent, GOWORK=off go test ./protocol -run TestProviderRuntimeContractSelectsProfileForPlacementRequirements -count=1 failed because RuntimeProfileForRequirements was undefined
  • GREEN: GOWORK=off go test ./protocol -run TestProviderRuntimeContractSelectsProfileForPlacementRequirements -count=1
  • GOWORK=off go test ./... -count=1
  • git diff --check

@intel352 intel352 merged commit f867804 into main May 25, 2026
4 checks passed
@intel352 intel352 deleted the refactor/runtime-contract-placement-lookup branch May 25, 2026 05: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.

1 participant