Skip to content

v0.2.11 — scalable session polling

Choose a tag to compare

@Totoro-qaq Totoro-qaq released this 24 Aug 10:31
e491b6c

What changed

  • Compression-worker completion polling now reads only that session's bounded session.history tail, using a pre-prompt event watermark and a newer turn/start / turn/end as the completion barrier.
  • Preview, migration, /bridge, and CLI paths reuse the source session row instead of repeatedly scanning the global session list.
  • No TTL cache is used, so stale running=false state cannot reintroduce the delayed-start race.

Evidence

  • 30 worker polls: session.list calls reduced from 32 to 1.
  • npm run verify: 126/126 tests, generated artifacts, datasets, and isolated package smoke pass.
  • Node.js 22/24 CI and CodeQL pass.
  • Fresh official DSH 0.1.1-rc.2 live migration with deepseek-v4-flash: source / preview / target facts 4/4 / 4/4 / 4/4, doctor 13/13, all 3 test sessions archived.

Install or upgrade

dsh plugin --profile web add dsh-plugin-bridge@0.2.11

Restart the WebUI once after installation, then run /bridge --doctor.

See CHANGELOG.md for details.