Add integration tests for the deleteViaDaemon function that handles client-side RPC deletion calls: - TestDeleteViaDaemon_SuccessfulDeletion: Single issue deletion - TestDeleteViaDaemon_CascadeDeletion: Cascade deletion through daemon - TestDeleteViaDaemon_ForceDeletion: Force delete bypassing deps - TestDeleteViaDaemon_DryRunMode: Preview without actual deletion - TestDeleteViaDaemon_InvalidIssueID: Error handling for invalid IDs - TestDeleteViaDaemon_BatchDeletion: Multiple issues at once - TestDeleteViaDaemon_JSONOutput: JSON output validation - TestDeleteViaDaemon_HumanReadableOutput: Human-readable formatting - TestDeleteViaDaemon_DependencyConflict: Dependency conflict handling - TestDeleteViaDaemon_EmptyIDs: Empty ID list handling - TestDeleteViaDaemon_MultipleErrors: Mixed valid/invalid batch - TestDeleteViaDaemon_DirectCall: Direct call with global client - TestDeleteViaDaemon_DirectDryRun: Direct dry-run test - TestDeleteViaDaemon_DirectHumanOutput: Direct human output test - TestDeleteViaDaemon_DirectBatch: Direct batch deletion test Coverage: 59.4% for deleteViaDaemon (remaining 40% is os.Exit paths) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
24 KiB
24 KiB