Peter Steinberger
269bc5c89e
fix(cli): preserve machine-readable stdout ( #113654 )
...
Co-authored-by: 1052326311 <65798732+1052326311@users.noreply.github.com >
2026-07-27 05:44:16 -04:00
maweibin
84cd3aa7f5
fix(cli): call process.exit(1) in root help and version fast path error handlers ( #97793 ) ( #97807 )
...
The error handler in tryHandleRootHelpFastPath only set process.exitCode=1
without calling process.exit(). When dangling async handles exist (timers,
connections, promises), the Node event loop stays open and the CLI hangs
indefinitely instead of returning to the terminal.
In tryHandleRootVersionFastPath, the default onError handler called
process.exit(1) directly, bypassing the injected exit seam that the
success path already uses. Changed to exit(1) (deps.exit ?? process.exit)
so tests and embedded callers can observe and control exit on failure.
Added rejection-path tests for version fast path: injected exit called
on resolveVersion rejection, and caller-supplied onError honored.
Fixes #97793 .
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-29 10:47:55 -07:00
Peter Steinberger
2db057423b
docs: document root and music generation helpers
2026-06-04 02:47:44 -04:00
Peter Steinberger
bccd429f70
test: type version fast path commit resolver mock
2026-04-20 20:07:11 +01:00
Peter Steinberger
8e519aa826
perf(test): slim entry and chat tests
2026-04-20 19:55:44 +01:00
Peter Steinberger
809f42eeea
test: trim UI and entry test overhead
2026-04-17 20:23:07 +01:00
Peter Steinberger
3a59eddd07
test: reduce hotspot fixture overhead
2026-04-17 02:37:00 +01:00
Peter Steinberger
4d2854a2b0
test: tighten hotspot boundaries
2026-04-16 22:40:06 +01:00
Peter Steinberger
e3674bcc04
test: streamline runtime wrapper test reloads
2026-04-03 04:41:38 +01:00
Peter Steinberger
6b6ddcd2a6
test: speed up core runtime suites
2026-03-31 02:25:02 +01:00
Sally O'Malley
e5d0d810e1
fixes for cli-containerized ( #54223 )
...
Signed-off-by: sallyom <somalley@redhat.com >
2026-03-25 00:51:55 -04:00
Sally O'Malley
91adc5e718
feat(cli): support targeting running containerized openclaw instances ( #52651 )
...
Signed-off-by: sallyom <somalley@redhat.com >
2026-03-24 10:17:17 -04:00
Altay
ca5e352c53
CLI: include commit hash in --version output ( #39712 )
...
* CLI: include commit hash in --version output
* fix(version): harden commit SHA resolution and keep output consistent
* CLI: keep install checks compatible with commit-tagged version output
* fix(cli): include commit hash in root version fast path
* test(cli): allow null commit-hash mocks
* Installer: share version parser across install scripts
* Installer: avoid sourcing helpers from stdin cwd
* CLI: note commit-tagged version output
* CLI: anchor commit hash resolution to module root
* CLI: harden commit hash resolution
* CLI: fix commit hash lookup edge cases
* CLI: prefer live git metadata in dev builds
* CLI: keep git lookup inside package root
* Infra: tolerate invalid moduleUrl hints
* CLI: cache baked commit metadata fallbacks
* CLI: align changelog attribution with prep gate
* CLI: restore changelog contributor credit
---------
Co-authored-by: echoVic <echovic@163.com >
Co-authored-by: echoVic <echoVic@users.noreply.github.com >
2026-03-08 19:10:48 +03:00