Skip to content

Gitlens should return the error text in the data field for gitlens_commit_composer. #4971

@nikolay-1986

Description

@nikolay-1986

Description

For the gitlens_commit_composer MCP tool, it would be useful to return the processing status from the GitLens side — currently, the data field remains empty.

If a request timeout cannot be predetermined, at least a fixed value should be set to capture and return the error text in cases where it occurs immediately.

For example:
Invalid directory path case.

The agent called gitlens_commit_composer with the provided input:

{
  "directory": "d:\\PROJ\\GKGL\\Testing_gl_rc17.10\\non-git-directory",
  "instructions": "Test Commit Composer with directory that exists but has no .git folder"
}

and received the following output

{
"data":""
}
Image

It would be better to return an error in the response instead of empty data.

Metadata

Metadata

Assignees

Labels

needs-verificationRequest for verificationpending-releaseResolved but not yet released to the stable editiontriageNeeds to be looked at
No fields configured for Enhancement.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions