Skip to content

Fix live browser witness screenshot byte metadata#111

Merged
shiny-code-bot merged 1 commit into
mainfrom
fix-live-browser-witness-bytes
Jun 16, 2026
Merged

Fix live browser witness screenshot byte metadata#111
shiny-code-bot merged 1 commit into
mainfrom
fix-live-browser-witness-bytes

Conversation

@shiny-code-bot

Copy link
Copy Markdown
Collaborator

Summary

  • report decoded PNG byte length in the live browser witness screenshot event
  • assert the screenshot event bytes value matches the decoded screenshot response payload

This addresses the auto-review finding that the live-browser witness was reporting base64 string length instead of decoded screenshot bytes.

Validation

  • cargo fmt --manifest-path codex-rs/Cargo.toml --package codex-code-bridge-client -- --check
  • npx prettier --check codex-rs/code-bridge-client/tests/fixtures/live_browser_witness.html
  • cargo test --manifest-path codex-rs/Cargo.toml -p codex-code-bridge-client --no-fail-fast
  • cargo test --manifest-path codex-rs/Cargo.toml -p codex-code-bridge-client --test live_browser_witness -- --ignored --nocapture with the printed local URL opened in the browser

@shiny-code-bot shiny-code-bot merged commit 9616f88 into main Jun 16, 2026
6 checks passed
@shiny-code-bot shiny-code-bot deleted the fix-live-browser-witness-bytes branch June 16, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant