Skip to content

feat: add extras request provider to the HTTP options #1065

feat: add extras request provider to the HTTP options

feat: add extras request provider to the HTTP options #1065

Triggered via pull request June 4, 2025 22:57
Status Failure
Total duration 5m 2s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 8 warnings
go_tests_linux
Process completed with exit code 1.
go_tests_linux: api_client_test.go#L799
cannot use func(body map[string]any) map[string]any {…} (value of type func(body map[string]any) map[string]any) as *ExtrasRequestProvider value in struct literal
go_tests_linux: api_client.go#L130
invalid operation: cannot call non-function httpOptions.ExtrasRequestProvider (variable of type *ExtrasRequestProvider)
go_tests_linux_latest
Process completed with exit code 1.
go_tests_linux_latest: api_client_test.go#L799
cannot use func(body map[string]any) map[string]any {…} (value of type func(body map[string]any) map[string]any) as *ExtrasRequestProvider value in struct literal
go_tests_linux_latest: api_client.go#L130
invalid operation: cannot call non-function httpOptions.ExtrasRequestProvider (variable of type *ExtrasRequestProvider)
go_tests_mac
Process completed with exit code 1.
go_tests_mac: api_client_test.go#L799
cannot use func(body map[string]any) map[string]any {…} (value of type func(body map[string]any) map[string]any) as *ExtrasRequestProvider value in struct literal
go_tests_mac: api_client.go#L130
invalid operation: cannot call non-function httpOptions.ExtrasRequestProvider (variable of type *ExtrasRequestProvider)
go_tests
Process completed with exit code 1.
go_tests: api_client_test.go#L799
cannot use func(body map[string]any) map[string]any {…} (value of type func(body map[string]any) map[string]any) as *ExtrasRequestProvider value in struct literal
go_tests: api_client.go#L130
invalid operation: cannot call non-function httpOptions.ExtrasRequestProvider (variable of type *ExtrasRequestProvider)
go_tests_latest
Process completed with exit code 1.
go_tests_latest: api_client_test.go#L799
cannot use func(body map[string]any) map[string]any {…} (value of type func(body map[string]any) map[string]any) as *ExtrasRequestProvider value in struct literal
go_tests_latest: api_client.go#L130
invalid operation: cannot call non-function httpOptions.ExtrasRequestProvider (variable of type *ExtrasRequestProvider)
lint
issues found
lint: api_client_test.go#L799
cannot use func(body map[string]any) map[string]any {…} (value of type func(body map[string]any) map[string]any) as *ExtrasRequestProvider value in struct literal) (typecheck)
lint: api_client.go#L130
invalid operation: cannot call non-function httpOptions.ExtrasRequestProvider (variable of type *ExtrasRequestProvider)
lint: example_test.go#L25
could not import google.golang.org/genai (-: # google.golang.org/genai [google.golang.org/genai.test]
lint: api_client_test.go#L799
cannot use func(body map[string]any) map[string]any {…} (value of type func(body map[string]any) map[string]any) as *ExtrasRequestProvider value in struct literal (typecheck)
lint: api_client.go#L130
invalid operation: cannot call non-function httpOptions.ExtrasRequestProvider (variable of type *ExtrasRequestProvider)
go_tests_linux
Restore cache failed: Dependencies file is not found in /home/runner/work/go-genai/go-genai. Supported file pattern: go.sum
go_tests_linux_latest
Restore cache failed: Dependencies file is not found in /home/runner/work/go-genai/go-genai. Supported file pattern: go.sum
go_tests_mac
Restore cache failed: Dependencies file is not found in /home/runner/work/go-genai/go-genai. Supported file pattern: go.sum
go_tests
Restore cache failed: Dependencies file is not found in D:\a\go-genai\go-genai. Supported file pattern: go.sum
go_tests_latest
Restore cache failed: Dependencies file is not found in D:\a\go-genai\go-genai. Supported file pattern: go.sum
lint
Failed to save: reserveCache failed: Request timeout: /oaAvpnrG6cJvhSANjuKtdO9FkLWBvNW8Rr2A9kS0BYB8bpUbCq/_apis/artifactcache/caches
lint
Failed to restore: getCacheEntry failed: Request timeout: /oaAvpnrG6cJvhSANjuKtdO9FkLWBvNW8Rr2A9kS0BYB8bpUbCq/_apis/artifactcache/cache?keys=golangci-lint.cache-2891-13f66c731e35163a7e840f3c5f83c5f287c00d23%2Cgolangci-lint.cache-2891-&version=0f79570b790d0689c186c2d92be94cb909971c6643d398173c3c5a0ecd5cf601
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/go-genai/go-genai. Supported file pattern: go.sum