Skip to content

Preserve gh auth in fake Responses harness#79

Merged
cbusillo merged 1 commit into
local/cbusillo-overlayfrom
fix/fake-responses-gh-auth-inherit
May 15, 2026
Merged

Preserve gh auth in fake Responses harness#79
cbusillo merged 1 commit into
local/cbusillo-overlayfrom
fix/fake-responses-gh-auth-inherit

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

Summary

  • split harness auth inheritance into Code auth and GitHub CLI auth paths
  • keep suppressing Code auth when fake Responses is enabled
  • continue copying GitHub CLI auth when inherit_auth is requested
  • expose split auth state in the run manifest

Validation

  • python3 -m py_compile tools/code-exec-harness/harness.py
  • poisoned fake Responses harness run with parent Code auth, parent gh config, and parent OPENAI_API_KEY; verified Code auth was not copied, gh config was copied, and 2 fake Responses requests were captured
  • ./build-fast.sh

@cbusillo cbusillo merged commit 3b94477 into local/cbusillo-overlay May 15, 2026
1 check passed
@cbusillo cbusillo deleted the fix/fake-responses-gh-auth-inherit branch May 15, 2026 00:41
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