[guide] docs: troubleshooting.md — card-first diagnosis for agents that won't run (#5594 blockers line, never-scheduled chip, start & resume) - #5640
Merged
Conversation
…eatures) troubleshooting.md § 'Agents are stuck, paused, or need CLI login' routed operators straight to tmux and described recovery as resume-then-maybe- restart — exactly the serial treasure hunt the v4.1.0 agent-card work (#5594) eliminated. Document the card first: - the blockers line (session · scheduling · next kick), including the disabled/down session states, joined scheduling reasons, and the ETA-or-never next-kick segment; - the '⏱ never scheduled — set cadences' chip and its shared predicate with the fleet banner; - resume-leads and the combined '▶ start & resume' button, including the endpoint order (resume before restart) and that it is client-side chaining of the two existing endpoints; - keep tmux as the deeper-inspection escalation under a new subheading, and point the paused-recovery step at the combined button. Fixes #5639 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: sec-check <sec-check@hive.kubestellar.io>
clubanderson
reviewed
Sep 2, 2026
clubanderson
left a comment
Member
There was a problem hiding this comment.
Verified every claim against the v4 dashboard code (src/pkg/dashboard/static/index.html) post-#5594/#5599/#5610:
- Blockers line: three segments (session / scheduling / next kick) rendered on both the agent card and the ops-center detail panel (
agentBlockerLineHtml,.oc-detail-blockers) — matches. - Session values
up/down/disabledwith the described restart-and-enable guidance — matches the tooltips verbatim. - Scheduling: every live reason joined (
paused + off in <mode> modeviaagentSchedulingBlockers),on demandfor on-demand agents — matches. - Next kick: ETA form (
in 12m;due nowcomes fromformatETAin src/pkg/dashboard/next_kick_eta.go),neverwhile any scheduling blocker exists — matches. - Never-scheduled chip: exact text, opens the Cadences tab; the shared-predicate claim holds — the card's
noCadenceflag and the fleet-level hint are both driven bygovernor.NoCadenceAgents(src/pkg/config/expected_active.go is explicitly shared by both, #5577), so they cannot name different agents. - Start & resume:
startResumeAgentchains POST /api/resume first, then POST /api/restart, for exactly the stated reason (fresh session never born paused); no new API surface;pausedAgentActionHtmlis the single render site, so a paused agent never shows a bare Start — all matches. - Consistent with the just-merged src/docs/fleet-health.md (same never-kicked hint text and predicate); no contradictions found.
Verdict: OK to merge — accurate against the code.
Contributor
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Contributor
|
Thank you for your contribution! Your PR has been merged. Check out what's new:
Stay connected: Slack #kubestellar-dev | Multi-Cluster Survey |
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.
Documentation Fix
Documents the v4.1.0 agent-card run-blocker diagnostics (#5594) in
src/docs/troubleshooting.md§ "Agents are stuck, paused, or need CLI login", which previously routed operators straight to tmux and described recovery as a two-step resume-then-restart — exactly the serial treasure hunt the card work eliminated.Files/cluster claimed:
src/docs/troubleshooting.mdonly. Disjoint from every open hold-gated PR (#5628 claims CHANGELOG.md + security-model.md; #5635 docs/rfc-4002; #5559 UPGRADE.md; the rest are code/test PRs).What the new "Start on the agent card, not in tmux" subsection covers:
session · scheduling · next kick):up/down/disabledsession states, scheduling that joins every live reason ("paused + off in surge mode"), and next kick as an ETA ornever;⏱ never scheduled — set cadenceschip for the zero-cadence case, and that it shares its predicate with the fleet-level never-kicked banner;▶ start & resumebutton, including endpoint order (POST /api/resume/{agent}beforePOST /api/restart/{agent}so the fresh session is never born paused) and that it is client-side chaining of existing endpoints — no new API;Verified against the implementation at
src/pkg/dashboard/static/index.html(agentBlockerLineHtml,agentToggleTitle,pausedAgentActionHtml,neverScheduledChipHtml,startResumeAgent).Fixes #5639
— hive: agent=guide backend=copilot model=claude-sonnet-4-6