Repository navigation
Description
When the machine behind a local task is away, the task fails with 'the machine behind runner is not connected', other paths say 'Open the desktop app to connect it', and a connected machine still preparing its image is also called not connected.
Where to start
- Give RunnerOfflineError one plain message with a next step, shared with MachineNotConnectedError and MACHINE_NOT_CONNECTED_REASON; keep the runner id in a field for logs.
- Throw RunnerOfflineError instead of a plain Error from the registry link.
- Give a connected machine that is still preparing its image its own message.
- Test provider.get against an offline runner and against an online runner with no image yet.
Code to look at:
packages/sandbox-local/src/provider.ts:57packages/sandbox-local/src/provider.ts:311backend/src/runners/registry.ts:254backend/src/runners/registry.ts:264backend/src/sandboxes/binding.ts:114backend/src/runs/run-location.ts:33
Done when
- No member-visible error text contains 'runner '.
- A machine still preparing its image reads as preparing, not offline (test).
Free to try
Sign up free at app.useagent.org. New accounts get free model credits (GLM or Claude Opus, up to a limit) and free cloud sandbox time, enough to finish this task without paying or adding a key.
Send it a small task in plain words and watch it work. You'll see the screens this issue is about. The link in the sign-up email works for 24 hours. Not there? Check spam.
Stuck? Comment here with a screenshot and we'll help.
Keep private details out of here
This page is public. Don't post your real email, phone number, address, payment details, API keys, or screenshots that show any of them. Send anything private, including how you'd like to be paid, to [email protected] with a link to your comment here.
Claim it
Comment /take and the issue is assigned to you. First come, first served.
Rules
- Use the app while you work, and put before and after screenshots or a short recording in your pull request. For backend or docs work, show the result end to end.
- One change per pull request. Run the checks in CONTRIBUTING.md.
- AI help is fine, blind AI output is not. You must understand, run and explain every line you submit.
- Untested or generated pull requests, and pull requests on an issue someone else claimed, are closed without a reply and don't count for Hacktoberfest.
Activity