Repository navigation
fix(channels): prefer runtime status in channel list - #82016
Merged
Merged
Conversation
Contributor
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: fix(channels): prefer runtime status in channel list This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
This was referenced May 15, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
May 24, 2026
jameslcowan
pushed a commit
to jameslcowan/openclaw
that referenced
this pull request
Jun 2, 2026
sablehead
pushed a commit
to sablehead/openclaw
that referenced
this pull request
Jun 10, 2026
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
openclaw channels listprefer reachable Gatewaychannels.statusaccount snapshots before command-local config/env inspection.--jsonoutput on the existing local schema/path.*-unavailablein text output.Verification
node scripts/run-vitest.mjs src/commands/channels.list.test.tspnpm exec oxfmt --check src/commands/channels/list.ts src/commands/channels.list.test.ts CHANGELOG.mdgit diff --checknode scripts/crabbox-wrapper.mjs run --provider blacksmith-testbox --blacksmith-org openclaw --blacksmith-workflow .github/workflows/ci-check-testbox.yml --blacksmith-job check --blacksmith-ref main --idle-timeout 90m --ttl 240m --timing-json --shell -- "env CI=1 NODE_OPTIONS=--max-old-space-size=4096 OPENCLAW_TEST_PROJECTS_PARALLEL=6 OPENCLAW_VITEST_MAX_WORKERS=1 OPENCLAW_VITEST_NO_OUTPUT_TIMEOUT_MS=900000 pnpm check:changed"Real behavior proof
Behavior addressed:
openclaw channels list --allnow consults the running Gateway account snapshot for text output when reachable, so a Discord account that is available in the Gateway does not get downgraded by command-local token inspection.Real environment tested: Patched OpenClaw checkout on macOS with the operator's real OpenClaw config and live command execution. Live Hetzner diagnostic before the patch also showed the split-brain state: Gateway status reported Discord configured/running/connected while installed
channels list --allreported Discord default not configured withtoken=none.Exact steps or command run after this patch:
pnpm openclaw channels list --allEvidence after fix: Terminal output from the patched command:
Observed result after fix: The real command output reports Discord as
installed, configured, enabledwith a credential source, and the command completes without disabling or hiding the channel row.What was not tested: The original reporter's machine/plaintext upgrade config was not available; the service-only-env mismatch is covered by the live before-state diagnostic plus the Gateway-preferred regression in this patch.
Fixes #79343.