You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] tests/e2e fails on main: headless Write is not blocked without an approver, TUI tests never see the mock reply #1378
Two classes of tests/e2e failures reproduce on clean main (commit 3982850, verified in the CI runner by checking out main and fix/issue-1373 side by side and running the same commands), so they are pre-existing and unrelated to any specific pending refactor PR.
Headless approval gate: TestAgentWriteIsBlockedWithoutApprover (tests/e2e/cli_test.go:223) fails because the Write tool actually executes in a headless run with no approver reachable, creating blocked.txt. The test expects the call to be rejected with an actionable "Blocked:" reason and the file to not exist.
TUI tests never see the mock reply: TestChatTUIViaTmux, TestChatTUIBackgroundShellOutput, TestChatTUIBackgroundSubagentOutput, TestChatTUIApprovalBoxFollowsTail and TestChatTUITextToSFX (tests/e2e/tmux_tui_test.go, tests/e2e/media_tools_test.go) all end with Reconnecting... or Starting response... and a leaked "Username for 'https://github.com':" credential prompt inside the captured pane. The gateway supervisor (internal/gateway/supervisor.go, downloadBinary) fetches the gateway release from GitHub inside the pane; in network-restricted runners that fetch blocks on auth and the gateway never serves a completion.
Run: go test -race -tags "e2e purego" -run TestChatTUIViaTmux -v -timeout 5m ./tests/e2e/
Observe: "the mock reply never appeared in the TUI" with the credential prompt fragment visible in the last frame.
Expected Behavior
The e2e suite passes on main: headless Write without an approver is rejected with a "Blocked:" tool result, and the TUI tests reach the mock gateway (or the gateway binary is provisioned without prompting for credentials).
Actual Behavior
Both fail identically on main and on any branch built from it (verified with the same runner for the refactor in PR 1377, which touches only package moves). Full suite: task test:e2e reports 6 failures in this runner.
Activity
fix: never prompt for git credentials and keep e2e env hermetic
inference-gateway-releaser commentedon Sep 28, 2026
🎉 This issue has been resolved in version 0.216.0 🎉
The release is available on:
Your semantic-release bot 📦🚀