fix: Handle Claude CLI unavailability gracefully in CI

- Add try-catch around pty.spawn() to prevent crashes when PTY unavailable
- Add unhandledRejection/uncaughtException handlers for graceful degradation
- Add checkBackendHealth/waitForBackendHealth utilities for tests
- Add data/.api-key and data/credentials.json to .gitignore
This commit is contained in:
DhanushSantosh
2026-01-11 03:22:43 +05:30
parent 89a960629a
commit a92457b871
4 changed files with 101 additions and 17 deletions

5
.gitignore vendored
View File

@@ -91,4 +91,7 @@ yarn.lock
# Fork-specific workflow files (should never be committed)
DEVELOPMENT_WORKFLOW.md
check-sync.sh
check-sync.sh
# API key files
data/.api-key
data/credentials.json