-
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
infrastructurephase:47-mock-infrastructurePhase 47: Mock InfrastructurePhase 47: Mock InfrastructuretestingTest coverageTest coverage
Description
Description
Implement a mock GitHub API layer that intercepts gh CLI calls and octokit requests during test runs. Must cover: issue CRUD, milestone CRUD, label operations, PR creation, and GraphQL board mutations. Responses should be configurable per test scenario via fixture files in test/fixtures/github/.
Acceptance Criteria
- Create lib/mock-github.cjs with GitHub API interceptors for tests
Milestone Context
| Milestone | v6 — Local Testing & Simulation Framework |
| Phase | Phase 47: Mock Infrastructure |
| GSD Route | plan-phase |
| Phase Position | Phase 1 of 4 in milestone |
Milestone Goal
Offline test suite with mock GitHub API and fake GSD agents to validate MGW orchestration logic without requiring live GitHub tokens or active Claude API calls.
Phase Goal
Build the foundational mock layer — GitHub API interceptors and fake GSD agent stubs that respond predictably so test scenarios can run fully offline.
Dependencies
none
Scope Hints
- Estimated route:
plan-phase - Labels: testing,infrastructure
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
infrastructurephase:47-mock-infrastructurePhase 47: Mock InfrastructurePhase 47: Mock InfrastructuretestingTest coverageTest coverage