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

推荐订阅源

腾讯CDC
aimingoo的专栏
aimingoo的专栏
S
SegmentFault 最新的问题
A
About on SuperTechFans
Engineering at Meta
Engineering at Meta
宝玉的分享
宝玉的分享
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 叶小钗
WordPress大学
WordPress大学
N
Netflix TechBlog - Medium
MyScale Blog
MyScale Blog
Stack Overflow Blog
Stack Overflow Blog
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 聂微东
M
MIT News - Artificial intelligence
F
Fortinet All Blogs
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Blog — PlanetScale
Blog — PlanetScale
T
Tailwind CSS Blog
Recent Announcements
Recent Announcements
Jina AI
Jina AI
大猫的无限游戏
大猫的无限游戏
Apple Machine Learning Research
Apple Machine Learning Research
J
Java Code Geeks

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(status): restore codex usage fetch spy · openclaw/op...
keshavbotage · 2026-05-09 · via Recent Commits to openclaw:main

@@ -627,54 +627,58 @@ describe("buildStatusReply subagent summary", () => {

627627

);

628628

});

629629630-

const commonParams = {

631-

sessionEntry: {

632-

sessionId: "sess-status-codex-oauth",

633-

updatedAt: 0,

634-

},

635-

sessionKey: "agent:main:main",

636-

parentSessionKey: "agent:main:main",

637-

sessionScope: "per-sender" as const,

638-

statusChannel: "mobilechat",

639-

provider: "openai",

640-

model: "gpt-5.5",

641-

contextTokens: 32_000,

642-

resolvedFastMode: false,

643-

resolvedVerboseLevel: "off" as const,

644-

resolvedReasoningLevel: "off" as const,

645-

resolveDefaultThinkingLevel: async () => undefined,

646-

isGroup: false,

647-

defaultGroupActivation: () => "mention" as const,

648-

};

630+

try {

631+

const commonParams = {

632+

sessionEntry: {

633+

sessionId: "sess-status-codex-oauth",

634+

updatedAt: 0,

635+

},

636+

sessionKey: "agent:main:main",

637+

parentSessionKey: "agent:main:main",

638+

sessionScope: "per-sender" as const,

639+

statusChannel: "mobilechat",

640+

provider: "openai",

641+

model: "gpt-5.5",

642+

contextTokens: 32_000,

643+

resolvedFastMode: false,

644+

resolvedVerboseLevel: "off" as const,

645+

resolvedReasoningLevel: "off" as const,

646+

resolveDefaultThinkingLevel: async () => undefined,

647+

isGroup: false,

648+

defaultGroupActivation: () => "mention" as const,

649+

};

649650650-

const codexText = await buildStatusText({

651-

cfg: {

652-

...baseCfg,

653-

agents: {

654-

defaults: {

655-

agentRuntime: { id: "codex" },

651+

const codexText = await buildStatusText({

652+

cfg: {

653+

...baseCfg,

654+

agents: {

655+

defaults: {

656+

agentRuntime: { id: "codex" },

657+

},

656658

},

657659

},

658-

},

659-

...commonParams,

660-

});

661-

const implicitCodexText = await buildStatusText({

662-

cfg: baseCfg,

663-

...commonParams,

664-

});

660+

...commonParams,

661+

});

662+

const implicitCodexText = await buildStatusText({

663+

cfg: baseCfg,

664+

...commonParams,

665+

});

665666666-

const normalizedCodex = normalizeTestText(codexText);

667-

const normalizedImplicitCodex = normalizeTestText(implicitCodexText);

668-

expect(normalizedCodex).toContain("Model: openai/gpt-5.5");

669-

expect(normalizedCodex).toContain("oauth (openai-codex:status)");

670-

expect(normalizedCodex).toContain("openai-codex:status");

671-

expect(normalizedCodex).toContain("Usage: 5h 91% left");

672-

expect(normalizedCodex).toContain("Week 70% left");

673-

expect(normalizedImplicitCodex).toContain("Model: openai/gpt-5.5");

674-

expect(normalizedImplicitCodex).toContain("oauth (openai-codex:status)");

675-

expect(normalizedImplicitCodex).toContain("Runtime: OpenAI Codex");

676-

expect(normalizedImplicitCodex).toContain("Usage: 5h 91% left");

677-

expect(usageFetch).toHaveBeenCalled();

667+

const normalizedCodex = normalizeTestText(codexText);

668+

const normalizedImplicitCodex = normalizeTestText(implicitCodexText);

669+

expect(normalizedCodex).toContain("Model: openai/gpt-5.5");

670+

expect(normalizedCodex).toContain("oauth (openai-codex:status)");

671+

expect(normalizedCodex).toContain("openai-codex:status");

672+

expect(normalizedCodex).toContain("Usage: 5h 91% left");

673+

expect(normalizedCodex).toContain("Week 70% left");

674+

expect(normalizedImplicitCodex).toContain("Model: openai/gpt-5.5");

675+

expect(normalizedImplicitCodex).toContain("oauth (openai-codex:status)");

676+

expect(normalizedImplicitCodex).toContain("Runtime: OpenAI Codex");

677+

expect(normalizedImplicitCodex).toContain("Usage: 5h 91% left");

678+

expect(usageFetch).toHaveBeenCalled();

679+

} finally {

680+

usageFetch.mockRestore();

681+

}

678682

},

679683

{

680684

env: {