From fc911b818e52cc523c0fca022a2b92eda21e1ea9 Mon Sep 17 00:00:00 2001 From: matt Date: Fri, 17 Oct 2025 16:41:44 -0700 Subject: [PATCH] fix: correct module path for all_cards.parquet generation in CI Changed from non-existent code.web.services.card_loader to correct code.file_setup.card_aggregator.CardAggregator module. Fixes ModuleNotFoundError in build-similarity-cache workflow. --- .github/workflows/build-similarity-cache.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-similarity-cache.yml b/.github/workflows/build-similarity-cache.yml index f66cd8c..aac38bb 100644 --- a/.github/workflows/build-similarity-cache.yml +++ b/.github/workflows/build-similarity-cache.yml @@ -86,7 +86,7 @@ jobs: - name: Build all_cards.parquet (needed for similarity cache, but not committed) if: steps.check_cache.outputs.needs_build == 'true' run: | - python -c "from code.web.services.card_loader import CardCatalogLoader; loader = CardCatalogLoader(); df = loader.load(); print(f'Created all_cards.parquet with {len(df):,} cards')" + python -c "from code.file_setup.card_aggregator import CardAggregator; agg = CardAggregator(); stats = agg.aggregate_all('csv_files', 'card_files/all_cards.parquet'); print(f'Created all_cards.parquet with {stats[\"total_cards\"]:,} cards')" - name: Build similarity cache (Parquet) if: steps.check_cache.outputs.needs_build == 'true'