Skip to content

feat(client): add the BUILDING_BLOCK_UUID input assignment type - #95

Draft
tfelix wants to merge 1 commit into
mainfrom
feature/building-block-uuid-assignment-type
Draft

tfelix wants to merge 1 commit into
mainfrom
feature/building-block-uuid-assignment-type

Conversation

@tfelix

@tfelix tfelix commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

🤖 Written by AI agent

meshStack gets BUILDING_BLOCK_UUID as the new name of the input source that gives a building block its own UUID. Workspace building blocks use this source too, so the old name TENANT_BUILDING_BLOCK_UUID was misleading.

Both names stay valid, and meshStack returns the one that was sent. The old entry stays in the enum, so existing configurations plan without a diff.

The Terraform provider validates assignment_type against this enum. It needs this entry before a definition can use the new name.

Do not merge before the meshStack change is merged: https://github.com/meshcloud/meshfed-release/pull/11823

🤖 Generated with Claude Code

meshStack gets BUILDING_BLOCK_UUID as the new name of the input source that
gives a building block its own UUID. Workspace building blocks use this
source too, so the old name TENANT_BUILDING_BLOCK_UUID was misleading.

Both names stay valid and meshStack returns the one that was sent. The old
entry therefore stays, so that existing configurations plan without a diff.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@meshcloud-gh-actions

meshcloud-gh-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Coverage of the acceptance run against the meshStack backend, on 903e57b697e8f6b5df4594ca07519874070f657c.

Scope Coverage
Unit tests 78.4%
Acceptance tests 54.7%
Combined 80.9%
Uncovered functions
client/api_key.go:52: meshApiKeyClient.Create 0.0%
client/api_key.go:56: meshApiKeyClient.Read 0.0%
client/api_key.go:60: meshApiKeyClient.Update 0.0%
client/api_key.go:64: meshApiKeyClient.Delete 0.0%
client/api_key_permissions.go:20: ApiKeyPermissions.AllCodes 0.0%
client/api_key_permissions.go:33: ApiKeyPermissions.WorkspaceCodes 0.0%
client/api_key_permissions.go:263: AllApiKeyPermissions 0.0%
client/api_key_permissions.go:267: WorkspacePermissionCodes 0.0%
client/binding_status.go:18: *MeshGroupBindingStatus.WaitsForApproval 0.0%
client/binding_status.go:22: *MeshUserBindingStatus.WaitsForApproval 0.0%
client/building_block_definition.go:71: MeshBuildingBlockDefinitionApprovalPolicies.NothingRequiresApproval 0.0%
client/building_block_definition.go:82: DisabledSchedule 0.0%
client/building_block_definition.go:89: MeshBuildingBlockDefinitionSchedule.IsDisabled 0.0%
client/building_block_definition.go:93: MeshBuildingBlockDefinitionSpec.HasNeutralPolicies 0.0%
client/building_block_definition.go:97: MeshBuildingBlockDefinitionSpec.WithNeutralPolicies 0.0%
client/building_block_definition.go:166: meshBuildingBlockDefinitionClient.List 0.0%
client/building_block_definition.go:173: meshBuildingBlockDefinitionClient.Read 0.0%
client/building_block_definition.go:177: meshBuildingBlockDefinitionClient.Create 0.0%
client/building_block_definition.go:181: meshBuildingBlockDefinitionClient.Update 0.0%
client/building_block_definition.go:185: meshBuildingBlockDefinitionClient.Delete 0.0%
client/building_block_definition_version.go:103: MeshBuildingBlockType.TagInputTargets 0.0%
client/building_block_definition_version.go:247: meshBuildingBlockDefinitionVersionClient.Create 0.0%
client/building_block_definition_version.go:256: meshBuildingBlockDefinitionVersionClient.Update 0.0%
client/building_block_definition_version_implementation.go:81: MeshBuildingBlockDefinitionImplementation.InferType 0.0%
client/building_block_definition_version_implementation.go:95: MeshBuildingBlockDefinitionImplementation.MarshalJSONTo 0.0%
... and 128 more

covdata func names a method without its receiver, so an entry can belong to an implementation nothing selects rather than to a function the tests never reached. Open the file and line before reading one as a coverage gap.

@sonarqubecloud

Copy link
Copy Markdown

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