Pass X auth through handle drilldowns

Phase-2 Bird handle searches were still spawning Node without the injected AUTH_TOKEN/CT0 env. That left the search pipeline vulnerable to Chrome keychain prompts whenever a query drilled into X handles.

Pass the popup-safe subprocess env through those handle searches and cover it with a regression test.
This commit is contained in:
Jeffrey Sperling
2026-03-13 00:57:06 -07:00
parent 3aaf31b08d
commit 0e46c7cb33
2 changed files with 16 additions and 0 deletions
+1
View File
@@ -365,6 +365,7 @@ def search_handles(
stderr=subprocess.PIPE,
text=True,
preexec_fn=preexec,
env=_subprocess_env(),
)
try: