Teknium 9fb740ec4a test(browser): read the child's env from a file, not from redacted output
test_browser_exec_child_environment had the probe child print its whole
environment and read it back from browser_exec's output. That output goes
through secret redaction, and this branch now masks JSON keys that
contain a secret word, so "BROWSER_USE_API_KEY": "bu-key" came back as
"***" and the assertion failed on the macOS and Windows lanes.

The test checks what the child receives, not what the output shows. The
probe now writes its view to a file and the test reads it from there.
The assertions are unchanged.
2026-11-05 04:05:45 -08:00
..