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
Aside probe reports ASIDE_CLI_ERROR instead of ASIDE_NOT_RUNNING when the app is closed (real CLI exits 1) #4366
When Aside.app is installed but not running, the BROWSER SETUP probe prints ASIDE_CLI_ERROR: exit 1 instead of ASIDE_NOT_RUNNING. Rule 2 tells the agent to ask the user to open the app only for ASIDE_NOT_RUNNING. So the agent falls back to headless $B without asking, and users who have Aside installed keep getting the headless browser.
Failed to request daemon auth challenge: fetch failed
Aside isn't running on this machine.
rc=1
The probe's case "$_rc" sends any non-zero exit to *) ASIDE_CLI_ERROR.
Why the tests miss it: the stopped fixture in test/aside-probe-shell.test.ts prints [error] Aside app is not running and exits 0. The real CLI's wording is different and it exits non-zero.
Suggested fix: for a non-zero exit, check the output for the CLI's "isn't running" message before using ASIDE_CLI_ERROR, and still keep raw output from being printed. Add a fixture that exits 1 with the real wording.
Thanks, this is a clear one. The probe on main (scripts/resolvers/aside.ts) still sends every non-zero exit to ASIDE_CLI_ERROR, and the stopped test fixture exits 0, so the tests can't catch it. People who use Aside get the headless browser without being asked to open the app, which matters to us directly. We're taking it as a small fix: a maintainer agent will rebuild it on current main with a fixture that exits 1 with the real wording, then close this issue with a link to the change.
Thanks, this is a clear one. The probe on main (scripts/resolvers/aside.ts) still sends every non-zero exit to ASIDE_CLI_ERROR, and the stopped test fixture exits 0, so the tests can't catch it. People who use Aside get the headless browser without being asked to open the app, which matters to us directly. We're taking it as a small fix: a maintainer agent will rebuild it on current main with a fixture that exits 1 with the real wording, then close this issue with a link to the change.
This is already built in #4367: same fix on current main, a stopped-exit1 fixture that exits 1 like the real CLI, regenerated goldens, the size ledger, and a changelog fragment. CI is green. The only open call is the last commit, which raises the size pins by 94 B per skill for the new probe arm. Happy for the maintainer agent to land it as is or pick from it.
Thanks for pointing us at #4367, and sorry for the slow answer. We're picking this up. A maintainer agent working through a batch of fixes (our tracking thread GSTA-803) will first reproduce this on current main. If it reproduces, the agent rebuilds the probe change on main from your #4367, with you credited as co-author, and we'll close this issue with a link when it lands. We don't merge outside branches directly, so the rebuild is the route even though your PR was green. If it no longer reproduces, we'll close this and say what changed.
Fixed in #4686 (merged as 113deea). When the Aside CLI exits 1 with "isn't running", the browser setup check now reports ASIDE_NOT_RUNNING, so the agent asks you to open Aside instead of falling back to the headless browser. It ships with the next gstack update. Thanks for the clear repro!
Activity
capy-ai commentedon Nov 15, 2026
Thanks, this is a clear one. The probe on main (
scripts/resolvers/aside.ts) still sends every non-zero exit toASIDE_CLI_ERROR, and thestoppedtest fixture exits 0, so the tests can't catch it. People who use Aside get the headless browser without being asked to open the app, which matters to us directly. We're taking it as a small fix: a maintainer agent will rebuild it on current main with a fixture that exits 1 with the real wording, then close this issue with a link to the change.thehashrocket commentedon Nov 15, 2026
This is already built in #4367: same fix on current main, a stopped-exit1 fixture that exits 1 like the real CLI, regenerated goldens, the size ledger, and a changelog fragment. CI is green. The only open call is the last commit, which raises the size pins by 94 B per skill for the new probe arm. Happy for the maintainer agent to land it as is or pick from it.
capy-ai commentedon Nov 22, 2026
Thanks for pointing us at #4367, and sorry for the slow answer. We're picking this up. A maintainer agent working through a batch of fixes (our tracking thread GSTA-803) will first reproduce this on current main. If it reproduces, the agent rebuilds the probe change on main from your #4367, with you credited as co-author, and we'll close this issue with a link when it lands. We don't merge outside branches directly, so the rebuild is the route even though your PR was green. If it no longer reproduces, we'll close this and say what changed.
Keep the shared review boundary as it is and fix only /codex's copies
capy-ai commentedon Nov 22, 2026
Fixed in #4686 (merged as 113deea). When the Aside CLI exits 1 with "isn't running", the browser setup check now reports
ASIDE_NOT_RUNNING, so the agent asks you to open Aside instead of falling back to the headless browser. It ships with the next gstack update. Thanks for the clear repro!