mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
refactor(agents)!: remove the session write lease (#121113)
* refactor(agents): remove session write lease * refactor(plugin-sdk): deprecate session write lease * refactor(doctor): remove session lock checks * test(agents): remove session lease fixtures * test(agents): align writer rebound assertion * refactor(infra): remove retired session lock exports * test(tooling): preserve embedded abort race shard
This commit is contained in:
committed by
GitHub
parent
67e653e580
commit
ce53f7e82e
@@ -76,11 +76,9 @@ Normal Gateway writes flow through the session accessor, which serializes per-ag
|
||||
|
||||
OpenClaw no longer creates automatic `sessions.json.bak.*` rotation backups during Gateway writes. The current schema rejects the legacy `session.maintenance.rotateBytes` key, and `openclaw doctor --fix` removes it from older configs.
|
||||
|
||||
Transcript mutations use the session write queue for the SQLite transcript target:
|
||||
|
||||
Session write locks use fixed production defaults. The corresponding
|
||||
`OPENCLAW_SESSION_WRITE_LOCK_*` environment variables remain available for
|
||||
process-level diagnostics and emergency overrides.
|
||||
Transcript mutations pass through the session accessor and SQLite writer queue.
|
||||
Each mutation verifies the active run's durable writer claim inside its commit
|
||||
transaction, so a superseded run cannot write to the transcript.
|
||||
|
||||
### Downgrading After The SQLite Flip
|
||||
|
||||
|
||||
Reference in New Issue
Block a user