Skip to content

feat: run scene generation in durable worker - #14

Merged
yuyukosama2004 merged 1 commit into
mainfrom
codex/r2-scene-worker
Jul 18, 2026
Merged

yuyukosama2004 merged 1 commit into
mainfrom
codex/r2-scene-worker

Conversation

@yuyukosama2004

Copy link
Copy Markdown
Owner

Summary

  • move scene generation out of the request lifecycle into a FastAPI lifespan database worker
  • persist planning, drafting, summary, raw model output, event cursors, and version linkage for crash recovery
  • resume SSE with Last-Event-ID and keep client retries idempotent
  • add lease fencing, cancellation notification, retry, migration, and forced-crash coverage

Verification

  • backend: Ruff, mypy, 87 pytest tests
  • frontend: ESLint, 61 Vitest tests, production build
  • repeated partial-stream terminal race test: 10/10 passed
  • Alembic upgrade/downgrade/re-upgrade covered by migration test

@yuyukosama2004
yuyukosama2004 merged commit 9836d2f into main Jul 18, 2026
2 checks passed
@yuyukosama2004
yuyukosama2004 deleted the codex/r2-scene-worker branch July 18, 2026 12:07
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.

1 participant