Repository navigation
Closed
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingclawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.regressionBehavior that previously worked and now failsBehavior that previously worked and now fails
Description
Bug type
Regression (worked before, now fails)
Beta release blocker
No
Summary
When clicking on the "Open Chat" button to view the running history of the cron job, the corresponding conversation that is redirected is incorrect.
Steps to reproduce
in version 2026.5.6-2026.5.27: When clicking on the "Open Chat" button to view the running history of the cron job, the corresponding conversation that is redirected is incorrect.
Expected behavior
The historical sessions of the cron job can be displayed correctly.
Actual behavior
in version 2026.5.6-2026.5.27: When clicking on the "Open Chat" button to view the running history of the cron job, the corresponding conversation that is redirected is incorrect.
OpenClaw version
2026.5.27
Operating system
Ubuntu24.04
Install method
No response
Model
mimo-v2.5-pro
Provider / routing chain
openclaw-mimo-v2.5-pro
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response
Reacted by clawsweeper
Reacted by clawsweeper
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingclawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.regressionBehavior that previously worked and now failsBehavior that previously worked and now fails
Type
Fields
Priority
None yet
Activity
clawsweeper commentedon May 29, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 21, 2026, 1:56 AM ET / 05:56 UTC.
Summary
Keep this open: current main and v2026.6.9 still have the cron run-history session-key mismatch, and the direct fix PR was closed unmerged without becoming a safe canonical fix.
Reproducibility: yes. at source level: current main records and opens a run-specific cron session key while persistence stores only the stable cron session key. A live Control UI click-through reproduction was not run in this read-only review.
Root-cause cluster
Relationship:
canonicalCanonical: #88002
Summary: This issue is the canonical open tracker for the cron run-history wrong-session problem; the older same-reporter report is closed and the direct fix PR is closed unmerged.
Members:
duplicate: [Bug]: 2026.5.6version the running session of the cron job is incorrect. #78944 - Same reporter and same cron run-history Open Chat wrong-session behavior on an earlier release; it was closed in favor of this issue.fixed_by_candidate: fix: persist cron run session under runSessionKey for correct deep-link (#78944) #78987 - Closed unmerged PR proposed storing cron sessions under runSessionKey to fix this source mismatch, but it is not a merged or viable canonical fix.adjacent_distinct: [Bug]: Real-time logs of openclaw cron jobs are not displayed in the chat session of the webui #89064 - Also involves cron run session visibility in the Web UI, but it concerns delayed live logs rather than opening the wrong historical session.Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.
Next step
Manual review is appropriate because the source mismatch is clear, but the fix needs live Control UI proof and maintainer acceptance of alias persistence versus a different deep-link model.
Review details
Best possible solution:
Resolve cron run-history Open Chat to a session-store entry containing the selected run transcript, either with a confirmed runSessionKey alias or a canonical deep-link key, plus focused regression coverage and real Control UI proof.
Do we have a high-confidence way to reproduce the issue?
Yes at source level: current main records and opens a run-specific cron session key while persistence stores only the stable cron session key. A live Control UI click-through reproduction was not run in this read-only review.
Is this the best way to solve the issue?
Unclear as the final code path: the closed alias-persistence PR is the narrowest known repair, but maintainers should confirm that this is the intended session-state model before reviving it.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning high; reviewed against 4b2298e8cbcb.
Label changes
Label changes:
issue-rating: 🦞 diamond lobster: Current issue advisory state selects this label.clawsweeper:source-repro: Current issue advisory state selects this label.clawsweeper:needs-live-repro: Current issue advisory state no longer selects this label.issue-rating: 🐚 platinum hermit: Current issue advisory state no longer selects this label.Label justifications:
P2: The bug affects a bounded cron history navigation flow without evidence of data loss, security exposure, or core runtime outage.impact:session-state: The affected behavior is selecting the correct persisted session/transcript for a cron run.Evidence reviewed
Acceptance criteria:
What I checked:
src/cron/isolated-agent/run.ts:636, 4b2298e8cbcb)src/cron/isolated-agent/run-session-state.ts:54, 4b2298e8cbcb)src/gateway/server-cron.ts:632, 4b2298e8cbcb)ui/src/ui/views/cron.ts:1868, 4b2298e8cbcb)src/gateway/server-methods/chat.ts:2633, 4b2298e8cbcb)src/cron/isolated-agent/run-session-state.test.ts:35, 4b2298e8cbcb)Likely related people:
src/cron/isolated-agent/run-session-state.ts,src/cron/isolated-agent/run.ts)src/cron/isolated-agent/run-session-state.ts,src/cron/isolated-agent/run.ts,ui/src/ui/views/cron.ts)src/cron/isolated-agent/run.ts,src/cron/service/timer.ts,ui/src/ui/views/cron.ts)src/cron/isolated-agent/run-session-state.ts,src/cron/isolated-agent/run.ts,src/cron/isolated-agent/run-session-state.test.ts)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.openclaw-barnacle commentedon Jun 15, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.
steipete-oai commentedon Jul 29, 2026
Thanks for the clear cron run-history / “Open Chat” report. I independently verified this exact issue against current
main: the selected isolated cron run now owns and persists its actualagent:...:cron:<job>:run:<runSessionId>continuation insrc/cron/isolated-agent/run-prepare.tsandsrc/cron/isolated-agent/run-session-state.ts;src/cron/task-run-detail.tsexposes that exact child session key in run history; andui/src/pages/cron/view-runs.tsbuilds and opens the chat using that same persisted run key. This canonical lifecycle fix is present in landed main commitd0948c33b533a9444c6321c091f87308af82ed71. For fresh verification I rannode scripts/run-vitest.mjs src/cron/isolated-agent/run-session-state.test.ts src/cron/task-run-history.test.ts: both suites passed, 30/30 tests, covering real exact-run session ownership and cron run-history projection. The historical Open Chat link therefore resolves the selected run’s stored session instead of a missing or unrelated chat. Closing as fixed on currentmain; thanks again for surfacing it.