Skip to content

PMM-12913 Migrate api endpoints to REST #6741

PMM-12913 Migrate api endpoints to REST

PMM-12913 Migrate api endpoints to REST #6741

Triggered via pull request March 19, 2024 12:53
Status Failure
Total duration 5m 22s
Artifacts

main.yml

on: pull_request
Merge Gatekeeper
17s
Merge Gatekeeper
Slack Notification success
1s
Slack Notification success
Slack Notification failure
0s
Slack Notification failure
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Checks: api-tests/server/updates_test.go#L101
unknown field Body in struct literal of type server_service.CheckUpdatesParams
Checks: api-tests/server/updates_test.go#L101
undefined: server.CheckUpdatesBody (typecheck)
Checks: agent/config/config_test.go#L156
string `--config-file=` has 6 occurrences, make it a constant (goconst)
Checks: managed/models/agent_helpers.go#L611
string `cannot use push_metrics_enabled with pmm_agent version=%q,` has 3 occurrences, make it a constant (goconst)
Checks: managed/models/agent_model.go#L444
string `.TextFiles.` has 5 occurrences, make it a constant (goconst)
Checks: managed/models/agent_helpers.go#L612
string ` it doesn't support it, minimum supported version=%q` has 3 occurrences, make it a constant (goconst)
Checks: managed/services/supervisord/supervisord.go#L537
string `.ini` has 3 occurrences, make it a constant (goconst)
Checks: managed/models/database_test.go#L284
string `INSERT INTO agents (agent_id, agent_type, runs_on_node_id, pmm_agent_id, node_id, service_id, disabled, status, created_at, updated_at, tls, tls_skip_verify, max_query_length, query_examples_disabled, comments_parsing_disabled, max_query_log_size, table_count_tablestats_group_limit, rds_basic_metrics_disabled, rds_enhanced_metrics_disabled, push_metrics, expose_exporter) ` has 4 occurrences, make it a constant (goconst)
Checks: managed/models/database_test.go#L225
string `INSERT INTO agents (agent_id, agent_type, runs_on_node_id, pmm_agent_id, node_id, disabled, status, created_at, updated_at, tls, tls_skip_verify, max_query_length, query_examples_disabled, comments_parsing_disabled, max_query_log_size, table_count_tablestats_group_limit, rds_basic_metrics_disabled, rds_enhanced_metrics_disabled, push_metrics, expose_exporter) ` has 5 occurrences, make it a constant (goconst)
Checks: managed/models/database_test.go#L156
string `INSERT INTO services (service_id, service_type, service_name, node_id, environment, cluster, replication_set, address, port, socket, external_group, created_at, updated_at) ` has 5 occurrences, make it a constant (goconst)
Slack Notification success
Bad request - lovetoknow/[email protected] is not allowed to be used in percona/pmm. Actions in this workflow must be: within a repository owned by percona, created by GitHub, or matching the following: softprops/action-gh-release@v1, codecov/codecov-action@v3, reviewdog/action-golangci-lint@v2, rtCamp/action-slack-notify@v2, readmeio/rdme@*, upsidr/merge-gatekeeper@*, anchore/sbom-action@v0, anchore/sbom-action/publish-sbom@v0, docker/build-push-action@*, docker/login-action@*, peter-evans/dockerhub-description@v3, docker/setup-buildx-action@*, dependabot/fetch-metadata@v1.