We finished ticket #55, adjusted the CICD to deploy if the VM is shut…#66
Merged
Conversation
… off, bugfixed the output of Logos to confirm with the backend.
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.
Summary
Closes #55 #56 . Adds recipe → grocery-list merging across the client and grocery-service,
hardens the Gen AI categorization output, and makes the Azure deploy resilient to a
powered-off VM.
Changes
Recipe merging (#55)
grocery-service: new
POST /api/grocery-list/mergeendpoint. Reads the selectedrecipes, delegates dedup/quantity-summing to gen-ai's
/api/ai/merge, and persists theresult as a new grocery list linked to its source recipes via
grocery_list_recipes.client: generated dishes are now saved as a recipe only; grocery lists are created
later by selecting 2+ recipes on the Recipes page and merging. Adds a merge bar with
checkboxes, success/error banners, and a "saved to Recipes" confirmation on Home.
Gen AI categorization fixes
and emits the coarse category tokens verbatim.
temperature: 0for deterministic, consistent categorization.GroceryItemMapper: alias table maps legacy/drifting category labels (e.g. "Dairy & Eggs","Dry Goods & Pasta") onto the enum instead of silently collapsing to
OTHER.CI/CD & infra
deploy-azure.yml:az vm startstep (idempotent) so deploys work when the VM wasdeallocated to save cost.
outputs.tf: exposeresource_group_name/vm_namefor the start step.site.yml: defer fact-gathering until afterwait_for_connectionso Ansible doesn't failSSHing into a just-booted host.