Fix panic when fetching resources fails due to network error #4810
Annotations
16 errors
|
build (ubuntu-latest)
Process completed with exit code 1.
|
|
build (ubuntu-latest):
pkg/github/repository_resource_test.go#L378
tmpl.URITemplate.Raw undefined (type string has no field or method Raw)
|
|
build (ubuntu-latest):
pkg/github/repository_resource_test.go#L372
tmpl.URITemplate.Raw undefined (type string has no field or method Raw)
|
|
build (ubuntu-latest):
pkg/github/repository_resource_test.go#L367
tmpl.URITemplate.Raw undefined (type string has no field or method Raw)
|
|
build (ubuntu-latest):
pkg/github/repository_resource_test.go#L361
tmpl.URITemplate.Raw undefined (type string has no field or method Raw)
|
|
build (ubuntu-latest):
pkg/github/repository_resource_test.go#L352
cannot use request (variable of struct type mcp.ReadResourceRequest) as *mcp.ReadResourceRequest value in argument to handler
|
|
build (ubuntu-latest):
pkg/github/repository_resource_test.go#L339
cannot use struct{URI string `json:"uri"`; Arguments map[string]any `json:"arguments,omitempty"`}{…} (value of type struct{URI string "json:\"uri\""; Arguments map[string]any "json:\"arguments,omitempty\""}) as *mcp.ReadResourceParams value in struct literal
|
|
build (ubuntu-latest):
pkg/github/repository_resource_test.go#L336
not enough arguments in call to RepositoryResourceContentsHandler
|
|
build (macos-latest)
Process completed with exit code 1.
|
|
build (macos-latest):
pkg/github/repository_resource_test.go#L378
tmpl.URITemplate.Raw undefined (type string has no field or method Raw)
|
|
build (macos-latest):
pkg/github/repository_resource_test.go#L372
tmpl.URITemplate.Raw undefined (type string has no field or method Raw)
|
|
build (macos-latest):
pkg/github/repository_resource_test.go#L367
tmpl.URITemplate.Raw undefined (type string has no field or method Raw)
|
|
build (macos-latest):
pkg/github/repository_resource_test.go#L361
tmpl.URITemplate.Raw undefined (type string has no field or method Raw)
|
|
build (macos-latest):
pkg/github/repository_resource_test.go#L352
cannot use request (variable of struct type mcp.ReadResourceRequest) as *mcp.ReadResourceRequest value in argument to handler
|
|
build (macos-latest):
pkg/github/repository_resource_test.go#L339
cannot use struct{URI string `json:"uri"`; Arguments map[string]any `json:"arguments,omitempty"`}{…} (value of type struct{URI string "json:\"uri\""; Arguments map[string]any "json:\"arguments,omitempty\""}) as *mcp.ReadResourceParams value in struct literal
|
|
build (macos-latest):
pkg/github/repository_resource_test.go#L336
not enough arguments in call to RepositoryResourceContentsHandler
|