sunlit-deng
2fc260aa09
fix(ports): route isPortBusy through checkPortInUse to catch IPv4-only occupants ( #94949 )
...
* fix(ports): route isPortBusy through checkPortInUse to catch IPv4-only occupants
* fix(ports): treat PortUsageStatus unknown as busy in isPortBusy
Per ClawSweeper review: checkPortInUse returns 'unknown' when every host
probe fails for a non-EADDRINUSE reason. Treating unknown as 'not busy'
could cause forceFreePortAndWait to exit before lsof/fuser inspects the
port. Conservative fix: only 'free' means not busy; everything else
(busy or unknown) triggers further inspection.
* fix(ports): reuse canonical multi-address probe
* fix(ports): reuse canonical multi-address probe
---------
Co-authored-by: Vincent Koc <25068+vincentkoc@users.noreply.github.com >
2026-06-24 10:45:06 +08:00
Vincent Koc
e9b694ef9c
fix(windows): resolve process inspection tools
2026-06-21 10:47:42 +02:00
Peter Steinberger
4995907541
docs: document cli support tests
2026-06-04 19:35:08 -04:00
Peter Steinberger
9d866d8b2a
fix(cli): clamp port wait timers
2026-05-31 01:37:45 -04:00
Shakker
e35bc01ade
test: count cli command calls
2026-05-12 05:13:33 +01:00
Peter Steinberger
3dd2266723
test: tighten cli smoke assertions
2026-05-11 15:04:49 +01:00
Shakker
9e4fb927bc
test: tighten cli empty array assertions
2026-05-09 05:31:22 +01:00
Peter Steinberger
935f078a89
perf(gateway): skip force port scan when free
2026-05-03 15:52:57 +01:00
Peter Steinberger
1507c6dac7
perf: reduce gateway startup overhead
2026-05-03 12:44:23 +01:00
Ajay Elika
e23b6fb2ba
fix(gateway): add Windows-compatible port detection using netstat fallback (openclaw#29239) thanks @ajay99511
...
Verified:
- pnpm vitest src/cli/program.force.test.ts
- pnpm check
- pnpm build
Co-authored-by: ajay99511 <73169130+ajay99511@users.noreply.github.com >
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com >
2026-03-02 08:33:59 -06:00
Peter Steinberger
39f7dbfe02
fix(cli): make gateway --force resilient to lsof EACCES
2026-02-26 23:02:58 +01:00
cpojer
e09643e82c
chore: chore: Fix types in tests 19/N.
2026-02-17 12:23:12 +09:00
cpojer
5ceff756e1
chore: Enable "curly" rule to avoid single-statement if confusion/errors.
2026-01-31 16:19:20 +09:00
Peter Steinberger
c379191f80
chore: migrate to oxlint and oxfmt
...
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com >
2026-01-14 15:02:19 +00:00
Peter Steinberger
918cbdcf03
refactor: lint cleanups and helpers
2025-12-23 00:28:55 +00:00
Peter Steinberger
0b4e70e38b
CLI: retry --force until gateway port is free
2025-12-18 23:56:08 +00:00
Peter Steinberger
0780859a4d
fix(auto-reply): prefer Pi RPC by default
2025-12-12 17:30:34 +00:00
Peter Steinberger
8d888b426f
chore: format swift/ts and fix gateway lint
2025-12-09 17:11:25 +00:00
Peter Steinberger
dc8f9e043d
Tests: cover gateway --force helpers
2025-12-09 16:31:28 +00:00