Skip to content

topsql: add label for the table and schema #211

topsql: add label for the table and schema

topsql: add label for the table and schema #211

Triggered via pull request September 3, 2024 11:32
Status Failure
Total duration 1m 56s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
ci: component/topsql/mock/mem_store.go#L82
cannot use &MemStore{} (value of type *MemStore) as store.Store value in variable declaration: *MemStore does not implement store.Store (wrong type for method ResourceMeteringRecord)
ci: component/subscriber/subscriber_test.go#L83
cannot use controller (variable of type *MockSubscribeController) as subscriber.SubscribeController value in argument to routine: *MockSubscribeController does not implement subscriber.SubscribeController (missing method NewHTTPClient)
ci: component/subscriber/subscriber_test.go#L122
cannot use controller (variable of type *MockSubscribeController) as subscriber.SubscribeController value in argument to routine: *MockSubscribeController does not implement subscriber.SubscribeController (missing method NewHTTPClient)
ci: component/subscriber/subscriber_test.go#L167
cannot use controller (variable of type *MockSubscribeController) as subscriber.SubscribeController value in argument to routine: *MockSubscribeController does not implement subscriber.SubscribeController (missing method NewHTTPClient)
ci: component/subscriber/subscriber_test.go#L207
cannot use controller (variable of type *MockSubscribeController) as subscriber.SubscribeController value in argument to routine: *MockSubscribeController does not implement subscriber.SubscribeController (missing method NewHTTPClient)
ci: component/subscriber/subscriber_test.go#L262
cannot use controller (variable of type *MockSubscribeController) as subscriber.SubscribeController value in argument to routine: *MockSubscribeController does not implement subscriber.SubscribeController (missing method NewHTTPClient)
ci: component/subscriber/subscriber_test.go#L306
cannot use controller (variable of type *MockSubscribeController) as subscriber.SubscribeController value in argument to routine: *MockSubscribeController does not implement subscriber.SubscribeController (missing method NewHTTPClient) (typecheck)
ci: component/topsql/topsql_test.go#L626
not enough arguments in call to s.ds.ResourceMeteringRecord
ci: component/topsql/subscriber/scraper_test.go#L12
could not import github.com/pingcap/ng-monitoring/component/topsql/mock (-: # github.com/pingcap/ng-monitoring/component/topsql/mock
ci: component/topsql/mock/mem_store.go#L82
cannot use &MemStore{} (value of type *MemStore) as store.Store value in variable declaration: *MemStore does not implement store.Store (wrong type for method ResourceMeteringRecord)
ci
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/