openclaw - 💡(How to fix) Fix [Bug]: 5.22 still has ~20s session-resource-loader blocking in long Feishu multi-agent sessions

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

In OpenClaw 5.22, OAuth/auth and subagent loading are noticeably improved compared to earlier 5.x builds. However, long Feishu multi-agent sessions still experience a consistent ~20s blocking delay inside session-resource-loader before response streaming begins. This delay happens on nearly every warm request and becomes severe in long-running multi-agent workflows.

Root Cause

In OpenClaw 5.22, OAuth/auth and subagent loading are noticeably improved compared to earlier 5.x builds. However, long Feishu multi-agent sessions still experience a consistent ~20s blocking delay inside session-resource-loader before response streaming begins. This delay happens on nearly every warm request and becomes severe in long-running multi-agent workflows.

Fix Action

Fix / Workaround

Warm-turn requests should begin streaming shortly after dispatch, similar to 4.23 behavior.

16:02:49 [agent/embedded] [trace:embedded-run] core-plugin-tool stages: runId=401d82b4-749a-48ce-8bb7-ece398409c05 sessionId=6b6d0db6-8c67-437a-ac4d-49c0dff32fb6 phase=core-plugin-tools totalMs=5118 stages=tool-policy:1938ms@1938ms,workspace-policy:0ms@1938ms,base-coding-tools:1ms@1939ms,shell-tools:0ms@1939ms,openclaw-tools:session-workspace:1ms@1940ms,openclaw-tools:image-tool:268ms@2208ms,openclaw-tools:image-generate-tool:264ms@2472ms,openclaw-tools:video-generate-tool:972ms@3444ms,openclaw-tools:music-generate-tool:238ms@3682ms,openclaw-tools:pdf-tool:1ms@3683ms,openclaw-tools:web-search-tool:0ms@3683ms,openclaw-tools:web-fetch-tool:0ms@3683ms,openclaw-tools:message-tool:1ms@3684ms,openclaw-tools:nodes-tool:1ms@3685ms,openclaw-tools:core-tool-list:2ms@3687ms,openclaw-tools:plugin-tools:1424ms@5111ms,openclaw-tools:0ms@5111ms,message-provider-policy:0ms@5111ms,model-provider-policy:0ms@5111ms,authorization-policy:1ms@5112ms,schema-normalization:5ms@5117ms,tool-hooks:0ms@5117ms,abort-wrappers:0ms@5117ms,deferred-followup-descriptions:1ms@5118ms,attempt:create-openclaw-coding-tools:0ms@5118ms,attempt:tools-allow:0ms@5118ms 16:03:10 [agent/embedded] [trace:embedded-run] prep stages: runId=401d82b4-749a-48ce-8bb7-ece398409c05 sessionId=6b6d0db6-8c67-437a-ac4d-49c0dff32fb6 phase=stream-ready totalMs=25907 stages=workspace-sandbox:10ms@10ms,skills:0ms@10ms,core-plugin-tools:5119ms@5129ms,bootstrap-context:37ms@5166ms,bundle-tools:471ms@5637ms,system-prompt:9ms@5646ms,session-resource-loader:20229ms@25875ms,agent-session:3ms@25878ms,stream-setup:28ms@25906ms 16:03:12 [diagnostic] liveness warning: reasons=event_loop_delay,event_loop_utilization,cpu interval=31s eventLoopDelayP99Ms=20283.7 eventLoopDelayMaxMs=20283.7 eventLoopUtilization=1 cpuCoreRatio=0.999 active=1 waiting=0 queued=0 recentPhases=post-attach.update-check:2ms,post-attach.update-sentinel:19ms,sidecars.restart-sentinel:30ms,sidecars.model-prewarm:8458ms,sidecars.session-locks:6122ms,post-ready.maintenance:710ms work=[active=agent:main:feishu:direct:ou_46455b0cca3c46506b766aeef317a259(processing/embedded_run,q=1,age=48s last=embedded_run:started)] 16:05:12 [feishu] feishu[default]: dispatch complete (queuedFinal=true, replies=1) 16:07:42 [agent/embedded] [trace:embedded-run] core-plugin-tool stages: runId=cf0dfc9f-5ef7-461f-8f2c-c59e94b320cd sessionId=144e942f-dd96-4009-a59e-e8a8dbcaeae8 phase=core-plugin-tools totalMs=5180 stages=tool-policy:1972ms@1972ms,workspace-policy:0ms@1972ms,base-coding-tools:0ms@1972ms,shell-tools:0ms@1972ms,openclaw-tools:session-workspace:1ms@1973ms,openclaw-tools:image-tool:265ms@2238ms,openclaw-tools:image-generate-tool:243ms@2481ms,openclaw-tools:video-generate-tool:983ms@3464ms,openclaw-tools:music-generate-tool:242ms@3706ms,openclaw-tools:pdf-tool:0ms@3706ms,openclaw-tools:web-search-tool:0ms@3706ms,openclaw-tools:web-fetch-tool:0ms@3706ms,openclaw-tools:message-tool:2ms@3708ms,openclaw-tools:nodes-tool:0ms@3708ms,openclaw-tools:core-tool-list:0ms@3708ms,openclaw-tools:plugin-tools:1466ms@5174ms,openclaw-tools:0ms@5174ms,message-provider-policy:0ms@5174ms,model-provider-policy:0ms@5174ms,authorization-policy:2ms@5176ms,schema-normalization:4ms@5180ms,tool-hooks:0ms@5180ms,abort-wrappers:0ms@5180ms,deferred-followup-descriptions:0ms@5180ms,attempt:create-openclaw-coding-tools:0ms@5180ms,attempt:tools-allow:0ms@5180ms 16:08:03 [agent/embedded] [trace:embedded-run] prep stages: runId=cf0dfc9f-5ef7-461f-8f2c-c59e94b320cd sessionId=144e942f-dd96-4009-a59e-e8a8dbcaeae8 phase=stream-ready totalMs=26352 stages=workspace-sandbox:1ms@1ms,skills:0ms@1ms,core-plugin-tools:5181ms@5182ms,bootstrap-context:38ms@5220ms,bundle-tools:727ms@5947ms,system-prompt:7ms@5954ms,session-resource-loader:20355ms@26309ms,agent-session:3ms@26312ms,stream-setup:40ms@26352ms 16:37:42 [agent/embedded] [trace:embedded-run] core-plugin-tool stages: runId=8c6bd616-eea1-4536-a9d0-13231123c0d0 sessionId=144e942f-dd96-4009-a59e-e8a8dbcaeae8 phase=core-plugin-tools totalMs=5184 stages=tool-policy:1971ms@1971ms,workspace-policy:1ms@1972ms,base-coding-tools:1ms@1973ms,shell-tools:0ms@1973ms,openclaw-tools:session-workspace:1ms@1974ms,openclaw-tools:image-tool:295ms@2269ms,openclaw-tools:image-generate-tool:245ms@2514ms,openclaw-tools:video-generate-tool:963ms@3477ms,openclaw-tools:music-generate-tool:242ms@3719ms,openclaw-tools:pdf-tool:0ms@3719ms,openclaw-tools:web-search-tool:1ms@3720ms,openclaw-tools:web-fetch-tool:0ms@3720ms,openclaw-tools:message-tool:2ms@3722ms,openclaw-tools:nodes-tool:0ms@3722ms,openclaw-tools:core-tool-list:2ms@3724ms,openclaw-tools:plugin-tools:1453ms@5177ms,openclaw-tools:0ms@5177ms,message-provider-policy:0ms@5177ms,model-provider-policy:0ms@5177ms,authorization-policy:2ms@5179ms,schema-normalization:4ms@5183ms,tool-hooks:0ms@5183ms,abort-wrappers:0ms@5183ms,deferred-followup-descriptions:1ms@5184ms,attempt:create-openclaw-coding-tools:0ms@5184ms,attempt:tools-allow:0ms@5184ms 16:37:42 [feishu] feishu[default]: message om_x100b6e1ed6f0f0a0c3a6d3eb60a3cd0 expired, discarding 16:38:03 [agent/embedded] [trace:embedded-run] prep stages: runId=8c6bd616-eea1-4536-a9d0-13231123c0d0 sessionId=144e942f-dd96-4009-a59e-e8a8dbcaeae8 phase=stream-ready totalMs=26325 stages=workspace-sandbox:39ms@39ms,skills:0ms@39ms,core-plugin-tools:5184ms@5223ms,bootstrap-context:61ms@5284ms,bundle-tools:711ms@5995ms,system-prompt:10ms@6005ms,session-resource-loader:20286ms@26291ms,agent-session:4ms@26295ms,stream-setup:30ms@26325ms 16:40:43 [feishu] feishu[default]: message om_x100b6e1eed7ca4a0c4586ba3ee87899 expired, discarding 17:07:43 [agent/embedded] [trace:embedded-run] core-plugin-tool stages: runId=11096291-8061-44f4-98d0-ea19f86fae3e sessionId=144e942f-dd96-4009-a59e-e8a8dbcaeae8 phase=core-plugin-tools totalMs=5152 stages=tool-policy:1948ms@1948ms,workspace-policy:0ms@1948ms,base-coding-tools:1ms@1949ms,shell-tools:0ms@1949ms,openclaw-tools:session-workspace:10ms@1959ms,openclaw-tools:image-tool:275ms@2234ms,openclaw-tools:image-generate-tool:245ms@2479ms,openclaw-tools:video-generate-tool:949ms@3428ms,openclaw-tools:music-generate-tool:246ms@3674ms,openclaw-tools:pdf-tool:0ms@3674ms,openclaw-tools:web-search-tool:0ms@3674ms,openclaw-tools:web-fetch-tool:0ms@3674ms,openclaw-tools:message-tool:2ms@3676ms,openclaw-tools:nodes-tool:0ms@3676ms,openclaw-tools:core-tool-list:10ms@3686ms,openclaw-tools:plugin-tools:1459ms@5145ms,openclaw-tools:0ms@5145ms,message-provider-policy:0ms@5145ms,model-provider-policy:0ms@5145ms,authorization-policy:1ms@5146ms,schema-normalization:5ms@5151ms,tool-hooks:0ms@5151ms,abort-wrappers:0ms@5151ms,deferred-followup-descriptions:1ms@5152ms,attempt:create-openclaw-coding-tools:0ms@5152ms,attempt:tools-allow:0ms@5152ms 17:08:04 [agent/embedded] [trace:embedded-run] prep stages: runId=11096291-8061-44f4-98d0-ea19f86fae3e sessionId=144e942f-dd96-4009-a59e-e8a8dbcaeae8 phase=stream-ready totalMs=26278 stages=workspace-sandbox:16ms@16ms,skills:2ms@18ms,core-plugin-tools:5152ms@5170ms,bootstrap-context:79ms@5249ms,bundle-tools:722ms@5971ms,system-prompt:19ms@5990ms,session-resource-loader:20245ms@26235ms,agent-session:3ms@26238ms,stream-setup:40ms@26278ms 17:08:08 [diagnostic] liveness warning: reasons=event_loop_delay,cpu interval=30s eventLoopDelayP99Ms=5175.8 eventLoopDelayMaxMs=20283.7 eventLoopUtilization=0.882 cpuCoreRatio=0.9 active=1 waiting=0 queued=0 recentPhases=post-attach.update-check:2ms,post-attach.update-sentinel:19ms,sidecars.restart-sentinel:30ms,sidecars.model-prewarm:8458ms,sidecars.session-locks:6122ms,post-ready.maintenance:710ms work=[active=agent:main:main(processing/model_call,q=0,age=4s last=model_call:started)]

Code Example

Representative prep-stage trace:
prep stages totalMs=25907
session-resource-loader=20229ms

Representative diagnostic trace:
eventLoopDelayP99Ms=20283.7
eventLoopUtilization=1

16:02:49 [agent/embedded] [trace:embedded-run] core-plugin-tool stages: runId=401d82b4-749a-48ce-8bb7-ece398409c05 sessionId=6b6d0db6-8c67-437a-ac4d-49c0dff32fb6 phase=core-plugin-tools totalMs=5118 stages=tool-policy:1938ms@1938ms,workspace-policy:0ms@1938ms,base-coding-tools:1ms@1939ms,shell-tools:0ms@1939ms,openclaw-tools:session-workspace:1ms@1940ms,openclaw-tools:image-tool:268ms@2208ms,openclaw-tools:image-generate-tool:264ms@2472ms,openclaw-tools:video-generate-tool:972ms@3444ms,openclaw-tools:music-generate-tool:238ms@3682ms,openclaw-tools:pdf-tool:1ms@3683ms,openclaw-tools:web-search-tool:0ms@3683ms,openclaw-tools:web-fetch-tool:0ms@3683ms,openclaw-tools:message-tool:1ms@3684ms,openclaw-tools:nodes-tool:1ms@3685ms,openclaw-tools:core-tool-list:2ms@3687ms,openclaw-tools:plugin-tools:1424ms@5111ms,openclaw-tools:0ms@5111ms,message-provider-policy:0ms@5111ms,model-provider-policy:0ms@5111ms,authorization-policy:1ms@5112ms,schema-normalization:5ms@5117ms,tool-hooks:0ms@5117ms,abort-wrappers:0ms@5117ms,deferred-followup-descriptions:1ms@5118ms,attempt:create-openclaw-coding-tools:0ms@5118ms,attempt:tools-allow:0ms@5118ms
16:03:10 [agent/embedded] [trace:embedded-run] prep stages: runId=401d82b4-749a-48ce-8bb7-ece398409c05 sessionId=6b6d0db6-8c67-437a-ac4d-49c0dff32fb6 phase=stream-ready totalMs=25907 stages=workspace-sandbox:10ms@10ms,skills:0ms@10ms,core-plugin-tools:5119ms@5129ms,bootstrap-context:37ms@5166ms,bundle-tools:471ms@5637ms,system-prompt:9ms@5646ms,session-resource-loader:20229ms@25875ms,agent-session:3ms@25878ms,stream-setup:28ms@25906ms
16:03:12 [diagnostic] liveness warning: reasons=event_loop_delay,event_loop_utilization,cpu interval=31s eventLoopDelayP99Ms=20283.7 eventLoopDelayMaxMs=20283.7 eventLoopUtilization=1 cpuCoreRatio=0.999 active=1 waiting=0 queued=0 recentPhases=post-attach.update-check:2ms,post-attach.update-sentinel:19ms,sidecars.restart-sentinel:30ms,sidecars.model-prewarm:8458ms,sidecars.session-locks:6122ms,post-ready.maintenance:710ms work=[active=agent:main:feishu:direct:ou_46455b0cca3c46506b766aeef317a259(processing/embedded_run,q=1,age=48s last=embedded_run:started)]
16:05:12 [feishu] feishu[default]: dispatch complete (queuedFinal=true, replies=1)
16:07:42 [agent/embedded] [trace:embedded-run] core-plugin-tool stages: runId=cf0dfc9f-5ef7-461f-8f2c-c59e94b320cd sessionId=144e942f-dd96-4009-a59e-e8a8dbcaeae8 phase=core-plugin-tools totalMs=5180 stages=tool-policy:1972ms@1972ms,workspace-policy:0ms@1972ms,base-coding-tools:0ms@1972ms,shell-tools:0ms@1972ms,openclaw-tools:session-workspace:1ms@1973ms,openclaw-tools:image-tool:265ms@2238ms,openclaw-tools:image-generate-tool:243ms@2481ms,openclaw-tools:video-generate-tool:983ms@3464ms,openclaw-tools:music-generate-tool:242ms@3706ms,openclaw-tools:pdf-tool:0ms@3706ms,openclaw-tools:web-search-tool:0ms@3706ms,openclaw-tools:web-fetch-tool:0ms@3706ms,openclaw-tools:message-tool:2ms@3708ms,openclaw-tools:nodes-tool:0ms@3708ms,openclaw-tools:core-tool-list:0ms@3708ms,openclaw-tools:plugin-tools:1466ms@5174ms,openclaw-tools:0ms@5174ms,message-provider-policy:0ms@5174ms,model-provider-policy:0ms@5174ms,authorization-policy:2ms@5176ms,schema-normalization:4ms@5180ms,tool-hooks:0ms@5180ms,abort-wrappers:0ms@5180ms,deferred-followup-descriptions:0ms@5180ms,attempt:create-openclaw-coding-tools:0ms@5180ms,attempt:tools-allow:0ms@5180ms
16:08:03 [agent/embedded] [trace:embedded-run] prep stages: runId=cf0dfc9f-5ef7-461f-8f2c-c59e94b320cd sessionId=144e942f-dd96-4009-a59e-e8a8dbcaeae8 phase=stream-ready totalMs=26352 stages=workspace-sandbox:1ms@1ms,skills:0ms@1ms,core-plugin-tools:5181ms@5182ms,bootstrap-context:38ms@5220ms,bundle-tools:727ms@5947ms,system-prompt:7ms@5954ms,session-resource-loader:20355ms@26309ms,agent-session:3ms@26312ms,stream-setup:40ms@26352ms
16:37:42 [agent/embedded] [trace:embedded-run] core-plugin-tool stages: runId=8c6bd616-eea1-4536-a9d0-13231123c0d0 sessionId=144e942f-dd96-4009-a59e-e8a8dbcaeae8 phase=core-plugin-tools totalMs=5184 stages=tool-policy:1971ms@1971ms,workspace-policy:1ms@1972ms,base-coding-tools:1ms@1973ms,shell-tools:0ms@1973ms,openclaw-tools:session-workspace:1ms@1974ms,openclaw-tools:image-tool:295ms@2269ms,openclaw-tools:image-generate-tool:245ms@2514ms,openclaw-tools:video-generate-tool:963ms@3477ms,openclaw-tools:music-generate-tool:242ms@3719ms,openclaw-tools:pdf-tool:0ms@3719ms,openclaw-tools:web-search-tool:1ms@3720ms,openclaw-tools:web-fetch-tool:0ms@3720ms,openclaw-tools:message-tool:2ms@3722ms,openclaw-tools:nodes-tool:0ms@3722ms,openclaw-tools:core-tool-list:2ms@3724ms,openclaw-tools:plugin-tools:1453ms@5177ms,openclaw-tools:0ms@5177ms,message-provider-policy:0ms@5177ms,model-provider-policy:0ms@5177ms,authorization-policy:2ms@5179ms,schema-normalization:4ms@5183ms,tool-hooks:0ms@5183ms,abort-wrappers:0ms@5183ms,deferred-followup-descriptions:1ms@5184ms,attempt:create-openclaw-coding-tools:0ms@5184ms,attempt:tools-allow:0ms@5184ms
16:37:42 [feishu] feishu[default]: message om_x100b6e1ed6f0f0a0c3a6d3eb60a3cd0 expired, discarding
16:38:03 [agent/embedded] [trace:embedded-run] prep stages: runId=8c6bd616-eea1-4536-a9d0-13231123c0d0 sessionId=144e942f-dd96-4009-a59e-e8a8dbcaeae8 phase=stream-ready totalMs=26325 stages=workspace-sandbox:39ms@39ms,skills:0ms@39ms,core-plugin-tools:5184ms@5223ms,bootstrap-context:61ms@5284ms,bundle-tools:711ms@5995ms,system-prompt:10ms@6005ms,session-resource-loader:20286ms@26291ms,agent-session:4ms@26295ms,stream-setup:30ms@26325ms
16:40:43 [feishu] feishu[default]: message om_x100b6e1eed7ca4a0c4586ba3ee87899 expired, discarding
17:07:43 [agent/embedded] [trace:embedded-run] core-plugin-tool stages: runId=11096291-8061-44f4-98d0-ea19f86fae3e sessionId=144e942f-dd96-4009-a59e-e8a8dbcaeae8 phase=core-plugin-tools totalMs=5152 stages=tool-policy:1948ms@1948ms,workspace-policy:0ms@1948ms,base-coding-tools:1ms@1949ms,shell-tools:0ms@1949ms,openclaw-tools:session-workspace:10ms@1959ms,openclaw-tools:image-tool:275ms@2234ms,openclaw-tools:image-generate-tool:245ms@2479ms,openclaw-tools:video-generate-tool:949ms@3428ms,openclaw-tools:music-generate-tool:246ms@3674ms,openclaw-tools:pdf-tool:0ms@3674ms,openclaw-tools:web-search-tool:0ms@3674ms,openclaw-tools:web-fetch-tool:0ms@3674ms,openclaw-tools:message-tool:2ms@3676ms,openclaw-tools:nodes-tool:0ms@3676ms,openclaw-tools:core-tool-list:10ms@3686ms,openclaw-tools:plugin-tools:1459ms@5145ms,openclaw-tools:0ms@5145ms,message-provider-policy:0ms@5145ms,model-provider-policy:0ms@5145ms,authorization-policy:1ms@5146ms,schema-normalization:5ms@5151ms,tool-hooks:0ms@5151ms,abort-wrappers:0ms@5151ms,deferred-followup-descriptions:1ms@5152ms,attempt:create-openclaw-coding-tools:0ms@5152ms,attempt:tools-allow:0ms@5152ms
17:08:04 [agent/embedded] [trace:embedded-run] prep stages: runId=11096291-8061-44f4-98d0-ea19f86fae3e sessionId=144e942f-dd96-4009-a59e-e8a8dbcaeae8 phase=stream-ready totalMs=26278 stages=workspace-sandbox:16ms@16ms,skills:2ms@18ms,core-plugin-tools:5152ms@5170ms,bootstrap-context:79ms@5249ms,bundle-tools:722ms@5971ms,system-prompt:19ms@5990ms,session-resource-loader:20245ms@26235ms,agent-session:3ms@26238ms,stream-setup:40ms@26278ms
17:08:08 [diagnostic] liveness warning: reasons=event_loop_delay,cpu interval=30s eventLoopDelayP99Ms=5175.8 eventLoopDelayMaxMs=20283.7 eventLoopUtilization=0.882 cpuCoreRatio=0.9 active=1 waiting=0 queued=0 recentPhases=post-attach.update-check:2ms,post-attach.update-sentinel:19ms,sidecars.restart-sentinel:30ms,sidecars.model-prewarm:8458ms,sidecars.session-locks:6122ms,post-ready.maintenance:710ms work=[active=agent:main:main(processing/model_call,q=0,age=4s last=model_call:started)]
RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

In OpenClaw 5.22, OAuth/auth and subagent loading are noticeably improved compared to earlier 5.x builds. However, long Feishu multi-agent sessions still experience a consistent ~20s blocking delay inside session-resource-loader before response streaming begins. This delay happens on nearly every warm request and becomes severe in long-running multi-agent workflows.

Steps to reproduce

Run OpenClaw 5.22 Configure Feishu multi-agent workflow Use minimaxi-cn Keep the same session active across multiple requests Observe prep-stage timing logs

Expected behavior

Warm-turn requests should begin streaming shortly after dispatch, similar to 4.23 behavior.

Actual behavior

Repeated warm requests consistently spend ~20s in: session-resource-loader before any response streaming begins. Representative traces: session-resource-loader:20229ms@25875ms session-resource-loader:20355ms@26309ms session-resource-loader:20286ms@26291ms session-resource-loader:20245ms@26235ms

Diagnostic traces during the same stage: eventLoopDelayP99Ms=20283.7 eventLoopUtilization=1

Some Feishu messages eventually expire before completion: message expired, discarding

OpenClaw version

2026.5.22

Operating system

Windows11

Install method

npm global

Model

MiniMax-M2.7

Provider / routing chain

minimaxi-cn → Feishu multi-agent workflow

Additional provider/model setup details

  • Feishu multi-agent environment (4 agents)
  • Primary model/provider: minimaxi-cn
  • Fallback model: DeepSeek
  • Same routing and provider configuration tested across both 4.23 and 5.22
  • Long-running shared session context
  • Warm-turn testing performed inside the same active Feishu conversations
  • No auth/profile/API configuration changes between versions
  • Delays reproduced under identical workspace and routing conditions

Logs, screenshots, and evidence

Representative prep-stage trace:
prep stages totalMs=25907
session-resource-loader=20229ms

Representative diagnostic trace:
eventLoopDelayP99Ms=20283.7
eventLoopUtilization=1

16:02:49 [agent/embedded] [trace:embedded-run] core-plugin-tool stages: runId=401d82b4-749a-48ce-8bb7-ece398409c05 sessionId=6b6d0db6-8c67-437a-ac4d-49c0dff32fb6 phase=core-plugin-tools totalMs=5118 stages=tool-policy:1938ms@1938ms,workspace-policy:0ms@1938ms,base-coding-tools:1ms@1939ms,shell-tools:0ms@1939ms,openclaw-tools:session-workspace:1ms@1940ms,openclaw-tools:image-tool:268ms@2208ms,openclaw-tools:image-generate-tool:264ms@2472ms,openclaw-tools:video-generate-tool:972ms@3444ms,openclaw-tools:music-generate-tool:238ms@3682ms,openclaw-tools:pdf-tool:1ms@3683ms,openclaw-tools:web-search-tool:0ms@3683ms,openclaw-tools:web-fetch-tool:0ms@3683ms,openclaw-tools:message-tool:1ms@3684ms,openclaw-tools:nodes-tool:1ms@3685ms,openclaw-tools:core-tool-list:2ms@3687ms,openclaw-tools:plugin-tools:1424ms@5111ms,openclaw-tools:0ms@5111ms,message-provider-policy:0ms@5111ms,model-provider-policy:0ms@5111ms,authorization-policy:1ms@5112ms,schema-normalization:5ms@5117ms,tool-hooks:0ms@5117ms,abort-wrappers:0ms@5117ms,deferred-followup-descriptions:1ms@5118ms,attempt:create-openclaw-coding-tools:0ms@5118ms,attempt:tools-allow:0ms@5118ms
16:03:10 [agent/embedded] [trace:embedded-run] prep stages: runId=401d82b4-749a-48ce-8bb7-ece398409c05 sessionId=6b6d0db6-8c67-437a-ac4d-49c0dff32fb6 phase=stream-ready totalMs=25907 stages=workspace-sandbox:10ms@10ms,skills:0ms@10ms,core-plugin-tools:5119ms@5129ms,bootstrap-context:37ms@5166ms,bundle-tools:471ms@5637ms,system-prompt:9ms@5646ms,session-resource-loader:20229ms@25875ms,agent-session:3ms@25878ms,stream-setup:28ms@25906ms
16:03:12 [diagnostic] liveness warning: reasons=event_loop_delay,event_loop_utilization,cpu interval=31s eventLoopDelayP99Ms=20283.7 eventLoopDelayMaxMs=20283.7 eventLoopUtilization=1 cpuCoreRatio=0.999 active=1 waiting=0 queued=0 recentPhases=post-attach.update-check:2ms,post-attach.update-sentinel:19ms,sidecars.restart-sentinel:30ms,sidecars.model-prewarm:8458ms,sidecars.session-locks:6122ms,post-ready.maintenance:710ms work=[active=agent:main:feishu:direct:ou_46455b0cca3c46506b766aeef317a259(processing/embedded_run,q=1,age=48s last=embedded_run:started)]
16:05:12 [feishu] feishu[default]: dispatch complete (queuedFinal=true, replies=1)
16:07:42 [agent/embedded] [trace:embedded-run] core-plugin-tool stages: runId=cf0dfc9f-5ef7-461f-8f2c-c59e94b320cd sessionId=144e942f-dd96-4009-a59e-e8a8dbcaeae8 phase=core-plugin-tools totalMs=5180 stages=tool-policy:1972ms@1972ms,workspace-policy:0ms@1972ms,base-coding-tools:0ms@1972ms,shell-tools:0ms@1972ms,openclaw-tools:session-workspace:1ms@1973ms,openclaw-tools:image-tool:265ms@2238ms,openclaw-tools:image-generate-tool:243ms@2481ms,openclaw-tools:video-generate-tool:983ms@3464ms,openclaw-tools:music-generate-tool:242ms@3706ms,openclaw-tools:pdf-tool:0ms@3706ms,openclaw-tools:web-search-tool:0ms@3706ms,openclaw-tools:web-fetch-tool:0ms@3706ms,openclaw-tools:message-tool:2ms@3708ms,openclaw-tools:nodes-tool:0ms@3708ms,openclaw-tools:core-tool-list:0ms@3708ms,openclaw-tools:plugin-tools:1466ms@5174ms,openclaw-tools:0ms@5174ms,message-provider-policy:0ms@5174ms,model-provider-policy:0ms@5174ms,authorization-policy:2ms@5176ms,schema-normalization:4ms@5180ms,tool-hooks:0ms@5180ms,abort-wrappers:0ms@5180ms,deferred-followup-descriptions:0ms@5180ms,attempt:create-openclaw-coding-tools:0ms@5180ms,attempt:tools-allow:0ms@5180ms
16:08:03 [agent/embedded] [trace:embedded-run] prep stages: runId=cf0dfc9f-5ef7-461f-8f2c-c59e94b320cd sessionId=144e942f-dd96-4009-a59e-e8a8dbcaeae8 phase=stream-ready totalMs=26352 stages=workspace-sandbox:1ms@1ms,skills:0ms@1ms,core-plugin-tools:5181ms@5182ms,bootstrap-context:38ms@5220ms,bundle-tools:727ms@5947ms,system-prompt:7ms@5954ms,session-resource-loader:20355ms@26309ms,agent-session:3ms@26312ms,stream-setup:40ms@26352ms
16:37:42 [agent/embedded] [trace:embedded-run] core-plugin-tool stages: runId=8c6bd616-eea1-4536-a9d0-13231123c0d0 sessionId=144e942f-dd96-4009-a59e-e8a8dbcaeae8 phase=core-plugin-tools totalMs=5184 stages=tool-policy:1971ms@1971ms,workspace-policy:1ms@1972ms,base-coding-tools:1ms@1973ms,shell-tools:0ms@1973ms,openclaw-tools:session-workspace:1ms@1974ms,openclaw-tools:image-tool:295ms@2269ms,openclaw-tools:image-generate-tool:245ms@2514ms,openclaw-tools:video-generate-tool:963ms@3477ms,openclaw-tools:music-generate-tool:242ms@3719ms,openclaw-tools:pdf-tool:0ms@3719ms,openclaw-tools:web-search-tool:1ms@3720ms,openclaw-tools:web-fetch-tool:0ms@3720ms,openclaw-tools:message-tool:2ms@3722ms,openclaw-tools:nodes-tool:0ms@3722ms,openclaw-tools:core-tool-list:2ms@3724ms,openclaw-tools:plugin-tools:1453ms@5177ms,openclaw-tools:0ms@5177ms,message-provider-policy:0ms@5177ms,model-provider-policy:0ms@5177ms,authorization-policy:2ms@5179ms,schema-normalization:4ms@5183ms,tool-hooks:0ms@5183ms,abort-wrappers:0ms@5183ms,deferred-followup-descriptions:1ms@5184ms,attempt:create-openclaw-coding-tools:0ms@5184ms,attempt:tools-allow:0ms@5184ms
16:37:42 [feishu] feishu[default]: message om_x100b6e1ed6f0f0a0c3a6d3eb60a3cd0 expired, discarding
16:38:03 [agent/embedded] [trace:embedded-run] prep stages: runId=8c6bd616-eea1-4536-a9d0-13231123c0d0 sessionId=144e942f-dd96-4009-a59e-e8a8dbcaeae8 phase=stream-ready totalMs=26325 stages=workspace-sandbox:39ms@39ms,skills:0ms@39ms,core-plugin-tools:5184ms@5223ms,bootstrap-context:61ms@5284ms,bundle-tools:711ms@5995ms,system-prompt:10ms@6005ms,session-resource-loader:20286ms@26291ms,agent-session:4ms@26295ms,stream-setup:30ms@26325ms
16:40:43 [feishu] feishu[default]: message om_x100b6e1eed7ca4a0c4586ba3ee87899 expired, discarding
17:07:43 [agent/embedded] [trace:embedded-run] core-plugin-tool stages: runId=11096291-8061-44f4-98d0-ea19f86fae3e sessionId=144e942f-dd96-4009-a59e-e8a8dbcaeae8 phase=core-plugin-tools totalMs=5152 stages=tool-policy:1948ms@1948ms,workspace-policy:0ms@1948ms,base-coding-tools:1ms@1949ms,shell-tools:0ms@1949ms,openclaw-tools:session-workspace:10ms@1959ms,openclaw-tools:image-tool:275ms@2234ms,openclaw-tools:image-generate-tool:245ms@2479ms,openclaw-tools:video-generate-tool:949ms@3428ms,openclaw-tools:music-generate-tool:246ms@3674ms,openclaw-tools:pdf-tool:0ms@3674ms,openclaw-tools:web-search-tool:0ms@3674ms,openclaw-tools:web-fetch-tool:0ms@3674ms,openclaw-tools:message-tool:2ms@3676ms,openclaw-tools:nodes-tool:0ms@3676ms,openclaw-tools:core-tool-list:10ms@3686ms,openclaw-tools:plugin-tools:1459ms@5145ms,openclaw-tools:0ms@5145ms,message-provider-policy:0ms@5145ms,model-provider-policy:0ms@5145ms,authorization-policy:1ms@5146ms,schema-normalization:5ms@5151ms,tool-hooks:0ms@5151ms,abort-wrappers:0ms@5151ms,deferred-followup-descriptions:1ms@5152ms,attempt:create-openclaw-coding-tools:0ms@5152ms,attempt:tools-allow:0ms@5152ms
17:08:04 [agent/embedded] [trace:embedded-run] prep stages: runId=11096291-8061-44f4-98d0-ea19f86fae3e sessionId=144e942f-dd96-4009-a59e-e8a8dbcaeae8 phase=stream-ready totalMs=26278 stages=workspace-sandbox:16ms@16ms,skills:2ms@18ms,core-plugin-tools:5152ms@5170ms,bootstrap-context:79ms@5249ms,bundle-tools:722ms@5971ms,system-prompt:19ms@5990ms,session-resource-loader:20245ms@26235ms,agent-session:3ms@26238ms,stream-setup:40ms@26278ms
17:08:08 [diagnostic] liveness warning: reasons=event_loop_delay,cpu interval=30s eventLoopDelayP99Ms=5175.8 eventLoopDelayMaxMs=20283.7 eventLoopUtilization=0.882 cpuCoreRatio=0.9 active=1 waiting=0 queued=0 recentPhases=post-attach.update-check:2ms,post-attach.update-sentinel:19ms,sidecars.restart-sentinel:30ms,sidecars.model-prewarm:8458ms,sidecars.session-locks:6122ms,post-ready.maintenance:710ms work=[active=agent:main:main(processing/model_call,q=0,age=4s last=model_call:started)]

Impact and severity

Severity: Medium–High Frequency: Nearly every warm request in long sessions Consequence: large pre-response delay degraded multi-agent usability occasional Feishu message expiration

Additional information

Sanitized logs, JSON configs, and full gateway → response traces are available if needed.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Warm-turn requests should begin streaming shortly after dispatch, similar to 4.23 behavior.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: 5.22 still has ~20s session-resource-loader blocking in long Feishu multi-agent sessions