Skip to content

[Bug]: 2026.5.6version the running session of the cron job is incorrect. #78944

Closed as not planned

Description

@kinlioncd

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

The 2026.5.6 version is overall very good, and the local large model is also performing well. But there is a minor issue in version 2026.5.6: When clicking on the "Open Chat" button to view the running history of the cron job, the corresponding conversation that is redirected is incorrect.
It is suggested that in the next version, the bugs should be further fixed and improved to make it an industrial-grade usable artificial intelligence assistant.

Steps to reproduce

in version 2026.5.6: 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: 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.6

Operating system

ubuntu24.04

Install method

npm

Model

mimo-v2.5-pro

Provider / routing chain

openclaw

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

Activity

  1. clawsweeper commented on May 7, 2026

    @clawsweeper
    Contributor

    Thanks for the context here. I swept through the related work, and this is now duplicate or superseded.

    Close as a duplicate of the newer open cron run-history report: the same reporter re-filed the same Open Chat wrong-session problem for versions 2026.5.6-2026.5.27, and the linked fix PR was closed unmerged rather than becoming the canonical fix.

    Canonical path: Keep the remaining investigation and eventual fix in #88002, with a concrete cron run-log row and session-store mapping before choosing the final code change.

    So I’m closing this here and keeping the remaining discussion on #88002 and #78987.

    Review details

    Best possible solution:

    Keep the remaining investigation and eventual fix in #88002, with a concrete cron run-log row and session-store mapping before choosing the final code change.

    Do we have a high-confidence way to reproduce the issue?

    No live high-confidence product reproduction was run, but the source path is reproducible enough to understand the likely boundary: cron run history opens entry.sessionKey while cron session persistence writes only the stable agentSessionKey. The newer canonical issue still needs a concrete run-log/session-store snapshot to prove the exact failing record.

    Is this the best way to solve the issue?

    Yes for cleanup: closing this older report in favor of #88002 is the best tracking outcome because that issue covers the same behavior on newer releases. The closed unmerged #78987 is useful context, not a safe canonical fix path.

    Security review:

    Security review: This is an issue triage item with no patch or security-sensitive report to review.

    AGENTS.md: found and applied where relevant.

    What I checked:

    Likely related people:

    • Peter Steinberger: git log -S ties createPersistCronSessionEntry and the isolated cron runner seam to April isolated-cron extraction and split commits. (role: feature-history contributor; confidence: high; commits: 91d20781ed03, bbb73d3171e5; files: src/cron/isolated-agent/run-session-state.ts, src/cron/isolated-agent/run.ts)
    • Vincent Koc: Recent git history on the isolated cron files includes release/test stabilization and multiple cron runtime lazy-loading changes near the same execution path. (role: recent area contributor; confidence: medium; commits: 8c802aa68351, 28787985c4eb, a81dc153c61b; files: src/cron/isolated-agent/run.ts, src/cron/isolated-agent/run-session-state.ts)
    • Tyler Yust: Earlier cron scheduler, delivery, and run-session history in the same files includes foundational cron reliability and isolated announce flow work. (role: cron feature-history contributor; confidence: medium; commits: d90cac990c8f, 8fae55e8e057, 3f82daefd801; files: src/cron/isolated-agent/run.ts, ui/src/ui/views/cron.ts, src/gateway/server-cron.ts)
    • ragesaq: Current blame on the relevant run-session persistence, run-key, UI link, and run-log lines points to a recent broad commit; this is useful for routing but less specific to the original behavior. (role: recent current-line carrier; confidence: low; commits: a15427d605fe; files: src/cron/isolated-agent/run-session-state.ts, src/cron/isolated-agent/run.ts, ui/src/ui/views/cron.ts)
    • SymbolStar: Authored the closed linked PR that diagnosed the same runSessionKey/session-store mismatch and proposed a narrow alias-persistence fix. (role: proposed fix author; confidence: medium; commits: 8ffc709cc0e0; files: src/cron/isolated-agent/run-session-state.ts, src/cron/isolated-agent/run.ts, src/cron/isolated-agent/run-session-state.test.ts)

    Codex review notes: model internal, reasoning high; reviewed against f1b8827d20c8.

  2. barnacle-openclaw commented on May 31, 2026

    @barnacle-openclaw

    This issue has been automatically marked as stale due to inactivity.
    Please add updates or it will be closed.

  3. added
    P2Normal backlog priority with limited blast radius.
    impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.
    on Jun 14, 2026
  4. locked as resolved and limited conversation to collaborators on Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.bugSomething isn't workingimpact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.regressionBehavior that previously worked and now failsstaleMarked as stale due to inactivity

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions