@@ -200,7 +200,7 @@ jobs:
200200
201201 send-failure-notification :
202202 runs-on : ubuntu-latest
203- needs : [test-fastmcp-compatibility, test-without-fastmcp]
203+ needs : [discover-mcp-versions, discover-fastmcp-versions, test-fastmcp-compatibility, test-without-fastmcp]
204204 if : failure()
205205
206206 steps :
@@ -214,6 +214,7 @@ jobs:
214214 import resend
215215 import os
216216 import sys
217+ import json
217218
218219 # Get sensitive data from environment
219220 api_key = os.environ.get('RESEND_API_KEY')
@@ -244,6 +245,22 @@ jobs:
244245 else:
245246 trigger_info = '<li>Triggered by: ${{ github.event_name }}</li>'
246247
248+ # Get the versions that were being tested
249+ mcp_versions = '${{ needs.discover-mcp-versions.outputs.mcp-versions }}'
250+ fastmcp_versions = '${{ needs.discover-fastmcp-versions.outputs.fastmcp-versions }}'
251+
252+ # Parse JSON arrays safely
253+ try:
254+ mcp_list = json.loads(mcp_versions) if mcp_versions else []
255+ fastmcp_list = json.loads(fastmcp_versions) if fastmcp_versions else []
256+ except:
257+ mcp_list = []
258+ fastmcp_list = []
259+
260+ # Format version lists
261+ mcp_versions_html = '<br>'.join([f' • MCP {v}' for v in mcp_list]) if mcp_list else 'No versions tested'
262+ fastmcp_versions_html = '<br>'.join([f' • FastMCP {v}' for v in fastmcp_list]) if fastmcp_list else 'No versions tested'
263+
247264 email_html = f'''
248265 <h2>🚨 MCPCat Compatibility Tests Failed</h2>
249266
@@ -259,16 +276,21 @@ jobs:
259276
260277 <p><a href=\"{workflow_url}\">View full workflow run details</a></p>
261278
279+ <h3>Versions Tested:</h3>
280+ <p><strong>MCP Versions (without FastMCP):</strong><br>
281+ {mcp_versions_html}</p>
282+
283+ <p><strong>FastMCP Versions (with MCP dependencies):</strong><br>
284+ {fastmcp_versions_html}</p>
285+
262286 <h3>Impact:</h3>
263- <p>This failure indicates that the current codebase has compatibility issues with:</p>
264- <ul>
265- <li>Stable MCP versions (without FastMCP)</li>
266- <li>Community FastMCP versions (>=2.7.0)</li>
267- </ul>
287+ <p>This failure indicates compatibility issues with one or more of the tested versions.</p>
288+ <p>Check the workflow run for specific failing combinations.</p>
268289
269290 <h3>Action Required:</h3>
270291 <ul>
271- <li>Review the test failures immediately</li>
292+ <li>Review the specific test failures in the workflow</li>
293+ <li>Identify which version combinations are failing</li>
272294 <li>Check for breaking changes in dependencies</li>
273295 <li>Fix compatibility issues before merging</li>
274296 </ul>
0 commit comments