Skip to content

Run yemot handler in stateless replay mode - #241

Merged
buzz-code merged 1 commit into
mainfrom
claude/yemot-router-replacement-izsqie
Oct 23, 2026
Merged

buzz-code merged 1 commit into
mainfrom
claude/yemot-router-replacement-izsqie

Conversation

@buzz-code

Copy link
Copy Markdown
Owner

Part of buzz-code/ops#20 · depends on buzz-code/nra-server#77

Bumps server/shared to the opt-in stateless Yemot replay and sets static stateless = true, so a call no longer depends on every request reaching the same server node.

  • Time-based branches (reporting deadline, today's schedule, duplicate-lesson lookup, already-reported check) read callStartedAt instead of new Date(), so a call takes the same path however long it runs. DB writes only follow the last prompt.

Tests

  • yarn test: 1199 pass (includes the shared two-node e2e).
  • Live: two server instances behind a round-robin proxy - seminar attendance flow with an invalid student and a rejected name, driven both by raw Yemot-style requests and by the in-app simulator UI; trailing hangup=yes creates no duplicate rows.

Generated by Claude Code

Bumps server/shared to the opt-in stateless Yemot replay and sets
`static stateless = true`, so a call no longer depends on every request
reaching the same server node:
- time-based branches (reporting deadline, today's schedule, duplicate
  lesson lookup, already-reported check) read callStartedAt instead of
  new Date(); DB writes only follow the last prompt

Part of buzz-code/ops#20

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018cbUAz3gpa3f4WrabUVz3a
@buzz-code
buzz-code force-pushed the claude/yemot-router-replacement-izsqie branch from 875b57c to 12e7ea6 Compare October 23, 2026 12:13
@buzz-code
buzz-code merged commit 6a83a81 into main Oct 23, 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