mirror of
https://github.com/openai/codex.git
synced 2026-12-03 00:41:03 +00:00
## Why Remote plugin install telemetry needs enough detail to distinguish archive verification failures from other bundle errors and associate those failures with a specific release when its ID is available. ## What changed - Include the archive verification outcome in successful app-server install events. Classify verification failures by reason and attach the `plugin_release_id` when available. Use the catalog plugin ID for bundle events when it is available. - Export `codex.plugins.archive_verification` through the configured OpenTelemetry logger during standalone CLI installs. ## Testing App-server tests check successful and failed install analytics. A CLI integration test checks that an archive verification failure exports the expected event fields and leaves the plugin uninstalled. GitOrigin-RevId: ea6cab1d04467d63f43fbd17e3d0a122fad15435
16 lines
506 B
Rust
16 lines
506 B
Rust
mod archive_signing_keys;
|
|
mod archive_verification;
|
|
mod cli_telemetry;
|
|
mod install_telemetry;
|
|
|
|
#[cfg(test)]
|
|
mod test_support;
|
|
|
|
pub use archive_signing_keys::SigningKeyCache;
|
|
pub use archive_verification::ArchiveVerificationFailure;
|
|
pub use archive_verification::PluginArchiveVerification;
|
|
pub use archive_verification::PluginReleaseId;
|
|
pub use archive_verification::RemotePluginArchiveDownload;
|
|
pub use cli_telemetry::with_archive_verification_telemetry;
|
|
pub use install_telemetry::PluginInstallTelemetry;
|