fix(checkpoint): Prevent silent failure and enable for non-Git projects (#4144)

This commit is contained in:
Abhi
2025-07-14 13:23:51 -04:00
committed by GitHub
parent 2f1d6234de
commit 9dc812dd4b
4 changed files with 38 additions and 19 deletions

View File

@@ -259,11 +259,7 @@ export class Config {
// Initialize centralized FileDiscoveryService
this.getFileService();
if (this.getCheckpointingEnabled()) {
try {
await this.getGitService();
} catch {
// For now swallow the error, later log it.
}
await this.getGitService();
}
this.toolRegistry = await this.createToolRegistry();
}