Skip to content

Document add_sub_issue tool functionality #235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 16 commits into from

Conversation

aryasoni98
Copy link
Contributor

Closes: #196

aryasoni98 and others added 3 commits April 11, 2025 23:02

Verified

This commit was signed with the committer’s verified signature.
aryasoni98 Arya Soni

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was signed with the committer’s verified signature.
aryasoni98 Arya Soni
aryasoni98 and others added 3 commits April 13, 2025 01:11

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was signed with the committer’s verified signature.
aryasoni98 Arya Soni
…ssues-196
@aryasoni98
Copy link
Contributor Author

@juruen @SamMorrowDrums @williammartin @toby Please review my PR .

@SamMorrowDrums
Copy link
Collaborator

Thank you for your work. We have an upcoming PR that will require some changes to how tools are added to the server due to merge soon, and it will help to resolve issues with too many tools, so we appreciate your patience. We will resume merging new tools a bit faster after that, where they are a good fit.

Sub-issues is definitely a powerful thing to add and that's not lost on us.

I presume you can use your fork if you need this feature in the meantime.

@SamMorrowDrums SamMorrowDrums linked an issue Apr 14, 2025 that may be closed by this pull request

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@williammartin
Copy link
Collaborator

@aryasoni98 are you interested in continuing with this PR in light of Sam's comment here: #235 (comment) ?

@aryasoni98 aryasoni98 requested a review from a team as a code owner May 12, 2025 09:46
@aryasoni98
Copy link
Contributor Author

@aryasoni98 are you interested in continuing with this PR in light of Sam's comment here: #235 (comment) ?

@williammartin Yes, interested on this PR

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Copy link
Collaborator

@williammartin williammartin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aryasoni98, I appreciate your desire to contribute to this server and would very much like to help you continue. However, I would ask that you take more steps to ensure the quality of contributions before requesting maintainer time. In this specific instance, this code cannot run the tests and does not compile.

➜  github-mcp-server git:(issues-196) go test ./...
# github.com/github/github-mcp-server/cmd/github-mcp-server
pkg/github/issues.go:14:2: no required module provides package github.com/mark3labs/mcp-go/mock; to add it:
        go get github.com/mark3labs/mcp-go/mock
FAIL    github.com/github/github-mcp-server/cmd/github-mcp-server [setup failed]
# github.com/github/github-mcp-server/internal/ghmcp
pkg/github/issues.go:14:2: no required module provides package github.com/mark3labs/mcp-go/mock; to add it:
        go get github.com/mark3labs/mcp-go/mock
FAIL    github.com/github/github-mcp-server/internal/ghmcp [setup failed]
# github.com/github/github-mcp-server/pkg/github
pkg/github/issues.go:14:2: no required module provides package github.com/mark3labs/mcp-go/mock; to add it:
        go get github.com/mark3labs/mcp-go/mock
FAIL    github.com/github/github-mcp-server/pkg/github [setup failed]
?       github.com/github/github-mcp-server/cmd/mcpcurl [no test files]
ok      github.com/github/github-mcp-server/pkg/log     (cached)
ok      github.com/github/github-mcp-server/pkg/toolsets        (cached)
?       github.com/github/github-mcp-server/pkg/translations    [no test files]
FAIL
➜  github-mcp-server git:(issues-196) docker build -t github/github-mcp-server .
[+] Building 1.0s (10/12)                                                                                                                                                                                                                                                                                                                                                                                     docker:desktop-linux
 => [internal] load build definition from Dockerfile                                                                                                                                                                                                                                                                                                                                                                          0.0s
 => => transferring dockerfile: 953B                                                                                                                                                                                                                                                                                                                                                                                          0.0s
 => [internal] load metadata for gcr.io/distroless/base-debian12:latest                                                                                                                                                                                                                                                                                                                                                       0.0s
 => [internal] load metadata for docker.io/library/golang:1.24.2-alpine                                                                                                                                                                                                                                                                                                                                                       0.5s
 => [internal] load .dockerignore                                                                                                                                                                                                                                                                                                                                                                                             0.0s
 => => transferring context: 185B                                                                                                                                                                                                                                                                                                                                                                                             0.0s
 => [build 1/4] FROM docker.io/library/golang:1.24.2-alpine@sha256:7772cb5322baa875edd74705556d08f0eeca7b9c4b5367754ce3f2f00041ccee                                                                                                                                                                                                                                                                                           0.0s
 => [stage-1 1/3] FROM gcr.io/distroless/base-debian12:latest                                                                                                                                                                                                                                                                                                                                                                 0.0s
 => [internal] load build context                                                                                                                                                                                                                                                                                                                                                                                             0.2s
 => => transferring context: 251.73kB                                                                                                                                                                                                                                                                                                                                                                                         0.2s
 => CACHED [build 2/4] WORKDIR /build                                                                                                                                                                                                                                                                                                                                                                                         0.0s
 => CACHED [build 3/4] RUN --mount=type=cache,target=/var/cache/apk     apk add git                                                                                                                                                                                                                                                                                                                                           0.0s
 => ERROR [build 4/4] RUN --mount=type=cache,target=/go/pkg/mod     --mount=type=cache,target=/root/.cache/go-build     --mount=type=bind,target=.     CGO_ENABLED=0 go build -ldflags="-s -w -X main.version=dev -X main.commit=$(git rev-parse HEAD) -X main.date=$(date -u +%Y-%m-%dT%H:%M:%SZ)"     -o /bin/github-mcp-server cmd/github-mcp-server/main.go                                                               0.3s
------
 > [build 4/4] RUN --mount=type=cache,target=/go/pkg/mod     --mount=type=cache,target=/root/.cache/go-build     --mount=type=bind,target=.     CGO_ENABLED=0 go build -ldflags="-s -w -X main.version=dev -X main.commit=$(git rev-parse HEAD) -X main.date=$(date -u +%Y-%m-%dT%H:%M:%SZ)"     -o /bin/github-mcp-server cmd/github-mcp-server/main.go:
0.245 pkg/github/issues.go:14:2: no required module provides package github.com/mark3labs/mcp-go/mock; to add it:
0.245   go get github.com/mark3labs/mcp-go/mock
------
Dockerfile:13
--------------------
  12 |     # go build automatically download required module dependencies to /go/pkg/mod
  13 | >>> RUN --mount=type=cache,target=/go/pkg/mod \
  14 | >>>     --mount=type=cache,target=/root/.cache/go-build \
  15 | >>>     --mount=type=bind,target=. \
  16 | >>>     CGO_ENABLED=0 go build -ldflags="-s -w -X main.version=${VERSION} -X main.commit=$(git rev-parse HEAD) -X main.date=$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
  17 | >>>     -o /bin/github-mcp-server cmd/github-mcp-server/main.go
  18 |
--------------------
ERROR: failed to solve: process "/bin/sh -c CGO_ENABLED=0 go build -ldflags=\"-s -w -X main.version=${VERSION} -X main.commit=$(git rev-parse HEAD) -X main.date=$(date -u +%Y-%m-%dT%H:%M:%SZ)\"     -o /bin/github-mcp-server cmd/github-mcp-server/main.go" did not complete successfully: exit code: 1

View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/sk8cma5sug8cub86pmjqg2lud

aryasoni98 and others added 2 commits May 16, 2025 22:59

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was signed with the committer’s verified signature.
aryasoni98 Arya Soni
aryasoni98 and others added 4 commits May 16, 2025 23:27

Verified

This commit was signed with the committer’s verified signature.
aryasoni98 Arya Soni

Verified

This commit was signed with the committer’s verified signature.
aryasoni98 Arya Soni

Verified

This commit was signed with the committer’s verified signature.
aryasoni98 Arya Soni
…rver signature, and correct translations import

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@williammartin
Copy link
Collaborator

@aryasoni98, I've asked you in #235 (review) to

take more steps to ensure the quality of contributions before requesting maintainer time.

And provided a specific example of where the quality was not up to standard. You've requested another review, and when I check it out I see that it again does not compile:

➜  github-mcp-server git:(issues-196) git show | cat
commit ff05068bfe145488039a786d23ef44a04fceaa21
Merge: e1d9c0c 2f8c287
Author: Arya Soni <18515597+aryasoni98@users.noreply.github.com>
Date:   Tue May 20 01:40:55 2025 +0530

    Merge branch 'main' into issues-196

➜  github-mcp-server git:(issues-196) go test ./...
# github.com/github/github-mcp-server/pkg/github
pkg/github/server.go:67:13: undefined: CreatePullRequestReview
pkg/github/server.go:67:13: not enough arguments in call to s.AddTool
        have (unknown type)
        want (mcp.Tool, server.ToolHandlerFunc)
pkg/github/server.go:70:13: undefined: AddPullRequestReviewComment
pkg/github/server.go:70:13: not enough arguments in call to s.AddTool
        have (unknown type)
        want (mcp.Tool, server.ToolHandlerFunc)
FAIL    github.com/github/github-mcp-server/cmd/github-mcp-server [build failed]
?       github.com/github/github-mcp-server/cmd/mcpcurl [no test files]
FAIL    github.com/github/github-mcp-server/internal/ghmcp [build failed]
ok      github.com/github/github-mcp-server/internal/githubv4mock       (cached)
FAIL    github.com/github/github-mcp-server/pkg/github [build failed]
ok      github.com/github/github-mcp-server/pkg/log     (cached)
ok      github.com/github/github-mcp-server/pkg/toolsets        (cached)
?       github.com/github/github-mcp-server/pkg/translations    [no test files]
FAIL

Over on #351 I see that you have requested a review without addressing the failing tests. In fact, the commit message for 624b381 indicates that the tests pass which makes me wonder if this is pure AI contribution with no human review.

Again, I appreciate your desire to contribute but this is not acceptable so I'm closing both of these PRs. If you would like feedback on a PR in future you may:

  • Open it as draft
  • Leave a comment explaining what you need feedback on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sub-issue endpoint Add tool add_sub_issue
3 participants