fix: recipe enrichment backfill, main_ingredient browser, bug batch #109

Open
pyr0ball wants to merge 0 commits from fix/recipe-enrichment-and-bugfixes into main
Owner

Summary

  • Recipe corpus enrichment (#108): Added _MAIN_INGREDIENT_SIGNALS to tag_inferrer.py covering 10 main ingredient categories; updated browser_domains.py to query main:* tags. Ran backfill on 3.19M corpus — 1,054,663 recipes now tagged, recipe_browser_fts fully rebuilt (was ~1,215 rows before).
  • Community posts shape fix (#96): Response now includes total, page, page_size.
  • Export arg types fix (#92): Corrected wrong argument types.
  • Household invite store leak fix (#93): Store connection properly closed.
  • Shopping list: Migration 033, schemas, ShoppingView + ShoppingItemRow, Pinia store.
  • Session endpoint: Exposes current session tier/user info.
  • Docs: User-facing docs added under docs/.

Test plan

  • Browse main_ingredient/Chicken returns 150K+ results
  • Browse main_ingredient/Beef, Pasta, Grains return non-zero counts
  • Community feed response includes total field
  • Shopping list items round-trip correctly
  • Export endpoint no longer throws arg type errors
  • Cloud stack: per-user DB + corpus ATTACH both functional
## Summary - **Recipe corpus enrichment (#108):** Added `_MAIN_INGREDIENT_SIGNALS` to `tag_inferrer.py` covering 10 main ingredient categories; updated `browser_domains.py` to query `main:*` tags. Ran backfill on 3.19M corpus — 1,054,663 recipes now tagged, `recipe_browser_fts` fully rebuilt (was ~1,215 rows before). - **Community posts shape fix (#96):** Response now includes `total`, `page`, `page_size`. - **Export arg types fix (#92):** Corrected wrong argument types. - **Household invite store leak fix (#93):** Store connection properly closed. - **Shopping list:** Migration 033, schemas, ShoppingView + ShoppingItemRow, Pinia store. - **Session endpoint:** Exposes current session tier/user info. - **Docs:** User-facing docs added under `docs/`. ## Test plan - [ ] Browse `main_ingredient/Chicken` returns 150K+ results - [ ] Browse `main_ingredient/Beef`, `Pasta`, `Grains` return non-zero counts - [ ] Community feed response includes `total` field - [ ] Shopping list items round-trip correctly - [ ] Export endpoint no longer throws arg type errors - [ ] Cloud stack: per-user DB + corpus ATTACH both functional
pyr0ball added 1 commit 2026-04-18 15:39:32 -07:00
fix: recipe enrichment backfill, main_ingredient browser domain, bug batch
Some checks failed
CI / Backend (Python) (push) Has been cancelled
CI / Frontend (Vue) (push) Has been cancelled
CI / Backend (Python) (pull_request) Has been cancelled
CI / Frontend (Vue) (pull_request) Has been cancelled
01aae2eec8
Recipe corpus (#108):
- Add _MAIN_INGREDIENT_SIGNALS to tag_inferrer.py (Chicken/Beef/Pork/Fish/Pasta/
  Vegetables/Eggs/Legumes/Grains/Cheese) — infers main:* tags from ingredient names
- Update browser_domains.py main_ingredient categories to use main:* tag queries
  instead of raw food terms; recipe_browser_fts now has full 3.19M row coverage
  (was ~1.2K before backfill)

Bug fixes:
- Fix community posts response shape (#96): add total/page/page_size fields
- Fix export endpoint arg types (#92)
- Fix household invite store leak (#93)
- Fix receipts endpoint issues
- Fix saved_recipes endpoint
- Add session endpoint (app/api/endpoints/session.py)

Shopping list:
- Add migration 033_shopping_list.sql
- Add shopping schemas (app/models/schemas/shopping.py)
- Add ShoppingView.vue, ShoppingItemRow.vue, shopping.ts store

Frontend:
- InventoryList, RecipesView, RecipeDetailPanel polish
- App.vue routing updates for shopping view

Docs:
- Add user-facing docs under docs/ (getting-started, user-guide, reference)
- Add screenshots
Some checks failed
CI / Backend (Python) (push) Has been cancelled
CI / Frontend (Vue) (push) Has been cancelled
CI / Backend (Python) (pull_request) Has been cancelled
CI / Frontend (Vue) (pull_request) Has been cancelled
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/recipe-enrichment-and-bugfixes:fix/recipe-enrichment-and-bugfixes
git checkout fix/recipe-enrichment-and-bugfixes

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff fix/recipe-enrichment-and-bugfixes
git checkout fix/recipe-enrichment-and-bugfixes
git rebase main
git checkout main
git merge --ff-only fix/recipe-enrichment-and-bugfixes
git checkout fix/recipe-enrichment-and-bugfixes
git rebase main
git checkout main
git merge --no-ff fix/recipe-enrichment-and-bugfixes
git checkout main
git merge --squash fix/recipe-enrichment-and-bugfixes
git checkout main
git merge --ff-only fix/recipe-enrichment-and-bugfixes
git checkout main
git merge fix/recipe-enrichment-and-bugfixes
git push origin main
Sign in to join this conversation.
No description provided.