Skip to content

desktop/src-tauri/src/telemetry_setup/mod.rs

Comment 1, line 1

desktop/src-tauri/src/telemetry_setup/mod.rs:1

//! User-level telemetry discovery and opt-in configuration. Checking never writes.

Comment 2, line 2

desktop/src-tauri/src/telemetry_setup/mod.rs:2

//! Select Copilot native/exported files by session/day before including usage in statistics.

Comment 3, line 17

desktop/src-tauri/src/telemetry_setup/mod.rs:17

/// Bounded discovery of verified Copilot/Qwen outputs managed by this application.

Comment 4, line 18

desktop/src-tauri/src/telemetry_setup/mod.rs:18

/// Do not read arbitrary settings paths or treat other clients supplemental logs as usage.

Comment 5, line 117

desktop/src-tauri/src/telemetry_setup/mod.rs:117

// Select only routing/policy environment keys; never return their values to the UI.

Comment 6, line 336

desktop/src-tauri/src/telemetry_setup/mod.rs:336

/// Reject links/reparse points and relative paths so writes stay within the displayed target.

Comment 7, line 385

desktop/src-tauri/src/telemetry_setup/mod.rs:385

// Extension/user directories may survive IDE removal. Require the editor launcher

Comment 8, line 386

desktop/src-tauri/src/telemetry_setup/mod.rs:386

// for standalone extensions; bundled package metadata indicates an installed package.

Comment 9, line 400

desktop/src-tauri/src/telemetry_setup/mod.rs:400

// Check the Copilot package bundled with newer VS Code installations.

Comment 10, line 409

desktop/src-tauri/src/telemetry_setup/mod.rs:409

// Windows updater directories can be versioned, such as 07f806f999/resources/app.

Comment 11, line 444

desktop/src-tauri/src/telemetry_setup/mod.rs:444

// Read the sibling application manifest for the independently verified Agent Host version.

Comment 12, line 445

desktop/src-tauri/src/telemetry_setup/mod.rs:445

// Leave other versions under manual configuration until their behavior is verified.

Comment 13, line 541

desktop/src-tauri/src/telemetry_setup/mod.rs:541

// Keep local absolute paths out of Settings Sync.

Comment 14, line 708

desktop/src-tauri/src/telemetry_setup/mod.rs:708

// CodeBuddy exports traces only; keep supplemental traces outside automatically scanned roots.

Comment 15, line 742

desktop/src-tauri/src/telemetry_setup/mod.rs:742

// Require the exact documented release; unknown binaries/newer manifests do not inherit

Comment 16, line 743

desktop/src-tauri/src/telemetry_setup/mod.rs:743

// its verified behavior. Do not execute the CLI merely to assume version compatibility.

Comment 17, line 821

desktop/src-tauri/src/telemetry_setup/mod.rs:821

// Automatically associate only an endpoint managed by this application.

Comment 18, line 872

desktop/src-tauri/src/telemetry_setup/mod.rs:872

// Existing HTTP exporter tables may contain headers, timeouts and other options.

Comment 19, line 873

desktop/src-tauri/src/telemetry_setup/mod.rs:873

// Edit individual values rather than replace the table, including inline TOML tables.

Comment 20, line 987

desktop/src-tauri/src/telemetry_setup/mod.rs:987

// The checked 2.98.0 release supports generic headers. Signal-specific headers

Comment 21, line 988

desktop/src-tauri/src/telemetry_setup/mod.rs:988

// described by rolling references are unverified for that older installation.

Comment 22, line 1023

desktop/src-tauri/src/telemetry_setup/mod.rs:1023

// Preserve existing destinations; offer credential repair only for the exact application endpoint.

Comment 23, line 1037

desktop/src-tauri/src/telemetry_setup/mod.rs:1037

// Preserve user sync entries; explicit inclusions require manual review.

Comment 24, line 1039

desktop/src-tauri/src/telemetry_setup/mod.rs:1039

// APPLICATION scope keeps Settings Sync exclusions in default-user settings,

Comment 25, line 1040

desktop/src-tauri/src/telemetry_setup/mod.rs:1040

// even when Copilot output settings belong to another profile.

Comment 26, line 1098

desktop/src-tauri/src/telemetry_setup/mod.rs:1098

// Validate the proposed merge before enabling apply; reject incompatible nested types.

Comment 27, line 1184

desktop/src-tauri/src/telemetry_setup/mod.rs:1184

// Replacing none requires adding the header to the new exporter table.

Comment 28, line 1370

desktop/src-tauri/src/telemetry_setup/mod.rs:1370

// Exporter tables/headers may contain secrets; never return them through IPC.

Comment 29, line 1472

desktop/src-tauri/src/telemetry_setup/mod.rs:1472

/// Write through a same-directory temporary file; back up existing bytes before replacement.

Comment 30, line 1572

desktop/src-tauri/src/telemetry_setup/mod.rs:1572

// Compare-and-swap rollback must not overwrite concurrently edited default settings.

Comment 31, line 1679

desktop/src-tauri/src/telemetry_setup/mod.rs:1679

// Bind the listener successfully before configuring an Agent to use it.