fix: 배치 작업 로그 페이지네이션 size 파라미터 불일치 수정 - #258
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
변경 내용
fetchBatchJobLogs가 페이지 크기를pageSize대신 백엔드 Spring Pageable 이름인size로 변환해 전송하도록 수정batchJobLogApi.test.ts)원인
백엔드는
Pageable(one-indexed,page+size)인데 프론트가pageSize로 보내 조용히 무시 →@PageableDefault(size=20)로 응답. UI(페이지당 10건)가 2페이지를 요청하면 백엔드 2페이지(21번째부터)를 받아 빈 목록이 되어 페이지 이동이 안 되는 증상.실제 검증 결과
pnpm vitest run— 91 passed (신규 2건 포함)pnpm tsc --noEmit— 통과pnpm build— 성공biome check src/entities/batch-job-log— 통과 (전체biome check .는 이 PR과 무관한 기존 파일 82건 format 에러가 dev에 존재 — 별도 정리 필요)참고 — 동일 패턴 의심 (이 PR 범위 밖)
application-log / login-history / search-log / adminUser / adminPolicy / adminCommunityPost / adminPolicyApplication API도
{ params }직접 전달로 같은 증상 가능성 (작성자 확인 후 별도 이슈 권장, #257 본문 참조)Closes #257
🤖 Generated with Claude Code