google/adk-go

Missing contract test coverage for GetArtifactVersion()

Open

#681 opened on Mar 26, 2026

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Go (699 forks)github user discovery
good first issue

Repository metrics

Stars
 (8,108 stars)
PR merge metrics
 (PR metrics pending)

Description

The new func (s *gcsService) GetArtifactVersion(ctx context.Context, req *artifact.GetArtifactVersionRequest) method does not appear to be covered by the contract tests yet.

https://github.com/google/adk-go/blob/b8eb8c5f07cf43889a02bce2eac2d104a81fb927/artifact/request_validation_test.go#L329

It would be useful for the contract tests to define which ArtifactVersion fields are required across backends, which are optional, and whether backend-specific omissions are allowed.

Contributor guide