Files
openclaw/src/infra
google-labs-jules[bot] 908d9331af feat: use sudo fallback for tailscale configuration commands
To avoid permission denied errors when modifying Tailscale configuration (serve/funnel),
we now attempt the command directly first. If it fails, we catch the error and retry
with `sudo -n`. This preserves existing behavior for users where it works, but
attempts to escalate privileges (non-interactively) if needed.

- Added `execWithSudoFallback` helper in `src/infra/tailscale.ts`.
- Updated `ensureFunnel`, `enableTailscaleServe`, `disableTailscaleServe`,
  `enableTailscaleFunnel`, and `disableTailscaleFunnel` to use the fallback helper.
- Added tests in `src/infra/tailscale.test.ts` to verify fallback behavior.
2026-01-24 00:17:20 +00:00
..
2026-01-17 08:00:05 +00:00
2026-01-20 16:02:46 +00:00
2026-01-14 15:02:19 +00:00
2026-01-21 01:58:47 +00:00
2026-01-17 12:30:11 +00:00
2026-01-14 15:02:19 +00:00
2026-01-10 16:37:54 +01:00
2026-01-18 05:44:22 +00:00
2026-01-18 08:45:29 +00:00
2026-01-14 15:02:19 +00:00
2026-01-14 15:02:19 +00:00
2026-01-16 07:33:15 +00:00
2026-01-19 05:59:29 +00:00
2026-01-17 18:32:23 +00:00