惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
Y
Y Combinator Blog
M
MIT News - Artificial intelligence
The Cloudflare Blog
WordPress大学
WordPress大学
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 司徒正美
小众软件
小众软件
Blog — PlanetScale
Blog — PlanetScale
雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
J
Java Code Geeks
云风的 BLOG
云风的 BLOG
C
Check Point Blog
D
DataBreaches.Net
T
The Blog of Author Tim Ferriss
V
V2EX
F
Fortinet All Blogs
B
Blog
大猫的无限游戏
大猫的无限游戏
N
Netflix TechBlog - Medium
B
Blog RSS Feed
A
About on SuperTechFans
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix: avoid persisted-auth channel startup probes · opencl...
steipete · 2026-04-26 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -73,6 +73,7 @@ Docs: https://docs.openclaw.ai

7373
7474

### Fixes

7575
76+

- Gateway/plugins: stop persisted WhatsApp auth state from activating bundled channel runtime-dependency repair during startup when `channels.whatsapp` is absent, avoiding npm/git stalls on packaged Linux installs. Fixes #71994. Thanks @xiao398008.

7677

- CLI/model runs: keep `openclaw infer model run` on explicit OpenRouter models from loading the full provider catalog or inheriting chat-agent silent-reply policy, restoring non-empty one-shot probe output. Fixes #68791. Thanks @limpredator.

7778

- Installer/macOS: rerun Homebrew install steps without the gum spinner when raw-mode ioctl failures occur, and avoid claiming `node@24` was installed when the Homebrew keg binary is missing. Fixes #70411. Thanks @1fanwang and @dad-io.

7879

- Installer: load nvm before Node.js detection so `curl | bash` installs respect nvm-managed Node instead of stale system Node. Fixes #49556. Thanks @heavenlxj.

Original file line numberDiff line numberDiff line change

@@ -85,6 +85,8 @@ Packaged installs keep bundled plugin runtime dependencies out of the read-only

8585

package tree. On startup and during `openclaw doctor --fix`, OpenClaw repairs

8686

runtime dependencies only for bundled plugins that are active in config, active

8787

through legacy channel config, or enabled by their bundled manifest default.

88+

Persisted channel auth state alone does not trigger Gateway startup

89+

runtime-dependency repair.

8890
8991

Explicit disablement wins. A disabled plugin or channel does not get its

9092

runtime dependencies repaired just because it exists in the package. External

Original file line numberDiff line numberDiff line change

@@ -65,6 +65,8 @@ Packaged OpenClaw installs do not eagerly install every bundled plugin's

6565

runtime dependency tree. When a bundled OpenClaw-owned plugin is active from

6666

plugin config, legacy channel config, or a default-enabled manifest, startup

6767

repairs only that plugin's declared runtime dependencies before importing it.

68+

Persisted channel auth state alone does not activate a bundled channel for

69+

Gateway startup runtime-dependency repair.

6870

Explicit disablement still wins: `plugins.entries.<id>.enabled: false`,

6971

`plugins.deny`, `plugins.enabled: false`, and `channels.<id>.enabled: false`

7072

prevent automatic bundled runtime-dependency repair for that plugin/channel.

Original file line numberDiff line numberDiff line change

@@ -544,6 +544,51 @@ describe("resolveGatewayStartupPluginIds", () => {

544544

});

545545

});

546546
547+

it("does not treat persisted auth alone as gateway startup intent", () => {

548+

listPotentialConfiguredChannelIds.mockImplementation(

549+

(

550+

_config: OpenClawConfig,

551+

_env: NodeJS.ProcessEnv,

552+

options?: { includePersistedAuthState?: boolean },

553+

) => (options?.includePersistedAuthState === false ? [] : ["demo-channel"]),

554+

);

555+
556+

expectStartupPluginIdsCase({

557+

config: {} as OpenClawConfig,

558+

env: {

559+

OPENCLAW_STATE_DIR: "/tmp/openclaw-with-persisted-demo-channel",

560+

} as NodeJS.ProcessEnv,

561+

expected: ["browser"],

562+

});

563+

});

564+
565+

it("does not treat persisted auth alone as deferred channel startup intent", () => {

566+

loadPluginManifestRegistry

567+

.mockReset()

568+

.mockReturnValue(createManifestRegistryFixtureWithWorkspaceDemoChannel());

569+

listPotentialConfiguredChannelIds.mockImplementation(

570+

(

571+

_config: OpenClawConfig,

572+

_env: NodeJS.ProcessEnv,

573+

options?: { includePersistedAuthState?: boolean },

574+

) => (options?.includePersistedAuthState === false ? [] : ["demo-channel"]),

575+

);

576+
577+

expect(

578+

resolveConfiguredDeferredChannelPluginIds({

579+

config: {

580+

plugins: {

581+

allow: ["workspace-demo-channel-plugin"],

582+

},

583+

} as OpenClawConfig,

584+

workspaceDir: "/tmp",

585+

env: {

586+

OPENCLAW_STATE_DIR: "/tmp/openclaw-with-persisted-demo-channel",

587+

} as NodeJS.ProcessEnv,

588+

}),

589+

).toEqual([]);

590+

});

591+
547592

it("does not treat explicitly disabled stale channel config as deferred startup intent", () => {

548593

loadPluginManifestRegistry

549594

.mockReset()

Original file line numberDiff line numberDiff line change

@@ -41,7 +41,7 @@ function listDisabledChannelIds(config: OpenClawConfig): Set<string> {

4141
4242

function listPotentialEnabledChannelIds(config: OpenClawConfig, env: NodeJS.ProcessEnv): string[] {

4343

const disabled = listDisabledChannelIds(config);

44-

return listPotentialConfiguredChannelIds(config, env)

44+

return listPotentialConfiguredChannelIds(config, env, { includePersistedAuthState: false })

4545

.map((id) => normalizeOptionalLowercaseString(id) ?? "")

4646

.filter((id) => id && !disabled.has(id));

4747

}