Skip to content

fix: WordChain GSI1 index and Authorizer fixes#541

Merged
DDINGJOO merged 3 commits into
prodfrom
test
Jan 25, 2026
Merged

fix: WordChain GSI1 index and Authorizer fixes#541
DDINGJOO merged 3 commits into
prodfrom
test

Conversation

@DDINGJOO

@DDINGJOO DDINGJOO commented Jan 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • fix: use GSI1 index for WordChainSession roomId queries
  • fix: rename Authorizer to CognitoAuthV2 to force recreation with correct User Pool
  • fix: force Authorizer recreation to update Cognito User Pool

Changes

  • WordChainSessionRepository: GSI1 인덱스를 사용하도록 수정하여 roomId로 세션 조회 가능
  • template.yaml: Authorizer 이름을 CognitoAuthV2로 변경

Test plan

  • 끝말잇기 게임 시작/진행 테스트
  • API 인증 동작 확인

findActiveByRoomId was querying main table with ROOM#roomId partition key,
but the main table PK is WORDCHAIN#sessionId. Fixed to use GSI1 index
which has ROOM#roomId as partition key.
@github-actions github-actions Bot added backend Backend code changes layer:entity Entity/Domain layer layer:repository Repository/DAO layer labels Jan 25, 2026
@DDINGJOO DDINGJOO merged commit f957fb9 into prod Jan 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Backend code changes layer:entity Entity/Domain layer layer:repository Repository/DAO layer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant