Oleksandr Redko activity https://gitlab.com/alexandear 2026-03-18T18:30:33Z tag:gitlab.com,2026-03-18:5219016899 Oleksandr Redko pushed to project branch test/simplify-group at GitLab Community / GitLab.org / API / client-go Community Fork 2026-03-18T18:30:33Z alexandear Oleksandr Redko

Oleksandr Redko (8ef75cef) at 18 Mar 18:30

test(no-release): refactor group tests

tag:gitlab.com,2026-03-18:5219004577 Oleksandr Redko pushed to project branch test/simplify-group at GitLab Community / GitLab.org / API / client-go Community Fork 2026-03-18T18:26:15Z alexandear Oleksandr Redko

Oleksandr Redko (f152d5f0) at 18 Mar 18:26

Apply 2 suggestion(s) to 1 file(s)

tag:gitlab.com,2026-03-18:5218989029 Oleksandr Redko opened merge request !2813: test(no-release): refactor group tests at GitLab.org / API / client-go 2026-03-18T18:20:59Z alexandear Oleksandr Redko
  • Use assert/require instead of t.Error/t.Fatal
  • Simplify with testParam and testBodyJSON

Updates #2206

tag:gitlab.com,2026-03-18:5218974062 Oleksandr Redko pushed new project branch test/simplify-group at GitLab Community / GitLab.org / API / client-go Community Fork 2026-03-18T18:16:41Z alexandear Oleksandr Redko

Oleksandr Redko (cf98213f) at 18 Mar 18:16

test(no-release): refactor group tests

tag:gitlab.com,2026-03-08:5179678688 Oleksandr Redko pushed to project branch test/use-reflect-deep-equal at GitLab Community / GitLab.org / API / client-go Community Fork 2026-03-08T18:30:38Z alexandear Oleksandr Redko

Oleksandr Redko (58b8a54c) at 08 Mar 18:30

test(no-release): replace reflect.DeepEqual with testify

tag:gitlab.com,2026-03-08:5179652660 Oleksandr Redko commented on merge request !2809 at GitLab.org / API / client-go 2026-03-08T18:11:36Z alexandear Oleksandr Redko

Fixed

tag:gitlab.com,2026-03-08:5179652475 Oleksandr Redko pushed to project branch test/use-reflect-deep-equal at GitLab Community / GitLab.org / API / client-go Community Fork 2026-03-08T18:11:27Z alexandear Oleksandr Redko

Oleksandr Redko (76c6adc3) at 08 Mar 18:11

test(no-release): replace reflect.DeepEqual with testify

tag:gitlab.com,2026-03-08:5179644659 Oleksandr Redko pushed to project branch test/use-reflect-deep-equal at GitLab Community / GitLab.org / API / client-go Community Fork 2026-03-08T18:04:47Z alexandear Oleksandr Redko

Oleksandr Redko (00bce983) at 08 Mar 18:04

test(no-release): replace reflect.DeepEqual with testify

tag:gitlab.com,2026-03-08:5179640317 Oleksandr Redko opened merge request !2809: test(no-release): replace reflect.DeepEqual with testify at GitLab.org / API / client-go 2026-03-08T18:01:02Z alexandear Oleksandr Redko

Updates #2206

tag:gitlab.com,2026-03-08:5179638444 Oleksandr Redko pushed new project branch test/use-reflect-deep-equal at GitLab Community / GitLab.org / API / client-go Community Fork 2026-03-08T17:59:35Z alexandear Oleksandr Redko

Oleksandr Redko (bfefbfbb) at 08 Mar 17:59

test: replace reflect.DeepEqual with testify

tag:gitlab.com,2026-02-17:5113050549 Oleksandr Redko commented on merge request !2756 at GitLab.org / cli 2026-02-17T15:47:03Z alexandear Oleksandr Redko

Not needed since !2812 (merged)

tag:gitlab.com,2026-02-17:5113050351 Oleksandr Redko closed merge request !2756: fix(mcp): add content to structuredContent at GitLab.org / cli 2026-02-17T15:47:00Z alexandear Oleksandr Redko

Description

Add content inside the structuredContent MCP result, so the Claude correctly identifies tool output.

Fix the error in VS Code Copilot Chat: Failed to validate tool mcp_local_gitlab__glab_api: Error: tool parameters array type must have items. Please open a Github issue for the MCP server or extension which provides this tool.

Resolves #8104

How has this been tested?

Tested in VS Code with GitHub Copilot Chat 0.36.2.

VS Code version
Version: 1.108.2
Commit: c9d77990917f3102ada88be140d28b038d1dd7c7
Date: 2026-01-21T13:52:09.270Z
Electron: 39.2.7
ElectronBuildId: 12953945
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 25.2.0
  1. make build
  2. Add .vscode/mcp.json:
{
    "servers": {
        "Local GitLab MCP": {
            "type": "stdio",
            "command": "/Users/alexandear/src/gitlab.com/gitlab-org/cli/bin/glab",
            "args": [
                "mcp",
                "serve"
            ]
        },
    },
    "inputs": []
}
  1. Start Local GitLab MCP.
  2. Open Copilot Chat and prompt: "Give me the list of the last 5 PRs? Use glab mcp".

Before this PR:

Failed to validate tool mcp_local_gitlab__glab_api: Error: tool parameters array type must have items. Please open a Github issue for the MCP server or extension which provides this tool

image

After:

image

Screenshots (if appropriate):

tag:gitlab.com,2026-02-13:5101224129 Oleksandr Redko commented on merge request !2755 at GitLab.org / API / client-go 2026-02-13T10:59:52Z alexandear Oleksandr Redko

@PatrickRice You're welcome. I'm the one responsible for implementing the revive checks. We're planning to move all package-related checks out of var-naming into a new rule called package-naming. The var-naming rule should only cover variables and functions, as it originally did in golint.

tag:gitlab.com,2026-02-12:5099049318 Oleksandr Redko deleted project branch add-default-resource-group-process-mode-to-project at GitLab Community / GitLab.org / API / client-go Community Fork 2026-02-12T19:55:01Z alexandear Oleksandr Redko

Oleksandr Redko (98b6eb0c) at 12 Feb 19:55

tag:gitlab.com,2026-02-12:5099047545 Oleksandr Redko deleted project branch chore/gofumpt-extra at GitLab Community / GitLab.org / API / client-go Community Fork 2026-02-12T19:54:20Z alexandear Oleksandr Redko

Oleksandr Redko (02240118) at 12 Feb 19:54

tag:gitlab.com,2026-02-12:5099046337 Oleksandr Redko deleted project branch fix/omitempty-struct-tag at GitLab Community / GitLab.org / API / client-go Community Fork 2026-02-12T19:53:50Z alexandear Oleksandr Redko

Oleksandr Redko (962568e7) at 12 Feb 19:53

tag:gitlab.com,2026-02-12:5099045070 Oleksandr Redko deleted project branch chore/fix-revive at GitLab Community / GitLab.org / API / client-go Community Fork 2026-02-12T19:53:19Z alexandear Oleksandr Redko

Oleksandr Redko (ce9b5a45) at 12 Feb 19:53

tag:gitlab.com,2026-02-12:5099042940 Oleksandr Redko commented on merge request !2755 at GitLab.org / API / client-go 2026-02-12T19:52:31Z alexandear Oleksandr Redko

@PatrickRice to fix the pipeline, disable the skip-package-name-collision-with-go-std check:

diff --git a/.golangci.yml b/.golangci.yml
index 2df0746b..fb7a72ae 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -65,6 +65,10 @@ linters:
         - name: unused-parameter
         - name: use-errors-new
         - name: var-naming
+          arguments:
+            - []
+            - []
+            - - skip-package-name-collision-with-go-std: true
     staticcheck:
       checks:
         - ST1020

This check warns on the testing package.

tag:gitlab.com,2026-02-12:5099030649 Oleksandr Redko pushed new project branch chore/fix-revive at GitLab Community / GitLab.org / API / client-go Community Fork 2026-02-12T19:47:56Z alexandear Oleksandr Redko

Oleksandr Redko (ce9b5a45) at 12 Feb 19:47

chore(no-release): disable revive.var-naming lint issue

tag:gitlab.com,2026-02-10:5087975870 Oleksandr Redko pushed to project branch main at Oleksandr Redko / alexandear 2026-02-10T12:22:22Z alexandear Oleksandr Redko

Oleksandr Redko (14b27de1) at 10 Feb 12:22

Rearrange sections