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

推荐订阅源

Hugging Face - Blog
Hugging Face - Blog
Vercel News
Vercel News
C
Check Point Blog
G
Google Developers Blog
博客园 - 司徒正美
量子位
Engineering at Meta
Engineering at Meta
S
SegmentFault 最新的问题
Google DeepMind News
Google DeepMind News
F
Fortinet All Blogs
A
About on SuperTechFans
美团技术团队
D
DataBreaches.Net
Stack Overflow Blog
Stack Overflow Blog
Jina AI
Jina AI
Y
Y Combinator Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Apple Machine Learning Research
Apple Machine Learning Research
J
Java Code Geeks
MongoDB | Blog
MongoDB | Blog
人人都是产品经理
人人都是产品经理
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Cloudflare Blog
U
Unit 42

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
test: align exec event routing proof (#83743) (thanks @Ka...
steipete · 2026-05-22 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

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

3333

- Plugins/discovery: strip `-plugin` package suffixes when deriving plugin id hints so package names line up with manifest ids. (#85170) Thanks @JulyanXu.

3434

- Telegram: preserve fenced code block languages through Markdown rendering so Telegram receives `language-*` code classes. (#85209) Thanks @leno23.

3535

- fix(integrations): enforce channel read target allowlists [AI]. (#84982) Thanks @pgondhi987.

36+

- Agents/heartbeat: route single-owner `session.dmScope=main` direct-message exec and cron event wakes back to the agent main session so async completions no longer strand context in orphan direct-DM queues. Fixes #71581. (#83743) Thanks @Kaspre.

3637

- Agents/code-mode: expose outer code-mode `exec` source through the `command` hook alias with `toolKind`/`toolInputKind` discriminators so exec-shaped policies can distinguish code-mode cells. (#83483) Thanks @Kaspre.

3738

- QA-Lab: isolate multi-scenario suite workers when scenarios need startup config patches, preventing message-routing config from leaking into unrelated scenarios.

3839

- QA-Lab: make the commitments heartbeat-target-none scenario request an immediate heartbeat instead of waiting for the next scheduled heartbeat.

Original file line numberDiff line numberDiff line change

@@ -560,8 +560,6 @@ describe("emitExecSystemEvent", () => {

560560

channel: "telegram",

561561

to: "123",

562562

},

563-

forceSenderIsOwnerFalse: true,

564-

trusted: false,

565563

});

566564

expect(requestHeartbeatMock).toHaveBeenCalledTimes(1);

567565

const heartbeat = requireHeartbeatCall();

@@ -760,7 +758,9 @@ describe("runExecProcess POSIX command wrapper", () => {

760758

const spawnCall = supervisorMock.spawn.mock.calls[0][0];

761759
762760

const commandStr = spawnCall.argv.join(" ");

763-

expect(commandStr).toContain('export PATH="${OPENCLAW_PREPEND_PATH}${PATH:+:$PATH}"; unset OPENCLAW_PREPEND_PATH; echo test');

761+

expect(commandStr).toContain(

762+

'export PATH="${OPENCLAW_PREPEND_PATH}${PATH:+:$PATH}"; unset OPENCLAW_PREPEND_PATH; echo test',

763+

);

764764

});

765765
766766

it("does not wrap command on Windows", async () => {

Original file line numberDiff line numberDiff line change

@@ -594,7 +594,11 @@ export function buildExecRuntimeErrorOutcome(params: {

594594

* This ensures our paths take precedence even if user RC files (e.g. ~/.zshenv)

595595

* prepend their own entries to PATH during shell startup.

596596

*/

597-

function wrapPosixCommandWithPathPrepend(command: string, env: Record<string, string>, pathPrepend?: string[]): string {

597+

function wrapPosixCommandWithPathPrepend(

598+

command: string,

599+

env: Record<string, string>,

600+

pathPrepend?: string[],

601+

): string {

598602

if (process.platform === "win32") {

599603

return command;

600604

}

@@ -808,9 +812,13 @@ export async function runExecProcess(opts: {

808812

};

809813

}

810814

const { shell, args: shellArgs } = getShellConfig();

811-
815+
812816

// Wrap the command to enforce PATH prepend precedence over shell RC overrides.

813-

const commandWithPathPrepend = wrapPosixCommandWithPathPrepend(execCommand, shellRuntimeEnv, opts.pathPrepend);

817+

const commandWithPathPrepend = wrapPosixCommandWithPathPrepend(

818+

execCommand,

819+

shellRuntimeEnv,

820+

opts.pathPrepend,

821+

);

814822
815823

const childArgv = [shell, ...shellArgs, commandWithPathPrepend];

816824

if (opts.usePty) {

Original file line numberDiff line numberDiff line change

@@ -138,8 +138,6 @@ describe("runHeartbeatOnce", () => {

138138

);

139139

enqueueSystemEvent("Exec completed (run-dm, code 0)", {

140140

sessionKey: mainSessionKey,

141-

forceSenderIsOwnerFalse: true,

142-

trusted: false,

143141

});

144142

replySpy.mockResolvedValue({ text: "NO_REPLY" });

145143