Skip to content

refactor: batch component scan 범위 축소#612

Open
Whale0928 wants to merge 3 commits into
mainfrom
codex/batch-component-scan-scope
Open

refactor: batch component scan 범위 축소#612
Whale0928 wants to merge 3 commits into
mainfrom
codex/batch-component-scan-scope

Conversation

@Whale0928
Copy link
Copy Markdown
Collaborator

변경 요약

  • batch application component scan 범위를 app 전체에서 app.batch.bottlenote로 축소
  • daily report에 필요한 DailyDataReportService, WebhookConfig, AppInfoConfig는 명시적 @Import로 유지
  • batch context startup 테스트 추가
  • Job 3종, Quartz binding 3종, daily report wiring 유지 검증 추가
  • product/admin 계층 bean 미로딩 검증 추가

검증

  • ./gradlew :bottlenote-batch:compileJava PASS
  • ./gradlew :bottlenote-batch:compileTestJava PASS
  • ./gradlew :bottlenote-batch:batch_test PASS
  • ./gradlew build -x test -x asciidoctor --build-cache --parallel PASS
  • git diff --check PASS

리스크/주의사항

  • JPA entity/repository scan은 이번 작업에서 건드리지 않음
  • context 테스트용 SQL stub이 batch test resources에 추가됨
  • Gradle 9 deprecation warning은 남아 있으나 실패 요인은 아님

관련 기술 부채

  • 7.2 batch 컴포넌트 스캔 범위 과다

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