Files
codex/codex-rs/analytics/Cargo.toml
T
Alex Ionescu 7670578418 Report remote plugin archive verification in install telemetry (#65330)
## 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
2026-12-02 20:34:56 +00:00

44 lines
1.2 KiB
TOML

[package]
edition.workspace = true
license.workspace = true
name = "codex-analytics"
version.workspace = true
[lib]
doctest = false
name = "codex_analytics"
path = "src/lib.rs"
[lints]
workspace = true
[dependencies]
codex-features = { workspace = true }
codex-app-server-protocol = { workspace = true }
codex-git-utils = { workspace = true }
codex-http-client = { workspace = true }
codex-runtime-agent-instance = { workspace = true }
codex-login = { workspace = true }
codex-model-provider = { workspace = true }
codex-plugin = { workspace = true }
codex-plugin-archive-verification = { workspace = true }
codex-protocol = { workspace = true }
codex-state = { workspace = true }
codex-utils-path-uri = { workspace = true }
http = { workspace = true }
os_info = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
sha1 = { workspace = true }
tokio = { workspace = true, features = [
"macros",
"rt-multi-thread",
] }
tracing = { workspace = true, features = ["log"] }
[dev-dependencies]
codex-model-provider-info = { workspace = true }
wiremock = { workspace = true }
codex-utils-absolute-path = { workspace = true }
pretty_assertions = { workspace = true }