Repository navigation
fix(openclaw): reduce avoidable native startup I/O - #352
Merged
Merged
Conversation
Disable unrelated plugins only in the temporary configuration used by native model-auth retirement commands. Preserve the Agent configuration, normal doctor behavior, profile removal/readback and database compaction while avoiding repeated CLI discovery work. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Disable Node's optional on-disk compile cache for native OpenClaw doctor, gateway and auth-retirement processes. Preserve executed JavaScript, plugin selection, resource limits and lifecycle deadlines. Cover the native settings and unchanged legacy defaults. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Member
Author
|
Further same-profile AKS qualification: the second repaired Kata restart passed in 1110.185s and suspension in 64.329s, but the following resume still exceeded the original 1200s bound (1202.424s observation, still Provisioning). Doctor took 342s and retirement 130s; the main container later failed its unchanged startup probe and was restarted by Kubelet, not OOM-killed. Later Ready does not count as passing that operation. This PR remains a bounded startup improvement, not closure of the default-profile timing blocker; no resource/probe/timeout increase has been substituted for acceptance. |
Preserve both the native OpenClaw compile-cache regression and the Hermes Dashboard public-URL test from main. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
8 tasks done
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.
Summary
Reduce avoidable native OpenClaw startup work without changing its runtime
image, resource limits, plugins, health checks or lifecycle deadlines:
by auth-store retirement commands.
auth-retirement and gateway processes, avoiding ephemeral cache I/O.
Retirement still lists every start, verifies successful removal when needed,
and compacts existing databases. Normal doctor and gateway plugin behavior,
saved configuration, Hermes and legacy non-Sandbox defaults remain unchanged.
Related issue
Discovered during the explicitly requested integrated AKS validation. This is
a focused repair within that agreed scope; no separate proposal is needed.
Validation
Offline validation used the existing pinned Go 1.27.3 and Helm 3.22.0 toolchain.
HUGOidentifies the local Hugo 0.164.0 extended executable.Authorized AKS observations, using unchanged qualified runtime images and
resource profiles:
remaining.
on Kata and 420.863s on ordinary containers, both with managed ingress mTLS.
identity retention and nondecreasing nonzero-spend checks in 1192.326s.
The original Kata restart and the first plugin-only repair exceeded 1200s;
those remain failed attempts. The final restart passed with only 7.674s to
spare, so this is not a claim of robust startup headroom or an exhausted runtime
matrix. Further same-profile lifecycle observations are being recorded
separately. No credential, raw diagnostic bundle or deployment helper is
attached.
Compatibility and operational impact
No API/CRD, dependency-version, release-version or resource-budget change.
The new settings are limited to native OpenClaw startup and are adopted through
the normal runtime-chart update. The gateway still uses the same plugins and
configuration; only the separate retirement commands suppress unused discovery.
This does not skip health checks or extend any startup deadline.
Checklist
Please confirm the applicable CLA check and independent maintainer review.