Skip to content

Conversation

Ompragash
Copy link
Contributor

This PR adds a new MCP tool that retrieves failure logs from Harness pipeline executions with Git context.

Features

  • Retrieves failure logs from failing Harness pipeline executions
  • Automatically detects Git context from provided workspace path
  • Supports retrieval by execution ID or direct execution URL
  • Includes pagination support with configurable max pages parameter
  • Provides detailed error information for pipeline debugging

Required Parameters

  • workspace_path: Path to extract Git context from

Optional Parameters

  • execution_id: Specific execution ID to get logs for
  • execution_url: Direct Harness pipeline execution URL
  • max_pages: Maximum number of pages to search through (default: 20)

Testing

  • Tested with various pipeline execution scenarios
  • Verified Git context extraction functionality
  • Confirmed error handling behaviours

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.

2 participants