From d352406e3ada11fd1040d1d44d43a92411fe5f7b Mon Sep 17 00:00:00 2001 From: thkim7 Date: Wed, 10 Sep 2025 18:30:01 +0900 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20Service=EC=97=90=20InvalidItemDataE?= =?UTF-8?q?xception=20=EC=9D=B8=EC=9E=90=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/pre-processing-service/app/service/crawl_service.py | 4 ++-- apps/pre-processing-service/app/service/match_service.py | 2 +- apps/pre-processing-service/app/service/search_service.py | 2 +- apps/pre-processing-service/app/service/similarity_service.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/pre-processing-service/app/service/crawl_service.py b/apps/pre-processing-service/app/service/crawl_service.py index 52f68578..4122bb2e 100644 --- a/apps/pre-processing-service/app/service/crawl_service.py +++ b/apps/pre-processing-service/app/service/crawl_service.py @@ -28,7 +28,7 @@ async def crawl_product_detail(self, request: RequestSadaguCrawl) -> dict: if not product_detail: logger.error(f"상품 상세 정보 크롤링 실패: url={request.product_url}") - raise InvalidItemDataException("상품 상세 정보 크롤링 실패") + raise InvalidItemDataException() product_title = product_detail.get("title", "Unknown")[:50] logger.success( @@ -56,7 +56,7 @@ async def crawl_product_detail(self, request: RequestSadaguCrawl) -> dict: logger.error( f"크롤링 서비스 오류: job_id={request.job_id}, product_url={request.product_url}, error='{e}'" ) - raise InvalidItemDataException(f"상품 상세 크롤링 오류: {e}") + raise InvalidItemDataException() finally: await crawler.close() logger.debug("크롤러 리소스 정리 완료") diff --git a/apps/pre-processing-service/app/service/match_service.py b/apps/pre-processing-service/app/service/match_service.py index 613f301a..5816957a 100644 --- a/apps/pre-processing-service/app/service/match_service.py +++ b/apps/pre-processing-service/app/service/match_service.py @@ -92,4 +92,4 @@ def match_products(self, request: RequestSadaguMatch) -> dict: logger.error( f"매칭 서비스 오류: job_id={request.job_id}, keyword='{keyword}', error='{e}'" ) - raise InvalidItemDataException(f"키워드 매칭 실패: {str(e)}") + raise InvalidItemDataException() diff --git a/apps/pre-processing-service/app/service/search_service.py b/apps/pre-processing-service/app/service/search_service.py index a130db46..6fb09c0f 100644 --- a/apps/pre-processing-service/app/service/search_service.py +++ b/apps/pre-processing-service/app/service/search_service.py @@ -102,7 +102,7 @@ async def search_products(self, request: RequestSadaguSearch) -> dict: logger.error( f"검색 서비스 오류: job_id={request.job_id}, keyword='{keyword}', error='{e}'" ) - raise InvalidItemDataException(f"상품 검색 실패: {str(e)}") + raise InvalidItemDataException() finally: await crawler.close() diff --git a/apps/pre-processing-service/app/service/similarity_service.py b/apps/pre-processing-service/app/service/similarity_service.py index bd573eec..0ccb6b2c 100644 --- a/apps/pre-processing-service/app/service/similarity_service.py +++ b/apps/pre-processing-service/app/service/similarity_service.py @@ -174,4 +174,4 @@ def select_product_by_similarity(self, request: RequestSadaguSimilarity) -> dict logger.error( f"유사도 분석 서비스 오류: job_id={request.job_id}, keyword='{keyword}', error='{e}'" ) - raise InvalidItemDataException(f"유사도 분석 실패: {str(e)}") + raise InvalidItemDataException() From d7ab8b8ac83dcba3f53eaa66230038a35c5b15a4 Mon Sep 17 00:00:00 2001 From: can019 Date: Wed, 10 Sep 2025 18:46:14 +0900 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20Trigger=20=EC=A1=B0=EA=B1=B4=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci-java.yml | 2 +- .github/workflows/ci-python.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-java.yml b/.github/workflows/ci-java.yml index e112f3ab..374fb460 100644 --- a/.github/workflows/ci-java.yml +++ b/.github/workflows/ci-java.yml @@ -24,7 +24,7 @@ permissions: jobs: spotless-check: - if: github.event_name == 'pull_request' && github.event.pull_request.draft == false + if: github.event.pull_request.draft == false name: Lint Check runs-on: ubuntu-latest diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml index 84b1e919..75584368 100644 --- a/.github/workflows/ci-python.yml +++ b/.github/workflows/ci-python.yml @@ -22,7 +22,7 @@ permissions: jobs: lint: - if: github.event_name == 'pull_request' && github.event.pull_request.draft == false + if: github.event.pull_request.draft == false name: Lint & Format Check runs-on: ubuntu-latest defaults: