Repository navigation
fix(cli): restore lint after restart health growth - #109359
Merged
Merged
Conversation
steipete
force-pushed
the
fix/restart-health-max-lines
branch
from
July 16, 2026 22:52
1a2e9a0 to
55b2c70
Compare
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 17, 2026
* fix(cli): split restart-health over max-lines * fix(cli): drop dead export from restart-health test helpers
zooqueen
pushed a commit
to zooqueen/openclaw
that referenced
this pull request
Sep 11, 2026
* fix(cli): split restart-health over max-lines * fix(cli): drop dead export from restart-health test helpers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Resolves a problem where the core
check-lintshard onmainfails its max-lines rule for restart-health code and tests expanded by #109273, blocking unrelated PRs that lint the core CLI scope.Why This Change Was Made
Splits managed-service restart health, externally supervised listener verification, and shared gateway probing into cohesive modules while preserving the existing
restart-health.tspublic exports. The tests follow the same seams and share their mock harness. No behavior, lint baseline, suppression, or changelog changes.User Impact
Developers can run core lint without the restart-health max-lines failure. Runtime behavior is unchanged.
Evidence
node scripts/run-oxlint.mjs --tsconfig tsconfig.json src/cli/daemon-cli/restart-health*.ts— passed with no findings.node scripts/run-vitest.mjs src/cli/daemon-cli/restart-health.test.ts src/cli/daemon-cli/restart-health-probe.test.ts src/cli/daemon-cli/restart-health-wait.test.ts src/cli/daemon-cli/restart-health-external.test.ts— 4 files passed, 48 tests passed.pnpm format <9 touched files>— finished successfully.git diff --check— passed.