Skip to content

fix(channels): Slack stops receiving messages while reporting healthy when its plugin is not a trusted install - #114998

Merged
steipete merged 1 commit into
mainfrom
fix/channel-ingress-queue-start-failure
Jul 28, 2026
Merged

steipete merged 1 commit into
mainfrom
fix/channel-ingress-queue-start-failure

Conversation

@steipete

@steipete steipete commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes an issue where operators running a channel plugin that is not a trusted install
would have that channel silently stop receiving messages while the gateway kept
reporting it as connected and healthy, and while the gateway log filled with one
"ingress drain failed" line per second, forever.

Observed on a production gateway (latest main, Slack over Socket Mode):

  • slack ingress drain failed: openKeyedStore is only available for trusted plugins in this release.
  • ~3,550 occurrences per hour, sustained — 59-60/min, exactly the Slack ingress poll interval — in every hour of the retained log window (26+ hours; 5,904 in the current file alone).
  • Logged at INFO (logLevelId: 3) despite saying "failed", so nothing could ever alert on it.
  • Channel status simultaneously reported enabled, configured, running, connected, health:healthy.
  • Not one inbound Slack event was processed in the entire retained window; only slack socket mode connected appears.

The apparent 04:00:00.833Z onset was a red herring: the host rotates logs at local
midnight (UTC-4), the first line of the new file is 04:00:00.450Z, and the previous
day's file opens at 04:00:00.333Z with the same error. The condition was continuous.

Why This Change Was Made

openChannelIngressQueue is documented as available only to bundled plugins and
trusted official installs. Slack ships as an official external plugin
(@openclaw/slack), so a copy loaded through plugins.load.paths from a source
checkout is correctly untrusted and the capability is correctly denied. The denial is
not the defect — the handling of it is.

createChannelIngressMonitor resolved its durable queue lazily, so start() armed the
poll timer without ever touching the queue. Every subsequent tick called the throwing
factory again, and the shared pump routed the rejection into onError, which channels
wire to their ordinary log. A permanently unusable monitor therefore presented as an
endless stream of low-severity noise instead of a failed channel: no drain, no
admission, no visible failure.

The monitor now opens the queue before arming the poll timer, so a monitor that cannot
work fails channel start through the caller — the existing path for "this channel could
not start" — rather than running a timer that reports the same unrecoverable error
86,400 times a day. This is shared behavior across the 18 channel plugins built on this
monitor; for a bundled or trusted install the factory never throws and nothing changes.

The trust gate itself was also misreporting: openChannelIngressQueue and
openSyncKeyedStore both announced themselves as openKeyedStore, and the message
named neither the plugin nor where it was loaded from — so the log blamed an API Slack
never calls, on an unnamed plugin. It now names the denied capability, the plugin id,
its origin, and the remediation.

Deliberately not changed: the trust classification. Widening it to silence the log
would hand shared-state access to any sideloaded plugin. The correct operator fix is to
install the plugin from its official npm package or ClawHub listing.

User Impact

A channel plugin that cannot open its durable ingress queue now fails to start with an
actionable error naming the plugin, its origin, and how to fix it, instead of appearing
healthy while dropping every inbound message and writing ~86k INFO log lines a day.
Trusted and bundled channels are unaffected.

Operational remedy for anyone already in this state: install the plugin properly so it
carries an install record and a trusted origin — for Slack, openclaw plugins install @openclaw/slack — then remove the corresponding plugins.load.paths entry from
openclaw.json and restart the gateway. Inbound delivery resumes once the plugin loads
with a trusted origin. This change makes that state loud rather than silent; it does not
by itself restore a source-linked install.

Known confound when verifying on a live workspace: if several hosts connect with the
same Slack app token, Slack shards Socket Mode events across those connections and
delivers each event to only one of them. The affected gateway logged
slack socket mode reports 9 active connections for this Slack app. A tester can see
events vanish for reasons unrelated to ingress, so confirm a single active connection
before drawing conclusions.

Evidence

After-fix runtime proof

Real Node process against the production seams — createPluginRegistry builds a plugin
record with origin: "config" exactly as the affected host loads Slack, the queue
factory is the same api.runtime.state.openChannelIngressQueue({ accountId }) call the
Slack plugin makes at extensions/slack/src/monitor/ingress.ts:235, and the monitor uses
Slack's 1000 ms pollIntervalMs. Isolated OPENCLAW_STATE_DIR, no credentials, no
network, nothing redacted because nothing sensitive is produced.

Before (this branch reverted to main behavior) — reproduces the production symptom:

t+18268ms plugin record: id=slack origin=config trustedOfficialInstall=undefined
t+18269ms monitor.start() returned normally; isRunning=true
t+18269ms [INFO] slack ingress drain failed: openChannelIngressQueue is only available for trusted plugins in this release. Plugin "slack" ...
t+19272ms [INFO] slack ingress drain failed: openChannelIngressQueue is only available for trusted plugins in this release. Plugin "slack" ...
t+20276ms [INFO] slack ingress drain failed: openChannelIngressQueue is only available for trusted plugins in this release. Plugin "slack" ...
t+21278ms [INFO] slack ingress drain failed: openChannelIngressQueue is only available for trusted plugins in this release. Plugin "slack" ...
t+22279ms [INFO] slack ingress drain failed: openChannelIngressQueue is only available for trusted plugins in this release. Plugin "slack" ...
t+23280ms [INFO] slack ingress drain failed: openChannelIngressQueue is only available for trusted plugins in this release. Plugin "slack" ...
t+23369ms --- 5s window closed ---
t+23369ms drain-error lines emitted: 6
t+23370ms start() threw: no
t+23772ms admit() failed closed: openChannelIngressQueue is only available for trusted plugin...

One line per second, isRunning=true, inbound silently rejected — the same shape as the
production log.

After (this branch):

t+11875ms plugin record: id=slack origin=config trustedOfficialInstall=undefined
t+11876ms monitor.start() THREW; isRunning=false
t+11876ms [channel start failure] openChannelIngressQueue is only available for trusted plugins in this release. Plugin "slack" loaded with origin "config"; reinstall it from its official npm package or ClawHub listing to enable trusted plugin state.
t+16977ms --- 5s window closed ---
t+16977ms drain-error lines emitted: 0
t+16977ms start() threw: yes
t+17380ms admit() failed closed: openChannelIngressQueue is only available for trusted plugin...

One actionable failure naming the plugin, its origin, and the remedy; zero interval spam.

Trusted path unchanged — same script, same branch, origin: "bundled":

t+ 9923ms plugin record: id=slack origin=bundled trustedOfficialInstall=undefined
t+ 9925ms monitor.start() returned normally; isRunning=true
t+15027ms --- 5s window closed ---
t+15027ms drain-error lines emitted: 0
t+15027ms start() threw: no
t+15037ms admit() accepted the event (inbound would be processed)

The queue opens, the monitor runs, and an inbound event is admitted. This is the path all
18 channel plugins on the shared monitor take for a bundled or trusted-official install,
and it is byte-identical to main.

Remaining gap: no live Slack round trip. Restoring inbound on the affected host requires
installing @openclaw/slack as a trusted package on a production gateway, which is a
configuration change outside this PR.

Other proof

  • Live production log analysis on the affected gateway: per-hour histogram of the error
    across the full retained window (2026-07-27T04Z through 2026-07-28T05Z) showing a flat
    ~3,550/hour with no onset boundary, plus the log-rotation timestamps that explain the
    apparent 04:00 trigger.
  • New regression test in src/channels/message/ingress-monitor.test.ts: start()
    throws, the monitor does not run, the factory is invoked exactly once across a window
    covering 25 poll ticks, onError is never called, and admit() still fails closed.
    This test fails on main, where start() returns cleanly and the timer spins.
  • New regression test in src/plugin-state/plugin-state-store.runtime.test.ts locking
    the denial message to the actual capability name plus the plugin id and origin; the
    existing openSyncKeyedStore assertion was corrected from openKeyedStore.
  • Focused suites green via node scripts/run-vitest.mjs.
  • node scripts/check-changed.mjs green on Blacksmith Testbox (typecheck core, typecheck
    core tests, lint, format, plugin boundaries, SDK contract manifest).
  • Codex autoreview clean.

…enied

An untrusted channel plugin cannot open its durable ingress queue, but the shared
ingress monitor resolved the queue lazily, so start() armed the poll timer anyway and
every tick re-invoked the throwing factory. On a production gateway that produced one
INFO-level "slack ingress drain failed" line per second for 26+ hours while Slack
reported connected and healthy and every inbound event was silently dropped.

Open the queue before arming the poll timer so an unusable monitor fails channel start
through the caller instead of spinning. Also report the actual denied capability:
openChannelIngressQueue and openSyncKeyedStore both announced themselves as
openKeyedStore, and the message named neither the plugin nor its origin.
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation plugin: file-transfer size: S maintainer Maintainer-authored PR labels Jul 28, 2026
@steipete
steipete marked this pull request as ready for review July 28, 2026 06:32
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. labels Jul 28, 2026
@clawsweeper

clawsweeper Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 28, 2026, 2:36 AM ET / 06:36 UTC.

ClawSweeper review

What this changes

The PR opens a channel plugin’s durable ingress queue before polling begins, so a trust-gate denial fails channel startup rather than silently dropping inbound messages and repeatedly logging drain errors.

Merge readiness

⛔ Blocked until real behavior proof is added - 5 items remain

This is a targeted fix for a real message-delivery failure mode: an untrusted channel plugin can appear healthy while its durable ingress queue repeatedly fails. The branch’s fail-fast approach is plausible and preserves the existing trust boundary, but it changes shared channel startup behavior and needs maintainer confirmation plus after-fix runtime proof before merge.

Priority: P1
Reviewed head: 99d84dcd77d0210292dd100abecfeed5cca39c2d
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The implementation and focused regression coverage are coherent, but the required after-fix behavior proof is absent.
Proof confidence 🧂 unranked krab (1/6) Needs real behavior proof before merge: The PR documents pre-fix production logs and reports tests/checks, but provides no inspectable redacted after-fix live output showing the failed-start path or restored Slack inbound delivery. Add terminal output, logs, or a recording and redact tokens, IDs, endpoints, and other private details. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Needs proof Needs real behavior proof before merge: The PR documents pre-fix production logs and reports tests/checks, but provides no inspectable redacted after-fix live output showing the failed-start path or restored Slack inbound delivery. Add terminal output, logs, or a recording and redact tokens, IDs, endpoints, and other private details. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 5 items Fail-fast queue initialization: The branch calls the queue resolver before setting the monitor to running or arming its interval, so a synchronous trust-gate denial reaches the startup caller instead of becoming a repeating drain failure.
Regression coverage for the previously silent failure: The added monitor test asserts that startup throws, the monitor remains stopped, no poll-driven error callback runs, and transport admission remains fail-closed after a denied queue factory.
Trust diagnostic identifies the affected installation: The runtime resolver changes the trust-gate message to name the actual denied capability, plugin id, and installation origin, with a regression test for an ingress-queue denial.
Findings None None.
Security None None.

How this fits together

Channel plugins accept transport events and place them into a durable ingress queue before the shared inbound-reply flow processes them. The plugin runtime grants that queue only to bundled or trusted official installations, so a denied queue must be surfaced to channel startup rather than treated as a usable connected channel.

flowchart LR
  A[Channel plugin install] --> B[Plugin runtime trust check]
  B --> C[Durable ingress queue]
  C --> D[Ingress monitor startup]
  D --> E[Inbound event drain]
  E --> F[Agent reply flow]
  B -->|queue denied| G[Actionable channel startup failure]
  D -->|queue unavailable| G
Loading

Decision needed

Question Recommendation
Should all channel plugins sharing this monitor treat a denied durable ingress queue as a hard startup failure, rather than expose a connected-but-nonfunctional channel state? Approve fail-fast startup: Keep the existing trust boundary and make queue denial fail startup with the improved remediation message.

Why: The code path is shared across channel plugins and deliberately changes the operator-visible lifecycle for improperly installed external plugins; the repository’s compatibility guidance calls for explicit review of startup and fallback behavior.

Before merge

  • Add real behavior proof - Needs real behavior proof before merge: The PR documents pre-fix production logs and reports tests/checks, but provides no inspectable redacted after-fix live output showing the failed-start path or restored Slack inbound delivery. Add terminal output, logs, or a recording and redact tokens, IDs, endpoints, and other private details. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Resolve merge risk (P1) - This changes the startup outcome for every channel using the shared monitor: an installation that previously reported connected while dropping events will now fail channel startup and require the operator to install the trusted package or correct the plugin load path.
  • Resolve merge risk (P1) - The supplied evidence establishes the pre-fix production failure and regression tests, but it does not include redacted after-fix runtime output showing both the actionable failed-start path and successful inbound delivery after a trusted Slack installation.
  • Complete next step (P2) - The remaining blocker is a maintainer choice about shared channel startup semantics plus contributor-supplied real behavior proof, not a narrow mechanical repair.
Agent review details

Security

None.

PR surface

Source +8, Tests +36, Docs 0. Total +44 across 5 files.

View PR surface stats
Area Files Added Removed Net
Source 2 11 3 +8
Tests 2 38 2 +36
Docs 1 1 1 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 5 50 6 +44

Review metrics

None.

Merge-risk options

Maintainer options:

  1. Prove and retain the fail-fast path (recommended)
    Add redacted real-runtime evidence for denied startup and for restored inbound Slack delivery after installing the trusted plugin, then merge the bounded shared-monitor fix.
  2. Adopt an explicit unhealthy channel state
    If maintainers do not want startup to fail, redesign the monitor and status path so queue denial is visible, non-polling, and cannot advertise the channel as healthy.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Add redacted after-fix runtime proof showing the denied plugin fails startup without interval spam, then show one inbound Slack event delivered after the official trusted installation is used.

Technical review

Best possible solution:

Keep the trust restriction intact, make an unavailable durable ingress queue a clear failed channel state, and add redacted live proof that an untrusted Slack load fails visibly while a properly installed Slack plugin receives an inbound event.

Do we have a high-confidence way to reproduce the issue?

Yes, source-reproducible with medium confidence: the supplied regression test models a queue factory that throws during startup and verifies that current monitor behavior would otherwise arm polling. The reported real Slack scenario still needs after-fix runtime evidence in a single-connection setup.

Is this the best way to solve the issue?

Unclear pending maintainer confirmation. Failing the existing startup path is narrower and safer than weakening the trust gate, but the shared lifecycle change should be explicitly accepted rather than inferred from the Slack case alone.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against d6096f36e45f.

Labels

Label changes:

  • add P1: The reported behavior silently drops all inbound channel events while presenting the channel as healthy, affecting a live message workflow.
  • add merge-risk: 🚨 compatibility: Existing source-loaded external channel installations will change from misleading runtime operation to an explicit startup failure requiring operator remediation.
  • add merge-risk: 🚨 message-delivery: The shared ingress monitor controls whether inbound channel events are admitted and drained, so its startup semantics directly affect delivery.
  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • add status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The PR documents pre-fix production logs and reports tests/checks, but provides no inspectable redacted after-fix live output showing the failed-start path or restored Slack inbound delivery. Add terminal output, logs, or a recording and redact tokens, IDs, endpoints, and other private details. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Label justifications:

  • P1: The reported behavior silently drops all inbound channel events while presenting the channel as healthy, affecting a live message workflow.
  • merge-risk: 🚨 compatibility: Existing source-loaded external channel installations will change from misleading runtime operation to an explicit startup failure requiring operator remediation.
  • merge-risk: 🚨 message-delivery: The shared ingress monitor controls whether inbound channel events are admitted and drained, so its startup semantics directly affect delivery.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The PR documents pre-fix production logs and reports tests/checks, but provides no inspectable redacted after-fix live output showing the failed-start path or restored Slack inbound delivery. Add terminal output, logs, or a recording and redact tokens, IDs, endpoints, and other private details. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Evidence

What I checked:

  • Fail-fast queue initialization: The branch calls the queue resolver before setting the monitor to running or arming its interval, so a synchronous trust-gate denial reaches the startup caller instead of becoming a repeating drain failure. (src/channels/message/ingress-monitor.ts, 99d84dcd77d0)
  • Regression coverage for the previously silent failure: The added monitor test asserts that startup throws, the monitor remains stopped, no poll-driven error callback runs, and transport admission remains fail-closed after a denied queue factory. (src/channels/message/ingress-monitor.test.ts, 99d84dcd77d0)
  • Trust diagnostic identifies the affected installation: The runtime resolver changes the trust-gate message to name the actual denied capability, plugin id, and installation origin, with a regression test for an ingress-queue denial. (src/plugins/registry-runtime.ts, 99d84dcd77d0)
  • Existing public contract is documented: The SDK runtime documentation already limits durable state and ingress APIs to bundled or trusted official plugin installations; the PR clarifies the resulting startup behavior for untrusted channel installs. Public docs: docs/plugins/sdk-runtime.md. (docs/plugins/sdk-runtime.md, 99d84dcd77d0)
  • Automated validation reported by the PR: The supplied PR context reports focused Vitest suites, changed checks on Testbox, plugin-boundary checks, and the security/channel CI lanes passing or in progress. This supports static and regression coverage but does not demonstrate after-fix channel behavior in a real Slack setup. (99d84dcd77d0)

Likely related people:

  • steipete: Authored the current focused fix and supplied the production diagnosis tying the shared ingress monitor to Slack Socket Mode behavior; historical ownership could not be independently confirmed in this read-only review environment. (role: recent area contributor; confidence: low; commits: 99d84dcd77d0; files: src/channels/message/ingress-monitor.ts, src/plugins/registry-runtime.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Post redacted after-fix output proving queue denial fails startup once without interval spam.
  • Post redacted proof that a trusted Slack installation processes one inbound event under a single active Socket Mode connection.
  • Obtain maintainer confirmation for the shared fail-fast startup policy.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
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.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Rank-up moves applied:

Add real behavior proof — done. The PR body now carries a before/after/control
transcript from a real Node process driving the production seams: createPluginRegistry
with an origin: "config" record (exactly how the affected host loads Slack), the same
api.runtime.state.openChannelIngressQueue({ accountId }) call the plugin makes at
extensions/slack/src/monitor/ingress.ts:235, and Slack's 1000 ms poll interval.
Isolated OPENCLAW_STATE_DIR, no credentials, no network, nothing to redact.

  • Before: start() returns, isRunning=true, 6 drain-error lines in a 5 s window — one
    per second, matching the production log.
  • After: start() throws once naming the plugin, its origin, and the remedy;
    isRunning=false; 0 drain-error lines in the same window.
  • Control: same script, same branch, origin: "bundled" — queue opens, monitor runs, 0
    errors, and the inbound event is admitted.

Merge risk: startup outcome changes for every channel on the shared monitor — the
control leg above is the answer. For a bundled or trusted-official install the queue
factory cannot throw, so all 18 channel monitors behave identically to main. The
changed outcome applies only to an install that was already non-functional: its queue was
denied, nothing drained, and every inbound event was rejected. The change replaces a
connected-looking dead channel with a startup failure that says what to fix.

Merge risk: evidence lacked after-fix runtime output — covered by the same transcript.

Decision needed: fail-fast startup vs. an explicit unhealthy channel state — taking
option 1, fail-fast, as recommended. The narrower reason is ownership: making queue
denial visible through channel health means changing how channel status is derived, and
that surface is being worked separately (today connected is derived from transport
state alone, which is why this gateway reported health:healthy while deaf). That is a
real follow-up and it is listed in the review artifact, but it is a different owner
boundary and should not ride along with a four-line monitor fix. Fail-fast is also the
correct primitive underneath any future health work: a monitor that cannot open its
durable queue has nothing to report as healthy.

Remaining gap, stated plainly: no live Slack round trip. Restoring inbound on the
affected host requires installing @openclaw/slack as a trusted package on a production
gateway, which is a configuration change outside this PR.

@clawsweeper

clawsweeper Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@steipete
steipete merged commit ca26813 into main Jul 28, 2026
193 of 201 checks passed
@steipete
steipete deleted the fix/channel-ingress-queue-start-failure branch July 28, 2026 07:17
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 29, 2026
…enied (openclaw#114998)

An untrusted channel plugin cannot open its durable ingress queue, but the shared
ingress monitor resolved the queue lazily, so start() armed the poll timer anyway and
every tick re-invoked the throwing factory. On a production gateway that produced one
INFO-level "slack ingress drain failed" line per second for 26+ hours while Slack
reported connected and healthy and every inbound event was silently dropped.

Open the queue before arming the poll timer so an unusable monitor fails channel start
through the caller instead of spinning. Also report the actual denied capability:
openChannelIngressQueue and openSyncKeyedStore both announced themselves as
openKeyedStore, and the message named neither the plugin nor its origin.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. P1 High-priority user-facing bug, regression, or broken workflow. plugin: file-transfer rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: S status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant