Skip to main content
Glama

YouTube Transcript DL MCP Server

by jedarden
MIT License
0
2
CI_ERROR_REPORT.md3.9 kB
# CI/CD Error Analysis Report Generated: 2025-07-17T02:48:00Z ## Executive Summary The CI/CD pipeline is currently **BROKEN** with multiple critical issues preventing successful builds and deployments. ### Error Severity Breakdown - **Critical**: 2 errors - **High**: 0 errors - **Medium**: 1 error - **Low**: 3 warnings - **Total Issues**: 6 ## Critical Issues ### 1. ❌ All Tests Disabled in CI **Severity**: CRITICAL **Impact**: No test validation in CI pipeline Tests are completely disabled in both CI workflows with the comment: ``` Tests temporarily disabled - GHCR fix priority ``` **Affected Files**: - `.github/workflows/ci.yml:33` - `.github/workflows/publish.yml:37` ### 2. ❌ Jest ESM Import Failures **Severity**: CRITICAL **Impact**: All tests fail when enabled Jest tests fail due to ESM module import issues: - Cannot resolve `.js` extensions in TypeScript files - Missing `youtube-captions-scraper` module - TypeScript/Jest configuration mismatch with ESM modules **Error Examples**: ``` Cannot find module '../utils/logger.js' from 'src/services/youtube-transcript.service.ts' Cannot find module 'youtube-captions-scraper' or its corresponding type declarations ``` **Affected Test Files**: - `tests/unit/youtube-transcript.service.test.ts` - `tests/integration/end-to-end.test.ts` - `tests/unit/mcp-server.test.ts` ## Medium Priority Issues ### 3. ⚠️ Incorrect MCP SDK Usage **Severity**: MEDIUM **Impact**: Unit tests for MCP server fail TypeScript errors in MCP server tests: - Property 'method' does not exist on request schema type - Missing required 'extra' parameter in handler calls **Affected File**: `tests/unit/mcp-server.test.ts` ## Low Priority Warnings ### 4. ⚠️ Deprecated GitHub Action **Severity**: LOW **Impact**: Future maintenance issues Using deprecated `actions/create-release@v1` which is unmaintained. **Recommendation**: Replace with: - `gh release create` (GitHub CLI) - `softprops/action-gh-release` (community action) **Affected File**: `.github/workflows/publish.yml:85` ### 5. ⚠️ Docker Node Version Mismatch **Severity**: LOW **Impact**: Potential compatibility issues Docker image uses Node 18 while `eventsource-parser@3.0.3` requires Node >=20. **Affected Files**: - `Dockerfile:2` (FROM node:18-alpine) - `Dockerfile:28` (production stage) ### 6. ⚠️ ESLint Warnings **Severity**: LOW **Impact**: Code quality 40 ESLint warnings, primarily: - `@typescript-eslint/no-unused-vars` - Unused parameters in test files - Unused imports ## Recommendations ### Immediate Actions Required: 1. **Fix Jest ESM configuration** to support `.js` extensions in imports 2. **Re-enable tests** in CI workflows after fixing import issues 3. **Update MCP SDK test usage** to match current API 4. **Install missing `youtube-captions-scraper`** dependency if needed ### Short-term Improvements: 1. **Update Dockerfile** to use Node 20 instead of Node 18 2. **Replace deprecated GitHub Action** with modern alternatives 3. **Clean up ESLint warnings** to improve code quality ### Long-term Considerations: 1. Implement proper ESM module support across the project 2. Add pre-commit hooks to catch these issues locally 3. Set up dependency update automation to prevent version mismatches ## Test Command Results ```bash # Current test output when run locally: npm test > FAIL tests/unit/youtube-transcript.service.test.ts > FAIL tests/integration/end-to-end.test.ts > FAIL tests/unit/mcp-server.test.ts > Test Suites: 3 failed, 3 total # ESLint output: npm run lint > ✖ 40 problems (0 errors, 40 warnings) ``` ## Docker Build Status Docker builds complete with warnings but are functional: - Node version warning for eventsource-parser - Deprecated npm packages warnings - Build succeeds despite warnings --- **Report Generated By**: CI Error Analysis Agent **Task ID**: task-1752720140644-nw037i1zb

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jedarden/yt-transcript-dl-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server