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

推荐订阅源

小众软件
小众软件
博客园_首页
博客园 - 聂微东
T
Tailwind CSS Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
J
Java Code Geeks
The Cloudflare Blog
aimingoo的专栏
aimingoo的专栏
Martin Fowler
Martin Fowler
D
Docker
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学
博客园 - 三生石上(FineUI控件)
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
Apple Machine Learning Research
Apple Machine Learning Research
阮一峰的网络日志
阮一峰的网络日志
B
Blog RSS Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
Jina AI
Jina AI
博客园 - Franky
D
DataBreaches.Net

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a 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 test: merge chat context notice checks · openclaw/openclaw@5c2f4af 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: merge cron history checks · openclaw/openclaw@f7eb746
steipete · 2026-04-18 · via Recent Commits to openclaw:main

@@ -84,29 +84,17 @@ function getButtonByText(container: Element, text: string) {

8484

}

85858686

describe("cron view", () => {

87-

it("shows all-job history mode by default", () => {

87+

it("shows all-job history mode and toggles the run status filter", () => {

8888

const container = document.createElement("div");

89-

render(renderCron(createProps()), container);

89+

const onRunsFiltersChange = vi.fn();

90+

render(renderCron(createProps({ onRunsFiltersChange })), container);

90919192

expect(container.textContent).toContain("Latest runs across all jobs.");

9293

expect(container.textContent).toContain("Status");

9394

expect(container.textContent).toContain("All statuses");

9495

expect(container.textContent).toContain("Delivery");

9596

expect(container.textContent).toContain("All delivery");

9697

expect(container.textContent).not.toContain("multi-select");

97-

});

98-99-

it("toggles run status filter via dropdown checkboxes", () => {

100-

const container = document.createElement("div");

101-

const onRunsFiltersChange = vi.fn();

102-

render(

103-

renderCron(

104-

createProps({

105-

onRunsFiltersChange,

106-

}),

107-

),

108-

container,

109-

);

1109811199

const statusOk = container.querySelector(

112100

'.cron-filter-dropdown[data-filter="status"] input[value="ok"]',

@@ -171,19 +159,23 @@ describe("cron view", () => {

171159

expect(onLoadRuns).toHaveBeenCalledWith("job-1");

172160

});

173161174-

it("renders run chat links when session keys are present", () => {

162+

it("shows selected job run history sorted newest first with chat links", () => {

175163

const container = document.createElement("div");

164+

const job = createJob("job-1");

176165

render(

177166

renderCron(

178167

createProps({

179168

basePath: "/ui",

169+

jobs: [job],

180170

runsJobId: "job-1",

171+

runsScope: "job",

181172

runs: [

173+

{ ts: 1, jobId: "job-1", status: "ok", summary: "older run" },

182174

{

183-

ts: Date.now(),

175+

ts: 2,

184176

jobId: "job-1",

185177

status: "ok",

186-

summary: "done",

178+

summary: "newer run",

187179

sessionKey: "agent:main:cron:job-1:run:abc",

188180

},

189181

],

@@ -197,25 +189,6 @@ describe("cron view", () => {

197189

expect(link?.getAttribute("href")).toContain(

198190

"/ui/chat?session=agent%3Amain%3Acron%3Ajob-1%3Arun%3Aabc",

199191

);

200-

});

201-202-

it("shows selected job name and sorts run history newest first", () => {

203-

const container = document.createElement("div");

204-

const job = createJob("job-1");

205-

render(

206-

renderCron(

207-

createProps({

208-

jobs: [job],

209-

runsJobId: "job-1",

210-

runsScope: "job",

211-

runs: [

212-

{ ts: 1, jobId: "job-1", status: "ok", summary: "older run" },

213-

{ ts: 2, jobId: "job-1", status: "ok", summary: "newer run" },

214-

],

215-

}),

216-

),

217-

container,

218-

);

219192220193

expect(container.textContent).toContain("Latest runs for Daily ping.");

221194