Repository navigation
fix(diagnostic): probe DevAgents (dev) as a third host - #142
Merged
Merged
Conversation
This was referenced Sep 23, 2026
DevAgents (204.168.223.245) is a platform-only deploy target since dashboard openclaw#480, so it needs the daily host, container, containment and Global Host checks like eu and us. Adds dev to host_ip, host_label, ALL_HOSTS and the arg parser; the probe reaches it over ssh with the same key, so one code path serves all three hosts. First --no-write run: all three reachable; dev reports P0 disk 100% and P2 no docker log rotation, both real. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Fable 5.1 <[email protected]>
cryptolir
force-pushed
the
fix/diagnostic-dev-host
branch
from
September 27, 2026 15:31
5f716c8 to
37b5be3
Compare
cryptolir
pushed a commit
that referenced
this pull request
Sep 27, 2026
…142 merged Co-Authored-By: Claude Opus 5.5 <[email protected]>
cryptolir
added a commit
that referenced
this pull request
Sep 29, 2026
…d, not P0 (#167) * fix(diagnostic): an Agent a user stopped from the dashboard is On hold, not P0 The Agent page Stop and Board power OFF (openclaw-dashboard lib/agent-control.ts) now leave /root/.openclaw/on-hold/<container>. Section B reads it: a stopped container whose marker is newer than its last start is reported HOLD ("exited (on hold since <date>)") and raises no issue. - Newer than the last start, or it does not count: any later start (start, restart, deploy) voids the marker, so a stale one never hides a crash. - An empty StartedAt never counts (find -newermt "" would match). - A stop without a marker (spend-cap suspension, hand-run docker stop) is still P0. Measured on DevAgents: no markers, the six Ceyo Agents stopped by Board power on 2026-09-24 are P0 as before; with markers they are HOLD, P0=0; a marker dated before the container's last start is P0 again. Committed with --no-verify: this worktree has no node toolchain for the oxlint/oxfmt hooks, which do not touch shell scripts. bash -n clean. Co-Authored-By: Claude Opus 5.5 <[email protected]> * status: claim fix/diagnostic-on-hold (#167) + dashboard openclaw#639; #142 merged Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Liran Peretz <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
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
agents_server_diagnostic.shnow probes DevAgents (204.168.223.245) as hostdev, next toeuandus. DevAgents became a deploy target in dashboard openclaw#480 (platform-only), so it needs the same daily A/B/D2/D3 checks: host health, container status, secrets containment, and the Global Host key file.How
Four lines:
host_ip,host_label(DevAgents/Dev),ALL_HOSTS="eu us dev", and the arg parser acceptingdev. The usage text is updated. Nothing else in the probe is host-specific, so the same remote block runs on all three. Fordevthe script SSHes to the box it runs on, using the sameSSH_KEY, which is already authorized there. One code path, no local special case.Deliberately not done
diagnostic-cron.shsteps 2.5 (cruft archive) and 2.6 (gateway image prune) loop over the two prod IPs by hand. Left as is: DevAgents is also the image build host, and pruning gateway images there is a behaviour change worth its own decision.CORE_APISlist still lacksANTHROPIC_API_KEY, which dashboard feat(agent): auto-enable GLM-4.7 thinking mode openclaw/openclaw#443 added toGLOBAL_KEYSon 2026-08-26 without touching this script. The comment says to change both in one PR. That is prior drift, not this change, and fixing it would raise a P1 on every host at once. Flagged for the owner.Validation
bash -n: clean.koalaman/shellcheck:stable), same as the pre-commit hook: zero findings at--severity=errorbefore and after. The single warning (unusedSCRIPT_DIR) is pre-existing. Committed with--no-verifybecause the worktree has no node toolchain for the oxlint/oxfmt hooks, which do not touch this file.--no-write allfrom this branch, 22 seconds, all three hosts reachable.eu/usoutput unchanged in shape. Firstdevfindings, both real: P0 root disk 100% and P2 no docker log rotation. Those are host problems for the owner, not script problems; they are exactly what the check exists to surface.Once merged, the 05:40 re-pin of
.openclaw-autoscanpicks it up and the 06:00 run coversdevfrom the next morning.🤖 Generated with Claude Code