Skip to content

test: pass the meshStack tag schema to the noop e2e module - #34

Merged
grubmeshi merged 1 commit into
mainfrom
feature/noop-test-context-tag-schema
Oct 13, 2026
Merged

grubmeshi merged 1 commit into
mainfrom
feature/noop-test-context-tag-schema

Conversation

@tfelix

@tfelix tfelix commented Oct 13, 2026

Copy link
Copy Markdown
Collaborator

🤖 Written by AI agent

meshcloud/meshstack-hub#374 made test_context.meshstack required in the noop e2e module, which tags the Payment Method it creates. The bootstrap fixture of TestAccTfstate did not pass it, so tofu init failed. This also made build-acceptance-e2e fail on every meshfed-release PR.

The fixture now passes empty mandatory tags, because the acceptance backend has none.

Validation: ./gradlew :meshstack-cli:acceptanceTest from meshfed-release passes locally against hub main, including TestAccTfstate.

🤖 Generated with Claude Code

meshstack-hub's noop e2e module now requires test_context.meshstack, to tag
the Payment Method it creates. Without it, tofu init fails and
TestAccTfstate breaks.

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

Copy link
Copy Markdown

Coverage of the acceptance run against the meshStack backend, on 3239cf7d217beb5344d16496c5fa79fa69c860df.

Scope Coverage
Unit tests 78.5%
Acceptance tests 54.5%
Combined 80.6%
Uncovered functions
client/api_key.go:55: meshApiKeyClient.Create 0.0%
client/api_key.go:59: meshApiKeyClient.Read 0.0%
client/api_key.go:63: meshApiKeyClient.Update 0.0%
client/api_key.go:71: 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:295: AllApiKeyPermissions 0.0%
client/api_key_permissions.go:299: WorkspacePermissionCodes 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:100: MeshBuildingBlockType.TagInputTargets 0.0%
client/building_block_definition_version.go:245: meshBuildingBlockDefinitionVersionClient.Create 0.0%
client/building_block_definition_version.go:254: meshBuildingBlockDefinitionVersionClient.Update 0.0%
client/building_block_definition_version_implementation.go:80: MeshBuildingBlockDefinitionImplementation.InferType 0.0%
client/building_block_definition_version_implementation.go:94: MeshBuildingBlockDefinitionImplementation.MarshalJSON 0.0%
client/building_block_definition_version_implementation.go:107: *MeshBuildingBlockDefinitionImplementation.UnmarshalJSON 0.0%
client/building_block_runner.go:82: meshBuildingBlockRunnerClient.Create 0.0%
... and 125 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.

@grubmeshi
grubmeshi merged commit 15fc759 into main Oct 13, 2026
10 checks passed
@grubmeshi
grubmeshi deleted the feature/noop-test-context-tag-schema branch October 13, 2026 17:39
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.

2 participants