Repository navigation
Find provider CLIs past noisy login shells, and bound browser preview navigate and screenshot - #2020
Merged
currentbits merged 3 commits intoNov 13, 2026
Conversation
A bash DEBUG trap that echoes $BASH_COMMAND printed the probe command before running it, and the PATH parser picked the marker text out of that echo, returning a literal '"$PATH"' instead of the real PATH. The markers are now only assembled by printf, never spelled out in the command, and the dump runs in a subshell so the trap can't echo into the env section either. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…all the agent navigate now gives up waiting after 30s and returns the committed URL and title with a note, instead of awaiting loadURL forever. A client-side redirect makes Electron reject loadURL with ERR_ABORTED (-3); that is the page working, so navigate returns the redirected nav state instead of reporting a failure. screenshot fails after 10s with a reason rather than hanging on capturePage. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d01d944d11
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
fish reads ( ) as command substitution, so the subshell wrapper made the probe invalid there and fish users lost their login PATH. fish has no DEBUG trap, so it runs the probe bare; POSIX shells keep the subshell. Co-Authored-By: Claude Opus 5.5 <[email protected]>
currentbits
deleted the
coder/reliability-login-path-probe-and-preview-27cc4e
branch
November 13, 2026 16:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two backend reliability fixes.
$BASH_COMMANDprinted those markers, so the parser read the echoed command instead of PATH (a repro returned a quoted literal), and provider CLIs weren't found. The markers are now assembled byprintfat run time and never appear literally, and the probe runs in a subshell so the trap isn't inherited.navigateawaitedloadURLandscreenshotawaitedcapturePagewith no deadline, so a hung page stalled the agent's turn.ERR_ABORTED(-3), which Electron raises when a page redirects or starts another load, now counts as success instead of a failed navigation.Not covered: the Inspect crop capture is still unbounded.
Tests: a DEBUG-trap case in
electron/test/pathenv.test.js(skipped on Windows and on hosts without bash), plus timeout and redirect cases inelectron/test/preview.test.js. 43 of 43 pass.🤖 Generated with Claude Code