Commit Graph

962 Commits

Author SHA1 Message Date
Shakker
be3fd09ae0 test: tighten cron empty state assertions 2026-05-09 04:16:38 +01:00
Peter Steinberger
8562aa8ab2 test: tighten cron task cleanup assertion 2026-05-09 04:02:22 +01:00
Peter Steinberger
aa6602a8fc test: dedupe cron store absence assertions 2026-05-09 02:34:48 +01:00
Peter Steinberger
6e9ed3efca test: simplify cron run log line collection 2026-05-08 23:51:11 +01:00
Peter Steinberger
10e425debe test: simplify cron event call counts 2026-05-08 22:45:16 +01:00
Peter Steinberger
ae2338b744 test: require core ui async callbacks 2026-05-08 19:41:54 +01:00
Peter Steinberger
16c54655d3 test: require common deferred callbacks 2026-05-08 19:20:42 +01:00
Peter Steinberger
28893ce89c test: require cron cadence timestamps 2026-05-08 17:40:50 +01:00
Peter Steinberger
bcf094f443 test: tighten cron timer assertions 2026-05-08 16:52:48 +01:00
Peter Steinberger
d0ea405662 test: tighten object shape assertions 2026-05-08 15:17:56 +01:00
Peter Steinberger
067ceb38b7 test: tighten session proxy assertions 2026-05-08 14:25:43 +01:00
Peter Steinberger
fa15090ead test: tighten core flow config assertions 2026-05-08 14:23:34 +01:00
Peter Steinberger
0fad0a43ca test: tighten core timestamp assertions 2026-05-08 14:14:21 +01:00
Peter Steinberger
7c8857be99 test: clarify core resilience test names 2026-05-08 13:39:18 +01:00
Peter Steinberger
210df889f0 test: clarify cron config task assertions 2026-05-08 13:08:22 +01:00
Peter Steinberger
e6031fd03a test: clarify gateway auth probe assertions 2026-05-08 13:04:33 +01:00
Peter Steinberger
42c9bd59e7 test: clarify guard fallback assertions 2026-05-08 12:54:21 +01:00
Peter Steinberger
1d8659fdcb test: clarify cron store validator assertions 2026-05-08 12:35:30 +01:00
Peter Steinberger
8caef5d0ea test: clarify cron job accepted paths 2026-05-08 12:27:33 +01:00
Chencheng Li
15b39313cc fix: separate Current time from Reference UTC (#42654)
Merged via squash.

Prepared head SHA: 0829399ebd
Co-authored-by: chencheng-li <49442600+chencheng-li@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
2026-05-08 14:19:28 +03:00
Shakker
0dc6d3de9f test: assert cron protocol fixtures 2026-05-08 10:58:24 +01:00
Peter Steinberger
4213d8f4d9 test: clarify cron session reaper assertion 2026-05-08 10:42:46 +01:00
Peter Steinberger
3cf101ff8b test: clarify cron regression job assertion 2026-05-08 10:41:28 +01:00
Peter Steinberger
b5453bb1b7 test: clarify cron scheduler delay assertions 2026-05-08 10:23:08 +01:00
pashpashpash
02fe0d8978 Keep OpenAI Codex migrations on automatic runtime routing (#79238)
* fix: keep migrated openai codex routes automatic

* scope runtime policy to providers and models

* fix runtime policy surfaces

* fix ci runtime policy checks

* fix doctor stale session runtime pins
2026-05-08 16:05:35 +09:00
Peter Steinberger
9e58cc82c8 test: fix strict CI gates 2026-05-08 05:56:38 +01:00
Peter Steinberger
9ef37d1907 test: tighten assertions and harness coverage 2026-05-08 05:28:12 +01:00
Shakker
70eabd3b08 fix: satisfy cron model selection checks 2026-05-07 22:47:04 +01:00
Peter Steinberger
139122f655 fix(cron): show rejected model allowlist 2026-05-07 22:36:31 +01:00
Vincent Koc
2597723dfc fix(test): align main channel assumptions 2026-05-07 13:03:49 -07:00
Vincent Koc
c97998ce21 chore(channels): remove bluebubbles bundled surface 2026-05-07 12:52:48 -07:00
pashpashpash
1c33990108 Route OpenAI agents through Codex by default (#78899)
* route openai agent runs through codex

* fix: load codex plugin for implicit openai runtime

* fix: preserve explicit OpenAI PI Codex auth routing

* fix: show codex auth for openai model listing

* fix: map codex auth into configured openai list rows

* fix: preserve explicit openai pi auth routes

* docs: keep openai model route examples canonical

* fix: clean openai codex test fixtures

* fix: scope codex auth status fallback

* fix: repair current ci boundary drift
2026-05-07 19:46:49 +09:00
Peter Steinberger
330ba1fa31 refactor: move canvas to plugin surfaces 2026-05-07 09:07:18 +01:00
Kevin Lin
5b9672b4bb fix: surface cron model rejection diagnostics
Fixes #78597
2026-05-06 23:28:02 -07:00
Sally O'Malley
20c34b8c0f fix(cron): preflight implicit announce targets (#78644)
Signed-off-by: sallyom <somalley@redhat.com>
2026-05-06 20:21:20 -04:00
Kevin Lin
7175b1b5c6 fix(cron): repair stale future next-run slots (#78272)
* fix(cron): repair stale future next-run slots

* fix(cron): repair stale future next-run slots

* fix(cron): repair stale future next-run slots

* fix(cron): repair stale future next-run slots

* fix(cron): repair stale future next-run slots

* fix(cron): repair stale future next-run slots

* fix(cron): repair stale future next-run slots
2026-05-06 12:05:59 -07:00
Peter Steinberger
ea391c6df2 test: stabilize cron and pairing shard hangs 2026-05-06 03:36:46 +01:00
Peter Steinberger
538605ff44 [codex] Extract filesystem safety primitives (#77918)
* refactor: extract filesystem safety primitives

* refactor: use fs-safe for file access helpers

* refactor: reuse fs-safe for media reads

* refactor: use fs-safe for image reads

* refactor: reuse fs-safe in qqbot media opener

* refactor: reuse fs-safe for local media checks

* refactor: consume cleaner fs-safe api

* refactor: align fs-safe json option names

* fix: preserve fs-safe migration contracts

* refactor: use fs-safe primitive subpaths

* refactor: use grouped fs-safe subpaths

* refactor: align fs-safe api usage

* refactor: adapt private state store api

* chore: refresh proof gate

* refactor: follow fs-safe json api split

* refactor: follow reduced fs-safe surface

* build: default fs-safe python helper off

* fix: preserve fs-safe plugin sdk aliases

* refactor: consolidate fs-safe usage

* refactor: unify fs-safe store usage

* refactor: trim fs-safe temp workspace usage

* refactor: hide low-level fs-safe primitives

* build: use published fs-safe package

* fix: preserve outbound recovery durability after rebase

* chore: refresh pr checks
2026-05-06 02:15:17 +01:00
clawsweeper[bot]
cd66854b66 feat(cron): add agentId filtering to cron list (#77602)
Summary:
- This PR adds optional `agentId` filtering to `cron.list`, auto-fills it for agent tool calls, exposes `openclaw cron list --agent`, updates generated protocol clients, docs, changelog, tests, and prompt fixtures.
- Reproducibility: yes. The motivating behavior is source-reproducible on current main because cron tool, CLI, ... e list paths do not accept or apply `agentId`; the PR diff adds that path with focused regression coverage.

Automerge notes:
- Ran the ClawSweeper repair loop before final review.
- Included post-review commit in the final squash: chore: regenerate protocol schema after adding agentId to CronListParams
- Included post-review commit in the final squash: feat(cron): add agentId filtering to cron list

Validation:
- ClawSweeper review passed for head 35b692bc97.
- Required merge gates passed before the squash merge.

Prepared head SHA: 35b692bc97
Review: https://github.com/openclaw/openclaw/pull/77602#issuecomment-4375631700

Co-authored-by: zhanggttry <zhanggttry@163.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
2026-05-05 06:06:24 +00:00
Kevin Lin
89db1e5440 feat(cron): surface run diagnostics in status (#75928)
* feat(cron): surface run diagnostics in status

* docs: add cron diagnostics changelog

* fix(cron): preserve latest run diagnostics

* test(cron): update diagnostics regression deps
2026-05-04 07:05:28 -07:00
Peter Steinberger
dd83f72a7f fix(cron): keep pre-transcript rows non-resumable
Refs #77011.
2026-05-04 05:45:27 +01:00
Peter Steinberger
0872b505b0 fix(cron): clarify no-delivery previews 2026-05-03 22:49:31 +01:00
Vincent Koc
310b1987e1 fix(cron): persist startup state sidecar repairs 2026-05-03 02:45:59 -07:00
clawsweeper[bot]
004e871656 fix(cron): route CLI-runtime cron models through compatible backend (#76319)
Summary:
- The PR routes isolated cron executions through compatible configured CLI runtimes, threads agent identity into cron model selection, adds cron regression coverage, and records a changelog fix.
- Reproducibility: yes. The source PR describes cron jobs for agents with agentRuntime.id="claude-cli" selecti ... howing those canonical Anthropic attempts execute through claude-cli while OpenAI overrides stay on OpenAI.

ClawSweeper fixups:
- Included follow-up commit: fix(cron): route CLI-runtime cron models through compatible backend
- Included follow-up commit: fix(clawsweeper): address review for automerge-openclaw-openclaw-7584…
- Ran the ClawSweeper repair loop before final review.

Validation:
- ClawSweeper review passed for head ba2781de8f.
- Required merge gates passed before the squash merge.

Prepared head SHA: ba2781de8f
Review: https://github.com/openclaw/openclaw/pull/76319#issuecomment-4364991459

Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: vishutdhar <68405187+vishutdhar@users.noreply.github.com>
2026-05-03 00:31:31 +00:00
Paul Frederiksen
f30dc0aeb4 fix(cron): persist manual run ids in history (#76288)
Summary:
- The PR carries manual `cron.run` acknowledgement IDs into finished cron events and `cron.runs` history, upda ...  surfaces, adds regression coverage, refreshes the SDK baseline hash, and records the fix in the changelog.
- Reproducibility: yes. Current main can be reproduced by source inspection: `cron.run` returns a `manual:...` ... r path omits it; the PR adds targeted assertions for the missing correlation and the task-ledger invariant.

ClawSweeper fixups:
- Included follow-up commit: chore(protocol): update generated cron models
- Included follow-up commit: chore(cron): document manual run id protocol surface
- Included follow-up commit: Preserve cron task ledger run IDs

Validation:
- ClawSweeper review passed for head 04ce879858.
- Required merge gates passed before the squash merge.

Prepared head SHA: 04ce879858
Review: https://github.com/openclaw/openclaw/pull/76288#issuecomment-4364868383

Co-authored-by: Paul Frederiksen <paul@paulfrederiksen.com>
2026-05-03 00:06:32 +00:00
Peter Steinberger
c06739d773 fix(heartbeat): type wake scheduling intent
Co-authored-by: Jordan Baker <jbb@scryent.com>
2026-05-02 14:52:18 +01:00
Ayaan Zaidi
9797ae35ca fix(cron): polish wake-now retry PR 2026-05-02 19:15:23 +05:30
Rui Xu
8db83f241e fix(cron): retry busy recurring wake-now jobs 2026-05-02 19:15:23 +05:30
Peter Steinberger
b4437047f4 perf: route session store writes through writer queue 2026-05-02 13:11:19 +01:00
Peter Steinberger
59fb9e5ca7 refactor: unify lazy import loaders 2026-05-02 10:55:59 +01:00