Files
clawdbot/src
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-18 08:54:00 +00:00
2026-01-24 00:11:04 +00:00
2026-01-23 19:28:55 +00:00
2026-01-24 00:11:04 +00:00
2026-01-23 19:53:01 +00:00
2026-01-21 23:05:11 +00:00
2026-01-21 05:34:53 +00:00
2026-01-23 19:53:01 +00:00
2026-01-18 08:45:29 +00:00
2026-01-20 13:52:59 +00:00
2026-01-23 23:34:30 +00:00
2026-01-23 09:07:43 +00:00
2026-01-19 23:41:06 +00:00
2026-01-21 01:58:47 +00:00
2026-01-18 19:34:21 +00:00
2026-01-14 15:02:19 +00:00
2026-01-18 03:55:14 +00:00
2026-01-04 14:38:51 +00:00