From 20ca5ee624dabea20570efe83252cfda196f725c Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Mon, 22 Jun 2026 17:30:47 +0000 Subject: [PATCH] =?UTF-8?q?tripit:=20REEL=5FPROVIDER=3Danonymous=20?= =?UTF-8?q?=E2=80=94=20actually=20fetch=20reels=20(was=20fake=20canned=20c?= =?UTF-8?q?aption)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit REEL_PROVIDER was unset, so the reel pipeline used FakeReelExtractor, which returns a CANNED caption — every pasted (tripit #120) or forwarded reel produced a DUMMY Saved Place instead of reading the real reel. Set REEL_PROVIDER=anonymous in app_env (covers the web Deployment + the ingest CronJob) so AnonymousReelExtractor does the real anonymous read. Verified live from the cluster: yt-dlp fetched a real IG /p/ caption (no IG_GRAPHQL_DOC_ID needed — the internal-API path is an optional optimisation; yt-dlp fallback works). LLM extraction + Nominatim POI geocoding were already real (prior commits); this was the last fake link in the chain. Co-Authored-By: Claude Opus 4.8 --- stacks/tripit/main.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stacks/tripit/main.tf b/stacks/tripit/main.tf index 99600503..e0d09ceb 100644 --- a/stacks/tripit/main.tf +++ b/stacks/tripit/main.tf @@ -81,6 +81,12 @@ locals { LLM_ENDPOINT = "http://llama-swap.llama-cpp.svc.cluster.local:8080" # Reel-route POI geocoding (ADR-0031/0033) for the in-app paste path too. REEL_GEOCODER_PROVIDER = "nominatim" + # The REEL FETCHER (ADR-0031): anonymous IG/TikTok read via yt-dlp (the IG + # internal-API path is an optional optimisation gated on IG_GRAPHQL_DOC_ID; + # unset = yt-dlp only, which works). Was UNSET -> FakeReelExtractor returned a + # CANNED caption, so every pasted/forwarded reel produced a DUMMY place. + # Verified: yt-dlp reads a real IG /p/ caption from the cluster, no doc_id. + REEL_PROVIDER = "anonymous" MAIL_INGEST_ENABLED = "false" # Outbound mail (native-auth signup-verification + account recovery, linked- # email verification, trip-share invites) — submitted via the cluster