Remove Sentry telemetry system from CodeGraph
Eliminates anonymous error reporting functionality that was collecting stack traces and error context via Sentry. Removes all telemetry-related code, configuration options, and documentation references.
This commit is contained in:
+2
-14
@@ -55,21 +55,9 @@ export async function runInstaller(): Promise<void> {
|
||||
const autoAllow = await promptAutoAllow();
|
||||
console.log();
|
||||
|
||||
// Step 4: Ask about anonymous error reporting
|
||||
console.log(chalk.bold(' Send anonymous error reports?') + chalk.dim(' (Helps fix bugs — no source code collected)'));
|
||||
console.log();
|
||||
const enableTelemetry = await promptConfirm('Enable anonymous error reporting', true);
|
||||
|
||||
if (!enableTelemetry) {
|
||||
info('Telemetry disabled');
|
||||
} else {
|
||||
success('Anonymous error reporting enabled');
|
||||
}
|
||||
console.log();
|
||||
|
||||
// Step 5: Write MCP configuration (includes telemetry env if opted out)
|
||||
// Step 4: Write MCP configuration
|
||||
const alreadyHasMcp = hasMcpConfig(location);
|
||||
writeMcpConfig(location, { telemetry: enableTelemetry });
|
||||
writeMcpConfig(location);
|
||||
|
||||
if (alreadyHasMcp) {
|
||||
success(`Updated MCP server in ${location === 'global' ? '~/.claude.json' : './.claude.json'}`);
|
||||
|
||||
Reference in New Issue
Block a user