refactor: use channel target resolution APIs#85814
Conversation
|
Codex review: needs real behavior proof before merge. Latest ClawSweeper review: 2026-05-23 20:10 UTC / May 23, 2026, 4:10 PM ET. Workflow note: Future ClawSweeper reviews update this same comment in place. How this review workflow works
PR Surface View PR surface stats
Summary Reproducibility: no. Source inspection and the predecessor PR describe the parser-backed topic route failure, but this read-only review did not establish a live current-main Telegram cron reproduction. PR rating Rank-up moves:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. Real behavior proof Mantis proof suggestion Risk before merge
Maintainer options:
Next step before merge Security Review detailsBest possible solution: Land only after maintainers accept the parser API deprecation plan and redacted live Telegram proof shows cron or agent delivery preserves the intended chat/topic route, with legacy compat quarantined and covered by tests. Do we have a high-confidence way to reproduce the issue? No. Source inspection and the predecessor PR describe the parser-backed topic route failure, but this read-only review did not establish a live current-main Telegram cron reproduction. Is this the best way to solve the issue? Mostly yes, but not merge-complete yet. Moving delivery onto target/session-route APIs fits the ownership boundary, while the SDK deprecation and live transport behavior still need maintainer acceptance and proof. Label changes:
Label justifications:
Acceptance criteria:
What I checked:
Likely related people:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 2656f13ff876. |
|
ClawSweeper PR egg 🎁 Pass real behavior proof to wake the egg and unlock a hatchable treat. Where did the egg go?
|
* refactor: use channel target resolution apis * refactor: satisfy delivery lint * refactor: remove unused target parsing shim * fix: preserve routed cron topic targets
* refactor: use channel target resolution apis * refactor: satisfy delivery lint * refactor: remove unused target parsing shim * fix: preserve routed cron topic targets
* refactor: use channel target resolution apis * refactor: satisfy delivery lint * refactor: remove unused target parsing shim * fix: preserve routed cron topic targets
* refactor: use channel target resolution apis * refactor: satisfy delivery lint * refactor: remove unused target parsing shim * fix: preserve routed cron topic targets
* refactor: use channel target resolution apis * refactor: satisfy delivery lint * refactor: remove unused target parsing shim * fix: preserve routed cron topic targets
* refactor: use channel target resolution apis * refactor: satisfy delivery lint * refactor: remove unused target parsing shim * fix: preserve routed cron topic targets
* refactor: use channel target resolution apis * refactor: satisfy delivery lint * refactor: remove unused target parsing shim * fix: preserve routed cron topic targets
* refactor: use channel target resolution apis * refactor: satisfy delivery lint * refactor: remove unused target parsing shim * fix: preserve routed cron topic targets
* refactor: use channel target resolution apis * refactor: satisfy delivery lint * refactor: remove unused target parsing shim * fix: preserve routed cron topic targets
* refactor: use channel target resolution apis * refactor: satisfy delivery lint * refactor: remove unused target parsing shim * fix: preserve routed cron topic targets
Summary
openclaw/plugin-sdk/messaging-targetssubpath while keeping legacy compatibility quarantined in compat-only paths.Replaces #49704.
Verification
node scripts/run-tsgo.mjs -p test/tsconfig/tsconfig.core.test.json --incremental --tsBuildInfoFile .artifacts/tsgo-cache/core-test.tsbuildinfonode scripts/run-vitest.mjs src/infra/outbound/agent-delivery.test.ts src/auto-reply/reply/group-id.test.tsnode scripts/run-vitest.mjs src/cron/isolated-agent/delivery-target.test.tsnode scripts/run-oxlint.mjs --tsconfig config/tsconfig/oxlint.core.json src/infra/outbound/agent-delivery.tspnpm check:changedvia Testboxtbx_01ksb66sjerk0v891awe6js8z8, Actions run26341965828Behavior addressed: Cron and agent delivery now resolve channel targets through the modern target/session-route APIs instead of leaking forum/parser-specific syntax through core.
Real environment tested: Local macOS checkout plus Blacksmith Testbox Linux changed gate.
Exact steps or command run after this patch:
pnpm check:changedEvidence after fix: Testbox
tbx_01ksb66sjerk0v891awe6js8z8, Actions run26341965828, exit 0.Observed result after fix: Changed lanes passed for core, core tests, extensions, extension tests, docs, and tooling.
What was not tested: Live provider delivery against real external messaging services.