Skip to content

fix(yemot): in-memory call mode + log unsaved absences on hangup - #248

Merged
buzz-code merged 1 commit into
mainfrom
claude/project-thread-npre0a
Oct 29, 2026
Merged

buzz-code merged 1 commit into
mainfrom
claude/project-thread-npre0a

Conversation

@buzz-code

Copy link
Copy Markdown
Owner

Requested by הדסה · project thread

Fixes buzz-code/ops#36

Changes

  • static stateless = false in yemot-handler.service.ts. The Yemot handler keeps calls in memory between requests again, as before the replay mode. It's a temporary step: production runs a single server node, and the flow stays replay-safe (callStartedAt, writes after the last prompt), so it can be switched back on.
  • Log unsaved absences on hangup. If a seminar-attendance caller hangs up before finishing, nothing is saved (unchanged behavior). It now logs a warning with the klass id, teacher id and the absent-student ids already confirmed, so a lost report can be traced.
  • Bump server/shared to feat(yemot): log each request's answers and the exact response sent nra-server#85 (cc6d2bf): one log line per Yemot request (answers + hangup flag) and per response (exact text sent).

Tests

  • New unit test: a hangup during the absent-student loop warns with the confirmed ids and rethrows HangupError.
  • server: 127 suites / 1250 tests pass, tsc --noEmit clean.

Merge order

Merge buzz-code/nra-server#85 first, then re-pin server/shared to nra-server main if that PR is squashed (the pinned commit is on its branch).


Generated by Claude Code

…ngup

- static stateless = false: calls are held in memory between Yemot
  requests again (single server node); the flow stays replay-safe so
  it can be turned back on later.
- When a seminar caller hangs up before finishing, warn with the klass,
  teacher and the absent students already confirmed (nothing is saved),
  so a lost report can be traced.
- Bump server/shared to buzz-code/nra-server#85 (per-request Yemot
  request/response log).

Part of buzz-code/ops#36

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012GTictQRZtiJDmxx6EP9jx
@buzz-code buzz-code self-assigned this Oct 28, 2026
@buzz-code
buzz-code merged commit 5a8ffcd into main Oct 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants