Skip to content

docs: deprecate legacy session file helpers#97494

Merged
jalehman merged 2 commits into
openclaw:mainfrom
jalehman:josh/deprecate-session-store-helpers
Jun 28, 2026
Merged

docs: deprecate legacy session file helpers#97494
jalehman merged 2 commits into
openclaw:mainfrom
jalehman:josh/deprecate-session-store-helpers

Conversation

@jalehman

Copy link
Copy Markdown
Contributor

What Problem This Solves

Related: #88838

Resolves a documentation and SDK-signaling gap where plugin authors could still see legacy session-store and transcript-file helpers as normal compatibility APIs even though the SQLite storage flip is preparing to remove those file-shaped surfaces.

Why This Change Was Made

This marks the legacy whole-store, transcript-file, legacy transcript target, and low-level transcript append/update helper paths as deprecated on current main before the SQLite migration removes them. The replacement path is the scoped session entry helpers plus transcript identity helpers; this PR does not remove behavior or add a compatibility bridge.

User Impact

Plugin developers get clearer migration guidance before the storage flip lands. Existing plugins continue to work on this branch, but new code is directed away from sessions.json, active JSONL transcript paths, and low-level transcript file emitters.

Evidence

  • node scripts/run-vitest.mjs src/plugin-sdk/session-store-runtime.test.ts src/plugin-sdk/session-transcript-runtime.test.ts src/plugins/runtime/index.test.ts -> passed, 45 tests.
  • node scripts/run-tsgo.mjs -p tsconfig.core.json --incremental --tsBuildInfoFile .artifacts/tsgo-cache/core.tsbuildinfo -> passed with a temporary local node_modules symlink to the main checkout dependencies.
  • git diff --check -> passed.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation plugin: file-transfer size: XS maintainer Maintainer-authored PR labels Jun 28, 2026
@clawsweeper

clawsweeper Bot commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper review: did not complete due to Codex infrastructure failure. Reviewed June 28, 2026, 10:19 AM ET / 14:19 UTC.

Summary
Review failed before ClawSweeper could summarize the requested change.

PR surface: Source +23, Docs -2, Other 0. Total +21 across 5 files.

Reproducibility: unclear. The review failed before ClawSweeper could establish a reproduction path.

Review metrics: none identified.

Merge readiness
Not assessed.
Failure reason: timeout.

This is a ClawSweeper/Codex infrastructure failure, not a PR readiness or patch-quality verdict.
Keep any merge decision on the normal maintainer review path until ClawSweeper can complete a fresh review.

Risk before merge

  • [P1] No close action taken because the review did not complete.

Maintainer options:

  1. Decide the mitigation before merge
    Retry the Codex review after fixing the execution failure.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Next step before merge

  • Review did not complete, so no work-lane recommendation was made.
Review details

Best possible solution:

Retry the Codex review after fixing the execution failure.

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

Unclear. The review failed before ClawSweeper could establish a reproduction path.

Is this the best way to solve the issue?

Unclear. Retry the review first so ClawSweeper can evaluate the actual issue and fix direction.

AGENTS.md: unclear because the file could not be read completely.

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

Label changes

Label changes:

  • remove P3: Current review triage priority is none.
  • remove rating: 🐚 platinum hermit: Current review failed before PR readiness was assessed, so no rating label should remain.
  • remove merge-risk: 🚨 compatibility: Current PR review selected no merge-risk labels.
  • remove status: 👀 ready for maintainer look: Current PR status no longer selects a status label.
Evidence reviewed

PR surface:

Source +23, Docs -2, Other 0. Total +21 across 5 files.

View PR surface stats
Area Files Added Removed Net
Source 3 29 6 +23
Tests 0 0 0 0
Docs 1 2 4 -2
Config 0 0 0 0
Generated 0 0 0 0
Other 1 2 2 0
Total 5 33 12 +21

What I checked:

Likely related people:

  • unknown: Codex failed before it could trace repository history. (role: review did not complete; confidence: low)
How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Jun 28, 2026
@openclaw-barnacle openclaw-barnacle Bot added the scripts Repository scripts label Jun 28, 2026
@clawsweeper clawsweeper Bot removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Jun 28, 2026
@jalehman
jalehman merged commit b5e9179 into openclaw:main Jun 28, 2026
105 of 109 checks passed
@jalehman
jalehman deleted the josh/deprecate-session-store-helpers branch June 28, 2026 14:33
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jun 29, 2026
* docs: deprecate legacy session file helpers

* docs: update sdk deprecation budgets
QiuYuang pushed a commit to QiuYuang/openclaw that referenced this pull request Jul 1, 2026
* docs: deprecate legacy session file helpers

* docs: update sdk deprecation budgets
chenyangjun-xy pushed a commit to chenyangjun-xy/openclaw that referenced this pull request Jul 1, 2026
* docs: deprecate legacy session file helpers

* docs: update sdk deprecation budgets
chenyangjun-xy pushed a commit to chenyangjun-xy/openclaw that referenced this pull request Jul 3, 2026
* docs: deprecate legacy session file helpers

* docs: update sdk deprecation budgets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. plugin: file-transfer scripts Repository scripts size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant