Files
mcpctl/.taskmaster/tasks/task_156.md

24 lines
782 B
Markdown
Raw Permalink Normal View History

# Task ID: 156
**Title:** Smoke tests for CodeRepo and Session
**Status:** pending
**Dependencies:** 133, 144
**Priority:** medium
**Description:** Create smoke tests for repo and session resources with credential resolution
**Details:**
Create src/mcplocal/tests/smoke/repo.smoke.test.ts and session.smoke.test.ts:
1. repo tests: create CodeRepo with credential reference, list, describe, delete
2. session tests: provision session pod, confirm repo cloned via exec, verify workspace mounted, verify pod reaped after expiry
3. Follow smoke test patterns: preflight skip, cleanup in afterAll
4. Session test requires real cluster access
**Test Strategy:**
Run against live mcpd with cluster access. Verify repo credentials resolve, session pod starts and has cloned repos.