mirror of
https://github.com/openai/codex.git
synced 2026-09-16 12:13:30 +00:00
## Why Diagnostic attachment reads assume the queued file path still exists and contains plain bytes. Compressed rollouts can therefore be omitted when only the logical `.jsonl` path is available, or attached as compressed data when a `.jsonl.zst` path is supplied. ## What changed - Read rollout attachments through a bounded decoder that resolves plain or compressed representations without materializing a durable JSONL file. - Use canonical `.jsonl` filenames for attachments and app-server report metadata, while preserving filename overrides. - Apply size limits to decoded bytes and preserve JSONL prefix truncation. ## Testing Add regression tests for compressed attachments, representation changes after queuing, plain-sibling preference, filename overrides, decoded size limits, truncation, nonregular files, and unrelated `.zst` attachments. GitOrigin-RevId: b30f7dd08a741b0c99283460a1ce8933d2920ddf
34 lines
839 B
TOML
34 lines
839 B
TOML
[package]
|
|
name = "codex-feedback"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
bytes = { workspace = true }
|
|
codex-http-client = { workspace = true }
|
|
codex-login = { workspace = true }
|
|
codex-protocol = { workspace = true }
|
|
codex-rollout = { workspace = true }
|
|
flate2 = { workspace = true }
|
|
http = { workspace = true }
|
|
httpdate = { workspace = true }
|
|
mime_guess = { workspace = true }
|
|
sentry = { version = "0.46" }
|
|
tokio = { workspace = true, features = ["time"] }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
log = { workspace = true }
|
|
pretty_assertions = { workspace = true }
|
|
tokio = { workspace = true, features = ["macros", "rt"] }
|
|
wiremock = { workspace = true }
|
|
|
|
[lib]
|
|
doctest = false
|