Skip to content

Fix & extend McpServerTest#1229

Merged
kpavlov merged 1 commit intodevelopfrom
zarechneva/mcp-test
Dec 5, 2025
Merged

Fix & extend McpServerTest#1229
kpavlov merged 1 commit intodevelopfrom
zarechneva/mcp-test

Conversation

@aozherelyeva
Copy link
Copy Markdown
Contributor

Motivation and Context

  • Fix SSE transport URL construction in McpServerTest by removing /sse suffix
  • Add Gemini model to catch a bug KG-588 singleRunStrategy outputs empty response when using an MCP server
  • "YOU MUST USE TOOLS" is a part for a Gemini model – it's pretty small and quite often ignores tool calls otherwise

Breaking Changes


Type of the changes

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Tests improvement
  • Refactoring

Checklist

  • The pull request has a description of the proposed change
  • I read the Contributing Guidelines before opening the pull request
  • The pull request uses develop as the base branch
  • Tests for the changes have been added
  • All new and existing tests passed
Additional steps for pull requests adding a new feature
  • An issue describing the proposed change exists
  • The pull request includes a link to the issue
  • The change was discussed and approved in the issue
  • Docs have been added / updated

…se` suffix + add Gemini model to catch a bug
@aozherelyeva aozherelyeva added the tests Add new tests or modify existing label Dec 5, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 5, 2025

Qodana for JVM

1170 new problems were found

Inspection name Severity Problems
Check Kotlin and Java source code coverage 🔶 Warning 1159
Missing KDoc for public API declaration 🔶 Warning 11
@@ Code coverage @@
+ 72% total lines covered
16823 lines analyzed, 12194 lines covered
# Calculated according to the filters of your coverage tool

☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@kpavlov kpavlov merged commit 86c7e11 into develop Dec 5, 2025
11 checks passed
@kpavlov kpavlov deleted the zarechneva/mcp-test branch December 5, 2025 17:52
vova-jb pushed a commit that referenced this pull request Jan 27, 2026
<!--
Thank you for opening a pull request!

Please add a brief description of the proposed change here.
Also, please tick the appropriate points in the checklist below.
-->

## Motivation and Context
<!-- Why is this change needed? What problem does it solve? -->
- Fix SSE transport URL construction in `McpServerTest` by removing
`/sse` suffix
- Add Gemini model to catch a bug
[KG-588](https://youtrack.jetbrains.com/issue/KG-588) singleRunStrategy
outputs empty response when using an MCP server
- "YOU MUST USE TOOLS" is a part for a Gemini model – it's pretty small
and quite often ignores tool calls otherwise

## Breaking Changes
<!-- Will users need to update their code or configurations? -->

---

#### Type of the changes
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [x] Tests improvement
- [ ] Refactoring

#### Checklist
- [x] The pull request has a description of the proposed change
- [x] I read the [Contributing
Guidelines](https://github.com/JetBrains/koog/blob/main/CONTRIBUTING.md)
before opening the pull request
- [x] The pull request uses **`develop`** as the base branch
- [x] Tests for the changes have been added
- [x] All new and existing tests passed

##### Additional steps for pull requests adding a new feature
- [ ] An issue describing the proposed change exists
- [ ] The pull request includes a link to the issue
- [ ] The change was discussed and approved in the issue
- [ ] Docs have been added / updated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Add new tests or modify existing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants