Fix Android node system.run shell wrapper#73897
Conversation
Greptile SummaryThis PR fixes Android/Termux node hosts failing to launch Confidence Score: 5/5Safe to merge — the change is minimal, well-tested, and isolated to the Android platform branch. No logic errors, security issues, or missing cases. The normalization pipeline (trim → lowercase → equality check) is correct and tested for both exact and space-padded mixed-case inputs. The hardcoded Termux path is the canonical standard path. No regressions to Windows or POSIX paths. No files require special attention. Reviews (1): Last reviewed commit: "Fix Android node shell wrapper" | Re-trigger Greptile |
|
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded. Keep open. Current main and v2026.6.10 still do not implement the Android/Termux shell behavior, but this PR is not merge-ready because the new Android shell branch can remain unreachable through current node-host platform metadata and gateway command policy, and the external PR still lacks real Android/Termux behavior proof. Canonical path: Close this stale PR. The latest review rated it F, the branch still lacks merge-ready proof, and there has been no human follow-up after the durable review. So I’m closing this here because the remaining work is already tracked in the canonical issue. Review detailsBest possible solution: Close this stale PR. The latest review rated it F, the branch still lacks merge-ready proof, and there has been no human follow-up after the durable review. Do we have a high-confidence way to reproduce the issue? No for the full real Android/Termux workflow: no live Termux node-host run is shown. Source inspection shows both the helper-level /bin/sh problem and a current reachability blocker before that helper can fix the workflow. Is this the best way to solve the issue? No. The helper branch is a plausible piece, but the best fix must also cover Android/Termux platform metadata, gateway command-policy reachability, precise docs scope, and real runtime proof. Security review: Security review cleared: No concrete security or supply-chain regression was found; the diff adds no dependencies, workflows, secret handling, package-resolution changes, or broader permissions. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against ec737ee74d9b. |
|
Targeted validation completed locally:\n\n |
|
This pull request has been automatically marked as stale due to inactivity. |
|
This pull request has been automatically marked as stale due to inactivity. |
|
ClawSweeper applied the proposed close for this PR.
|
Title: Fix Android node system.run shell wrapper
Summary:
Problem:
Android/Termux does not provide /bin/sh. When an Android node advertises system.run, exec host=node builds a POSIX wrapper with /bin/sh -lc, causing execution to fail with spawn /bin/sh ENOENT.
Change:
Validation: