Skip to content

Conversation

@cauemarcondes
Copy link
Contributor

@cauemarcondes cauemarcondes commented Jul 18, 2025

When working in a large monorepo with dozens of packages and plugins like Kibana, changes often span multiple modules—running every test suite can be tedious and slow. This new MCP tool streamlines your workflow by:

  1. Detecting added or modified files via Git
  2. Mapping each file to its owning package or plugin
  3. Executing only the related Jest test suites

By focusing on the tests that matter, you’ll get faster feedback and spend less time waiting on unnecessary builds.

Screenshot 2025-07-21 at 12 28 47

@cauemarcondes cauemarcondes marked this pull request as ready for review July 21, 2025 16:52
@cauemarcondes cauemarcondes requested a review from a team as a code owner July 21, 2025 16:52
@cauemarcondes cauemarcondes changed the title [MCP-server] run unit tests on modified files [MCP-server] Run unit tests on modified files Jul 21, 2025
@cauemarcondes cauemarcondes added release_note:skip Skip the PR/issue when compiling release notes v9.2.0 backport:skip This PR does not require backporting labels Jul 21, 2025
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

Copy link
Member

@qn895 qn895 left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

@cauemarcondes cauemarcondes merged commit fdabc79 into elastic:main Jul 30, 2025
12 checks passed
@cauemarcondes cauemarcondes deleted the mcp-server-run-tests branch July 30, 2025 19:07
delanni pushed a commit to delanni/kibana that referenced this pull request Aug 5, 2025
When working in a large monorepo with dozens of packages and plugins
like Kibana, changes often span multiple modules—running every test
suite can be tedious and slow. This new MCP tool streamlines your
workflow by:

1. **Detecting** added or modified files via Git  
2. **Mapping** each file to its owning package or plugin  
3. **Executing** only the related Jest test suites  

By focusing on the tests that matter, you’ll get faster feedback and
spend less time waiting on unnecessary builds.

<img width="616" height="789" alt="Screenshot 2025-07-21 at 12 28 47"
src="https://github.com/user-attachments/assets/99726a95-c2d7-4a4a-8e23-c41a6ec37f32"
/>
@wildemat wildemat mentioned this pull request Aug 7, 2025
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants