Skip to content

chore(v2): metastore API refactoring #4497

chore(v2): metastore API refactoring

chore(v2): metastore API refactoring #4497

Triggered via pull request November 15, 2024 05:14
Status Failure
Total duration 8m 2s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

28 errors and 17 warnings
lint: cmd/pyroscope/main.go#L60
cannot use &flags (value of type *mainFlags) as cfg.DynamicCloneable value in argument to cfg.DynamicUnmarshal: *mainFlags does not implement cfg.DynamicCloneable (missing method ApplyDynamicConfig) (typecheck)
lint: pkg/experiment/ingester/segment_test.go#L18
could not import github.com/grafana/pyroscope/pkg/experiment/metastore (-: # github.com/grafana/pyroscope/pkg/experiment/metastore
lint: pkg/experiment/metastore/metastore.go#L196
cannot use m.follower (variable of type *raft_node.Follower) as RaftFollower value in argument to NewMetadataQueryService: *raft_node.Follower does not implement RaftFollower (wrong type for method WaitLeaderCommitIndexAppliedLocally)
lint: pkg/experiment/metastore/metastore.go#L197
cannot use m.follower (variable of type *raft_node.Follower) as RaftFollower value in argument to NewTenantService: *raft_node.Follower does not implement RaftFollower (wrong type for method WaitLeaderCommitIndexAppliedLocally)
lint: pkg/experiment/metastore/metastore.go#L196
cannot use m.follower (variable of type *raft_node.Follower) as RaftFollower value in argument to NewMetadataQueryService: *raft_node.Follower does not implement RaftFollower (wrong type for method WaitLeaderCommitIndexAppliedLocally)
lint: pkg/experiment/metastore/metastore.go#L197
cannot use m.follower (variable of type *raft_node.Follower) as RaftFollower value in argument to NewTenantService: *raft_node.Follower does not implement RaftFollower (wrong type for method WaitLeaderCommitIndexAppliedLocally)
lint: pkg/experiment/metastore/test/create.go#L15
could not import github.com/grafana/pyroscope/pkg/experiment/metastore (-: # github.com/grafana/pyroscope/pkg/experiment/metastore
lint: pkg/experiment/metastore/metastore.go#L196
cannot use m.follower (variable of type *raft_node.Follower) as RaftFollower value in argument to NewMetadataQueryService: *raft_node.Follower does not implement RaftFollower (wrong type for method WaitLeaderCommitIndexAppliedLocally)
lint: pkg/experiment/metastore/metastore.go#L197
cannot use m.follower (variable of type *raft_node.Follower) as RaftFollower value in argument to NewTenantService: *raft_node.Follower does not implement RaftFollower (wrong type for method WaitLeaderCommitIndexAppliedLocally)
lint: pkg/phlare/modules_experimental.go#L17
could not import github.com/grafana/pyroscope/pkg/experiment/metastore (-: # github.com/grafana/pyroscope/pkg/experiment/metastore
format: cmd/pyroscope/main.go#L60
cannot use &flags (value of type *mainFlags) as cfg.DynamicCloneable value in argument to cfg.DynamicUnmarshal: *mainFlags does not implement cfg.DynamicCloneable (missing method ApplyDynamicConfig) (typecheck)
format: pkg/experiment/ingester/segment_test.go#L18
could not import github.com/grafana/pyroscope/pkg/experiment/metastore (-: # github.com/grafana/pyroscope/pkg/experiment/metastore
format: pkg/experiment/metastore/metastore.go#L196
cannot use m.follower (variable of type *raft_node.Follower) as RaftFollower value in argument to NewMetadataQueryService: *raft_node.Follower does not implement RaftFollower (wrong type for method WaitLeaderCommitIndexAppliedLocally)
format: pkg/experiment/metastore/metastore.go#L197
cannot use m.follower (variable of type *raft_node.Follower) as RaftFollower value in argument to NewTenantService: *raft_node.Follower does not implement RaftFollower (wrong type for method WaitLeaderCommitIndexAppliedLocally)
format: pkg/experiment/metastore/metastore.go#L196
cannot use m.follower (variable of type *raft_node.Follower) as RaftFollower value in argument to NewMetadataQueryService: *raft_node.Follower does not implement RaftFollower (wrong type for method WaitLeaderCommitIndexAppliedLocally)
format: pkg/experiment/metastore/metastore.go#L197
cannot use m.follower (variable of type *raft_node.Follower) as RaftFollower value in argument to NewTenantService: *raft_node.Follower does not implement RaftFollower (wrong type for method WaitLeaderCommitIndexAppliedLocally)
format: pkg/experiment/metastore/test/create.go#L15
could not import github.com/grafana/pyroscope/pkg/experiment/metastore (-: # github.com/grafana/pyroscope/pkg/experiment/metastore
format: pkg/experiment/metastore/metastore.go#L196
cannot use m.follower (variable of type *raft_node.Follower) as RaftFollower value in argument to NewMetadataQueryService: *raft_node.Follower does not implement RaftFollower (wrong type for method WaitLeaderCommitIndexAppliedLocally)
format: pkg/experiment/metastore/metastore.go#L197
cannot use m.follower (variable of type *raft_node.Follower) as RaftFollower value in argument to NewTenantService: *raft_node.Follower does not implement RaftFollower (wrong type for method WaitLeaderCommitIndexAppliedLocally)
format: pkg/phlare/modules_experimental.go#L17
could not import github.com/grafana/pyroscope/pkg/experiment/metastore (-: # github.com/grafana/pyroscope/pkg/experiment/metastore
build-image: pkg/experiment/metastore/metastore.go#L196
cannot use m.follower (variable of type *raft_node.Follower) as RaftFollower value in argument to NewMetadataQueryService: *raft_node.Follower does not implement RaftFollower (wrong type for method WaitLeaderCommitIndexAppliedLocally)
build-image: pkg/experiment/metastore/metastore.go#L197
cannot use m.follower (variable of type *raft_node.Follower) as RaftFollower value in argument to NewTenantService: *raft_node.Follower does not implement RaftFollower (wrong type for method WaitLeaderCommitIndexAppliedLocally)
build-image
Process completed with exit code 2.
test: pkg/experiment/metastore/metastore.go#L196
cannot use m.follower (variable of type *raft_node.Follower) as RaftFollower value in argument to NewMetadataQueryService: *raft_node.Follower does not implement RaftFollower (wrong type for method WaitLeaderCommitIndexAppliedLocally)
test: pkg/experiment/metastore/metastore.go#L197
cannot use m.follower (variable of type *raft_node.Follower) as RaftFollower value in argument to NewTenantService: *raft_node.Follower does not implement RaftFollower (wrong type for method WaitLeaderCommitIndexAppliedLocally)
test: pkg/experiment/metastore/metastore.go#L196
cannot use m.follower (variable of type *raft_node.Follower) as RaftFollower value in argument to NewMetadataQueryService: *raft_node.Follower does not implement RaftFollower (wrong type for method WaitLeaderCommitIndexAppliedLocally)
test: pkg/experiment/metastore/metastore.go#L197
cannot use m.follower (variable of type *raft_node.Follower) as RaftFollower value in argument to NewTenantService: *raft_node.Follower does not implement RaftFollower (wrong type for method WaitLeaderCommitIndexAppliedLocally)
test
Process completed with exit code 2.
test-docs
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
format
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-image
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/setup-qemu-action@v1, docker/setup-buildx-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-image
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, docker/setup-qemu-action@v1, docker/setup-buildx-action@v1, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-image
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-image
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-image
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-image
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-image
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-image
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-image
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-image
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-image
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-image
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-image
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/