Skip to content

fix(deps): aioia-core 3.x 허용 - #29

Merged
ywkim merged 1 commit into
mainfrom
fix/allow-aioia-core-3
Oct 24, 2026
Merged

ywkim merged 1 commit into
mainfrom
fix/allow-aioia-core-3

Conversation

@ywkim

@ywkim ywkim commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

요약

fancall 백엔드가 aioia-core 3.x와 함께 설치될 수 있도록 의존성 범위를 넓힙니다. 동작 변경은 없습니다.

목적

aioia-core 3.0.0(algorima/aioia-core#50)은 BaseCrudRouter 목록 라우트가 페이지 크기를 pageSize 쿼리 키로 받도록 바꿉니다. fancall은 aioia-core = "^2.3.0"으로 3.0 미만에 묶여 있어서, buppy처럼 fancall을 함께 쓰는 프로젝트가 aioia-core 3.x로 올라갈 수 없습니다.

변경 사항

  • backend/pyproject.toml: aioia-core = ">=2.3.0,<4.0.0"
  • backend/poetry.lock: content-hash만 갱신 (설치 버전은 aioia-core 2.x 그대로)

코드 변경이 필요 없는 이유:

  • LiveRoomRouter는 기본 목록 라우트를 그대로 씁니다.
  • 프론트엔드는 @aioia/core를 통해 이미 pageSize를 보내므로, 3.0.0에서는 오히려 요청한 페이지 크기가 적용됩니다.
  • 저장소 안에 page_size를 쿼리 키로 보내는 코드는 없습니다.

테스트

  • CI backend-ci 통과 (로컬에서는 실행하지 않음)
  • aioia-core 3.0.0 릴리스 후 poetry update aioia-core로 3.x 설치와 단위 테스트 확인

릴리스: 병합되면 fix: 커밋이라 backend patch 버전이 배포됩니다.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DCA58hKuLUjK67oVCUqBf7

@ywkim
ywkim marked this pull request as ready for review October 20, 2026 02:43
@ywkim
ywkim requested a review from Lee-Soyeon October 20, 2026 02:44
@ywkim

ywkim commented Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

@Lee-Soyeon 리뷰 요청드립니다. 시간 내어 봐 주셔서 감사합니다!


Generated by Claude Code · session 386c57a4-98be-40e9-a471-80eb9b117fc5

Lee-Soyeon
Lee-Soyeon previously approved these changes Oct 21, 2026

@Lee-Soyeon Lee-Soyeon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

승인합니다. 의존성 범위만 넓히는 변경이고 2.x 사용자에게는 영향이 없습니다.

확인한 것

  • pyproject.toml의 aioia-core가 >=2.3.0,<4.0.0으로 바뀌고, poetry.lock은 content-hash만 갱신됩니다. 설치 버전은 2.4.0 그대로입니다.
  • backend-ci가 통과했습니다.
  • 저장소에서 page_size는 live_room_repository.py의 get_all(current, page_size, ...) 인자 한 곳뿐입니다. 쿼리 키로 보내는 코드가 없다는 PR 본문 설명과 일치합니다.

병합 전 확인 사항

  1. 락이 2.4.0에 고정되어 있어 CI는 3.x를 검증하지 못합니다. 본문의 두 번째 테스트 항목(3.0.0 릴리스 후 poetry update aioia-core로 설치와 단위 테스트 확인)이 유일한 검증입니다.
  2. LiveRoomRepository.get_all이 super().get_all(current, page_size, sort, filters, load_options=...)를 직접 호출합니다. 이번 리뷰에서는 algorima/aioia-core#50을 읽지 못해서, 3.0이 repository 시그니처를 바꾸는지는 확인하지 못했습니다. #50 diff에서 확인해 주세요.
  3. fix: 커밋이라 병합하면 backend patch가 바로 배포됩니다. 3.0.0 릴리스 후 위 1번을 확인하고 병합하는 순서를 권합니다.

Generated by Claude Code

@Lee-Soyeon

Copy link
Copy Markdown
Contributor

@ywkim 머지 순서 정리 (2026-10-22)

이 PR은 2/11번째 입니다. 의존성 범위만 넓히는 변경이라 #30 다음에 바로 머지해 두면 buppy의 aioia-core 3.x 업그레이드를 막지 않습니다.

전체 순서: 1 #30 → 2 #29 → 3 #18 → 4 #19 → 5 #20 → 6 #22 → 7 #23 → 8 #24 → 9 #25 → 10 #26 → 11 #27
#17은 #18·#19·#22~#25로 나눠 올린 원본이라, 분할 PR이 모두 머지되면 빠진 내용이 없는지 확인하고 닫습니다.
충돌(CONFLICTING) 표시가 있는 PR은 앞 순서가 머지되는 대로 rebase해서 풀겠습니다.

@Lee-Soyeon Lee-Soyeon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ywkim 범위 변경(>=2.3.0,<4.0.0)과 코드 변경이 필요 없다는 근거(pageSize 쿼리 키, LiveRoomRouter 기본 라우트)는 동의합니다. 머지 전 두 가지만 부탁드립니다.

  1. main과 충돌: backend/poetry.lock이 충돌합니다. 손으로 고치지 말고 최신 main lock 위에서 다시 생성해 주세요.
  2. Poetry 버전: 이 PR의 lock 머리줄이 Poetry 2.4.3 → 2.3.2로 내려갔고, dill 마커 순서만 바뀐 diff가 생겼습니다. 레포 lock은 2.4.3으로 만들어 왔으니(fancall#33도 uvx poetry@2.4.3 lock으로 재생성) 같은 버전으로 다시 만들면 content-hash 외 잡음이 사라집니다.

충돌을 풀면 승인하겠습니다.


Generated by Claude Code

@ywkim
ywkim force-pushed the fix/allow-aioia-core-3 branch from 9bf0a0d to ef0b588 Compare October 23, 2026 21:36
@ywkim
ywkim requested a review from Lee-Soyeon October 23, 2026 21:36
Lee-Soyeon
Lee-Soyeon previously approved these changes Oct 23, 2026

@Lee-Soyeon Lee-Soyeon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

승인합니다.

  • aioia-core 범위만 ^2.3.0 → >=2.3.0,<4.0.0로 넓히고, lock은 content-hash만 바뀌어 설치 버전(2.x)은 그대로입니다.
  • backend-ci success 확인했습니다.
  • 3.0.0 릴리스 후 poetry update aioia-core로 3.x 설치 테스트는 본문 체크리스트대로 후속 확인 부탁드립니다.

Generated by Claude Code

aioia-core 3.0.0 changes the BaseCrudRouter list route to read the page
size from `pageSize`. fancall uses the default list route and its
frontend already sends `pageSize` through @aioia/core, so no code change
is needed. Widening the range lets consumers such as buppy install
aioia-core 3.x together with fancall.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DCA58hKuLUjK67oVCUqBf7

@Lee-Soyeon Lee-Soyeon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

승인합니다.

  • aioia-core = ">=2.3.0,<4.0.0": 하한은 유지하고 3.x만 추가로 허용하는 범위 확장이라 기존 설치에 영향이 없습니다.
  • poetry.lock은 content-hash만 바뀌었고 설치 버전은 그대로입니다 (pyproject 변경과 일치).
  • backend-ci 통과 확인했습니다.
  • 3.x 설치와 단위 테스트는 PR 본문 체크리스트대로 aioia-core 3.0.0 릴리스 후 poetry update aioia-core로 확인하면 됩니다.

Generated by Claude Code

@ywkim
ywkim merged commit 699508f into main Oct 24, 2026
1 check passed
@ywkim
ywkim deleted the fix/allow-aioia-core-3 branch October 24, 2026 09:36
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