Commit Graph
32 Commits
Author SHA1 Message Date
Hide_D 6f2d6f0379 perf: 프로필 DB 풀과 advisory lock 격리
역할별 PostgreSQL pool 상한과 동일 process 공유 pool을 적용하고 health 지표를 노출한다.\n\n게임 기능 advisory lock을 schema namespace로 통일하고 실제 PostgreSQL 통합 하네스를 보강한다.
2026-08-17 17:30:06 +00:00
Hide_D 996357701c merge: 최신 main을 실행 중 게임 옵션 변경에 통합
# Conflicts:
#	packages/infra/prisma/gateway.prisma
2026-08-17 16:09:03 +00:00
Hide_D ca6823d409 feat: 실행 중 게임 옵션 변경을 지원
Gateway 관리 화면에서 현재 기수의 장수 생성 제한, 유저 자동턴, 턴 간격을 내구성 action으로 변경한다.

턴 간격 변경은 논리 tick과 현재 게임 시각을 보존하며 DB와 Redis의 tick 기반 시각을 재투영하고 기존 로그 timestamp는 유지한다.
2026-08-17 16:05:07 +00:00
Hide_D efb7be3cb9 feat: 다중 프로필 DB 부하 계측을 추가
production 턴 런타임의 lease, flush, outbox와 Redis 발행을 한 달 단위로 측정한다. nya와 pya 1분 프로필의 격리 fixture 및 현재 process·잠금 경계 문서를 함께 추가한다.
2026-08-17 15:43:14 +00:00
Hide_D 77b1051ac2 feat(gateway): add special account access 2026-08-08 16:33:54 +00:00
Hide_D d99e18f334 docs(gateway): document Kakao signup recovery transport 2026-08-08 12:54:16 +00:00
Hide_D 5c0aac5561 feat(gateway): recover orphaned Kakao account links 2026-08-08 10:01:23 +00:00
Hide_D 3654adbe13 feat(gateway): verify Kakao account ownership 2026-08-08 06:23:16 +00:00
Hide_D 7b466de0a6 feat: add durable release controller and admin deploy modes 2026-08-01 03:27:38 +00:00
Hide_D 81e58a21bc fix(gateway): make process shutdown idempotent 2026-07-31 16:55:57 +00:00
Hide_D 885018c7fd fix(turn): roll back checkpoint with world state 2026-07-31 16:11:56 +00:00
Hide_D 7f31459385 feat(admin): apply durable runtime clock shifts 2026-07-30 17:21:01 +00:00
Hide_D 027225081d docs: consolidate current architecture documentation 2026-07-30 14:15:47 +00:00
Hide_D 02d22de72c feat: add admin scenario operations 2026-07-25 11:38:58 +00:00
Hide_D f9ca027aa3 Generate Prisma clients in profile builds 2026-07-25 07:28:54 +00:00
Hide_D dbd869f0ed Run profiles from commit worktrees 2026-07-25 07:27:10 +00:00
Hide_D 2cb6bc8e96 chore: standardize TypeScript version to 6.0.2 across workspace
- Updated pnpm-workspace.yaml to enforce TypeScript version 6.0.2.
- Replaced legacy TypeScript import with the current version in comparison tools.
- Added ignoreDeprecations setting in tsconfig.base.json to suppress deprecation warnings for baseUrl.
- Introduced TypeScript version policy documentation outlining the rationale and upgrade gate for moving to TypeScript 7.
2026-07-25 06:39:04 +00:00
Hide_D 5040691d7c feat: implement input event system with durable command handling
- Introduced InputEvent model with status tracking (PENDING, PROCESSING, SUCCEEDED, FAILED) and unique request IDs.
- Added DatabaseTurnDaemonTransport for sending commands and handling idempotency.
- Implemented executeInputEvent function to manage input event lifecycle and error handling.
- Created DatabaseTurnDaemonCommandQueue for managing command processing and lease recovery.
- Enhanced turn daemon lifecycle to support atomic command execution and error recovery.
- Added tests for input event atomicity, command queuing, and error handling scenarios.
2026-07-25 05:36:34 +00:00
Hide_D cf93c28aff docs: 업데이트된 문서 내용 반영 및 Redis 통합 설명 추가 2026-01-05 16:20:20 +00:00
Hide_D c965b1120f feat: eslint 적용 및 관련 코드 일괄 수정 2026-01-05 15:46:47 +00:00
Hide_D a9609dcc19 feat: add database schema support for gateway and game profiles
- Introduced `dbSchema` configuration option in GatewayApiConfig and GatewayOrchestratorConfig.
- Implemented schema resolution logic in environment configuration functions.
- Updated context and orchestrator factory to use GatewayPrismaClient instead of PrismaClient.
- Refactored orchestrator server and profile repository to accommodate new database schema handling.
- Created separate Prisma schemas for game and gateway in the infra package.
- Enhanced Postgres connector to support schema overrides in database URLs.
- Updated documentation to reflect changes in database schema handling.
- Added new Prisma generation and database push scripts for game and gateway schemas.
2026-01-03 14:47:28 +00:00
Hide_D 8c9f61700e feat: Enhance Gateway Orchestrator with preopen and open scheduling, add error handling for paused states, and implement new profile management features 2026-01-01 11:27:10 +00:00
Hide_D e64962c3fd feat: Add Git workspace management for build profiles and implement workspace cleanup 2026-01-01 10:55:07 +00:00
Hide_D b46249dcbc feat: Implement admin router and orchestrator for managing profiles and builds
- Added `adminRouter` for handling profile management, including listing, upserting, and updating statuses.
- Introduced `BuildRunner` interface and `PnpmBuildRunner` class for executing build commands.
- Created `GatewayOrchestrator` to manage profile states, reconcile processes, and handle build queues.
- Implemented `Pm2ProcessManager` for managing processes using PM2.
- Developed `GatewayProfileRepository` for interacting with the database to manage profiles.
- Added utility functions for resolving workspace roots and managing process definitions.
- Included tests for profile reconciliation logic.
2026-01-01 10:38:28 +00:00
Hide_D 79819c4a1b feat: update documentation with current implementation details and planned monorepo layout 2025-12-30 13:39:43 +00:00
Hide_D 68e8a89c89 feat: runtime 문서에 tsdown 및 Vite 사용 추가 2025-12-28 13:18:09 +00:00
Hide_D 4eac1e45ba docs: AGENTS.md, README.md, and architecture documents 업데이트하여 서버+시나리오 프로파일 개념 정립 2025-12-27 05:46:15 +00:00
Hide_D af35491b2d 문서 수정: Redis 통신 및 인증 관리에 대한 권장 사항 추가 2025-12-27 04:04:56 +00:00
Hide_D 4a9c14fd98 문서 추가: 턴 다이아몬드 생명주기 및 제어 계약 문서화 2025-12-27 02:44:44 +00:00
Hide_D 475772240c 정리중 2025-12-26 18:39:48 +00:00
Hide_D 7293e09fed update 2025-12-26 18:29:23 +00:00
Hide_D 0e5a092eac architecture 2025-12-26 17:38:56 +00:00