Include transparent background in image generation analytics (#40544)

## What changed

Add the optional `transparent_background` value to image generation event
parameters and populate it from the corresponding image generation item.

## Testing

Add reducer coverage for completed events with true, false, and unset values,
as well as failed events where the value is unset.

GitOrigin-RevId: a9ee13696acb34feb998b345f54889cac7a401d9
This commit is contained in:
alicec-oai authored and copyberry committed 2026-08-25 04:35:51 +00:00
1 parent 2e4675919e
commit 348f49b292
3 files changed
+74

No files matched your search

+1
View File
@@ -895,6 +895,7 @@ pub(crate) struct CodexImageGenerationEventParams {
pub(crate) base: CodexToolItemEventBase,
pub(crate) revised_prompt_present: bool,
pub(crate) saved_path_present: bool,
pub(crate) transparent_background: Option<bool>,
}
#[derive(Serialize)]