Repository navigation
fix: status and channels list print Matrix SDK deprecation warnings - #190280
ericcurtin wants to merge 2 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. What this changesThis PR switches status, channels list, and Doctor channel discovery to asynchronous probes to avoid Matrix SDK deprecation warnings. Example: Run openclaw status with an existing state database and no Matrix credentials.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 2 items remain Keep this PR open. PR close coverage proof kept this PR open against #190257: The runtime repair overlaps clearly, but the supplied evidence does not establish coverage of PR A's useful setup-failure parity test. The prior duplicate assessment and linked implementation context do not prove that coverage. Priority: P2 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherRead-only CLI commands combine configuration, plugin manifests, registered channels, and saved-auth presence into channel inventories and diagnostics. flowchart TD
A[CLI commands] --> B[Async channel discovery]
C[Config and manifests] --> B
B --> D[Saved auth probe]
D --> E[Matrix state store]
B --> F[Inventory and diagnostics]
Technical reviewBest possible solution: Keep this PR open until a linked canonical PR proves it covers this PR's unique work, or a maintainer confirms closure. Do we have a high-confidence way to reproduce the issue? Source traces the synchronous command callers to Matrix's deprecated store APIs when a state database exists; no target code or tests were executed during this read-only review. Is this the best way to solve the issue? Awaiting existing async discovery fixes the cause, and the resolver extraction preserves status diagnostics without adding another discovery owner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 9237ad230bee. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource 0, Tests +10. Total +10 across 13 files. Added test files: 0. View PR surface stats
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 1, 2026, 6:40 AM ET / 11:40 UTC. |
|
Fixed the audit test spy and the mock-exports ratchet (5fdf91c). @clawsweeper re-review |
|
Hi @ericcurtin 👋 I just noticed this PR and my #190257 both fix the same Matrix SDK deprecation-warning bug (#190243), and you opened yours a few minutes before mine. Sorry for the overlap, I didn't spot it in time. Rather than having two PRs compete, I'd be happy to work on this together. I can fold your extra changes (the |
|
Thanks @jerome-queck, happy to go with #190257. The only extra here is dropping the now-unused sync |
…cope All callers now use hasConfiguredChannelsForReadOnlyScopeAsync. Remove the sync helper, its re-export from channel-plugin-ids, and the stale sync mock in the status scan test helpers, matching openclaw#190280. Co-authored-by: ericcurtin <[email protected]>
|
Thanks @ericcurtin! I've folded the removal of the unused sync |
|
Closing in favour of #190257, which now has the extra change. Thank you @jerome-queck. |
…ation warnings (#190257) * fix(cli): use async channel presence probes in status, channels list and doctor (#190243) * test: migrate read-only resolver mocks to async APIs * test(channels): prove channels list emits no DEP_PLUGIN_SDK warning Refs #190243. * refactor(plugins): drop unused sync hasConfiguredChannelsForReadOnlyScope All callers now use hasConfiguredChannelsForReadOnlyScopeAsync. Remove the sync helper, its re-export from channel-plugin-ids, and the stale sync mock in the status scan test helpers, matching #190280. Co-authored-by: ericcurtin <[email protected]> * fix: drop duplicate async read-only resolver after main merge Merge of main into fix/190243-async-presence left two resolveReadOnlyChannelPluginsForConfigAsync exports. Keep main's withPluginSetupPreparation path; remove the older simple duplicate that broke transform/lint/types/prompt-snapshots. * test: allocate test-lines for async presence proofs (#190243) Cover the async auth probe and channels-list DEP_PLUGIN_SDK silence regressions that land with the read-only async presence fix. --------- Co-authored-by: jerome-queck <[email protected]> Co-authored-by: ericcurtin <[email protected]>
…ation warnings (openclaw#190257) * fix(cli): use async channel presence probes in status, channels list and doctor (openclaw#190243) * test: migrate read-only resolver mocks to async APIs * test(channels): prove channels list emits no DEP_PLUGIN_SDK warning Refs openclaw#190243. * refactor(plugins): drop unused sync hasConfiguredChannelsForReadOnlyScope All callers now use hasConfiguredChannelsForReadOnlyScopeAsync. Remove the sync helper, its re-export from channel-plugin-ids, and the stale sync mock in the status scan test helpers, matching openclaw#190280. Co-authored-by: ericcurtin <[email protected]> * fix: drop duplicate async read-only resolver after main merge Merge of main into fix/190243-async-presence left two resolveReadOnlyChannelPluginsForConfigAsync exports. Keep main's withPluginSetupPreparation path; remove the older simple duplicate that broke transform/lint/types/prompt-snapshots. * test: allocate test-lines for async presence proofs (openclaw#190243) Cover the async auth probe and channels-list DEP_PLUGIN_SDK silence regressions that land with the read-only async presence fix. --------- Co-authored-by: jerome-queck <[email protected]> Co-authored-by: ericcurtin <[email protected]>
Closes #190243
What Problem This Solves
Fixes:
openclaw status,channels listanddoctorprint Matrix SDK deprecation warnings on installs without Matrix.User Impact
Users no longer see
DEP_PLUGIN_SDKwarnings blaming the Matrix plugin when running these commands.Why This Change Was Made
These commands are async but called the sync channel probe. They now call the async twin, including the status channel table through a new
resolveReadOnlyChannelPluginsForConfigAsyncthat the list helper now reuses. The synchasConfiguredChannelsForReadOnlyScopehad no callers left and is removed.Evidence
DEP_PLUGIN_SDKwarnings on main vs here:status2 to 0,channels list2 to 0,doctor4 to 2. Stdout ofstatusandchannels listis unchanged.doctorcome from tool setup, which the issue lists as a separate follow-up.tsgo:core,tsgo:core:test, oxlint and oxfmt are clean.