¶ Bodylog Meal Enrichment Backfill Recovery
Date: 2026-07-19
Namespace: bodylog
Repository: BodyLog/Bodylog.dev
- Added strict JSON-schema output for the three OpenAI meal enrichment stages.
- Added bounded retries and stage-specific parse diagnostics for invalid model responses.
- Updated Android automatic backfill to run from fresh cache, reload queued work, and start enrichment polling.
- Merged commit
542e762 (7d99ffa implementation) to main.
- Gitea Actions runs
705 (build/deploy) and 704 (Android internal testing) completed successfully.
- Deployed image:
gitea.app.lan/bodylog/bodylog.dev:sha-542e762ad977.
- Kubernetes deployment rolled out successfully; replacement pod became Ready with no startup errors.
- Backend tests: 140 passed.
- Frontend tests: 48 passed.
- Android
testDebugUnitTest: passed.
- Backfill was invoked through authenticated
/api/meals/backfill with trigger operator_revalidation.
- Previously failed meals
856, 851, and 708 completed successfully.
- Meal
856 persisted: 240 g, 600 kcal, 48 g protein, 22.6 g carbohydrates, 33.6 g fat, and 1.9 g fiber.
- Profile meal state after validation: 391 complete, 0 failed/pending/processing.
- Temporary validation sessions were revoked; none remain active.
Revert merge commit 542e762 through the repository workflow and redeploy the prior application image sha-3f56c03712c4 if enrichment regressions are observed.