Skip to content

EPMRPP-106272 || MCP. Tools. Add tool get suites by filter#28

Merged
AleksandrParamonoff merged 1 commit into
mainfrom
add-new-tool-get-suites-by-filters
Aug 1, 2025
Merged

EPMRPP-106272 || MCP. Tools. Add tool get suites by filter#28
AleksandrParamonoff merged 1 commit into
mainfrom
add-new-tool-get-suites-by-filters

Conversation

@AleksandrParamonoff
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new tool to get test suites by filter for a specific launch in the ReportPortal MCP server. This functionality allows users to retrieve and filter test suites based on various criteria including name, attributes, description, parent ID, and start time ranges.

Key changes:

  • Added a new constant for default sorting order for suites
  • Registered the new tool in the server initialization
  • Implemented the toolGetTestSuitesByFilter function with comprehensive filtering options

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
internal/reportportal/utils.go Added default sorting constant for suites
internal/reportportal/server.go Registered the new test suites filter tool
internal/reportportal/items.go Implemented the complete tool with filtering, pagination, and validation

Comment thread internal/reportportal/items.go Outdated
Comment thread internal/reportportal/items.go Outdated
Comment thread internal/reportportal/items.go Outdated
Comment thread internal/reportportal/items.go Outdated
@AleksandrParamonoff AleksandrParamonoff force-pushed the add-new-tool-get-suites-by-filters branch from 4929ddd to 6d51141 Compare August 1, 2025 15:44
@AleksandrParamonoff AleksandrParamonoff force-pushed the add-tools-analytics-feature branch from d964fa9 to 256d60f Compare August 1, 2025 16:24
@AleksandrParamonoff AleksandrParamonoff force-pushed the add-new-tool-get-suites-by-filters branch from 6d51141 to 8d9e052 Compare August 1, 2025 16:26
@AleksandrParamonoff AleksandrParamonoff force-pushed the add-tools-analytics-feature branch from 256d60f to 2637289 Compare August 1, 2025 17:04
@AleksandrParamonoff AleksandrParamonoff force-pushed the add-tools-analytics-feature branch 2 times, most recently from 9391423 to 4285517 Compare August 1, 2025 17:33
Base automatically changed from add-tools-analytics-feature to main August 1, 2025 17:34
@AleksandrParamonoff AleksandrParamonoff force-pushed the add-new-tool-get-suites-by-filters branch from 8d9e052 to 54ce2b6 Compare August 1, 2025 17:35
@AleksandrParamonoff AleksandrParamonoff force-pushed the add-new-tool-get-suites-by-filters branch from 54ce2b6 to 56681e5 Compare August 1, 2025 17:42
@AleksandrParamonoff AleksandrParamonoff merged commit f8c3d07 into main Aug 1, 2025
1 check passed
@AleksandrParamonoff AleksandrParamonoff deleted the add-new-tool-get-suites-by-filters branch August 1, 2025 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants