agent/tests/cli/Taskfile.yaml
Snider 9c6f10902e fix(agent): mcp.Register startup panic + test isolation + CLI test standard
- Replace broken registerMCPService with mcp.Register (fixes nil ServiceRuntime panic)
- Remove dead mcp_service.go, update tests to use mcp.Register directly
- Add setTestWorkspace() helper to clear workspaceRootOverride between tests
- Fix 40+ test files with workspace state poisoning from loadAgentConfig
- Fix forge.lthn.ai → dappco.re in findConsumersList test
- Fix BranchWorkspaceCount test to use isolated temp dir
- Add CLI test standard: 32 tests across 19 subsystems (tests/cli/)
- All 9 packages pass, 0 failures

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-08 16:15:14 +01:00

43 lines
1 KiB
YAML

version: "3"
tasks:
test:
cmds:
# application commands
- task -d version test
- task -d check test
- task -d env test
- task -d status test
# dispatch subsystem
- task -d dispatch test
# forge operations
- task -d scan test
- task -d mirror test
- task -d repo test
- task -d issue test
- task -d pr test
- task -d sync test
# brain subsystem
- task -d brain test
# plan subsystem
- task -d plan test
# workspace subsystem
- task -d workspace test
# state subsystem
- task -d state test
# language detection
- task -d lang test
# session subsystem
- task -d session test
# sprint subsystem
- task -d sprint test
# message subsystem
- task -d message test
# prompt subsystem
- task -d prompt test
# credits subsystem
- task -d credits test
# fleet subsystem
- task -d fleet test
# workspace extraction
- task -d extract test