• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsm / neokai / 22707920336
84%

Build:
DEFAULT BRANCH: dev
Ran 05 Mar 2026 07:54AM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
  cancel
22707920336

push

github

web-flow
fix(daemon): add session recovery safety net for room runtime (#182)

After daemon restart, in-memory AgentSession cache is cleared but DB state
remains. This caused stuck tasks when sessions were in awaiting_human state
and the human approved after restart — injectMessage failed because the
session wasn't in memory.

Three-layer defense:
1. Startup recovery restores sessions from DB into memory cache
2. Tick-based zombie detection as periodic safety net
3. Rollback on injectMessage failure prevents inconsistent state

Changes:
- Add AgentSession.restore() static factory for DB-only session loading
- Extend SessionFactory with restoreSession for session restoration
- Rewrite runtime-recovery to restore sessions before observing them
- Add awaiting_human recovery (previously skipped entirely)
- Add zombie detection in executeTick() (sync detect + async recover)
- Add rollback in resumeWorkerFromHuman when inject fails

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Source Files on build 22707920336
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #22707920336
  • b461af9a on github
  • Prev Build on dev (#22704615435)
  • Next Build on dev (#22740825465)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc