tripit: enable live flight-fare scrape via shared chrome-service CDP
Sets FARE_PROVIDER=playwright + FARE_CDP_URL on the tripit deployment so the planning workspace's flight_fare cells auto-fetch live Google Flights quotes through the existing in-cluster headed browser (tripit issue #18, ADR-0007 — rate-limited, cached, degrades to manual entry). Viktor asked to complete the trip-planning tickets; this is the infra leg of the fare-scrape slice. Docs: chrome-service architecture + service catalog updated (tripit is now the second active CDP caller; catalog's legacy :3000 WS pool line corrected to CDP :9222). HOLD-ORDER NOTE: pushed only after the tripit image containing FareMode.playwright rolled out (older images crash-loop on the unknown enum). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
bd60c3d5e0
commit
980ec55418
3 changed files with 18 additions and 4 deletions
|
|
@ -79,6 +79,15 @@ locals {
|
|||
TTS_MODE = "openai_compatible"
|
||||
TTS_BASE_URL = "http://chatterbox-tts.tts.svc.cluster.local:8000"
|
||||
TTS_MODEL = "chatterbox"
|
||||
# Live flight-fare scrape (tripit ADR-0007, issue #18): Playwright driving
|
||||
# the SHARED chrome-service browser over CDP (no per-pod browser). The
|
||||
# provider rate-limits (30s min interval), caches 6h, backs off 300s on
|
||||
# failure, and degrades to manual entry — never blocks the grid. NOTE:
|
||||
# FareMode `playwright` only exists in images >= the #18 slice; setting
|
||||
# this against an older image crash-loops on the unknown enum (old pods
|
||||
# keep serving), so the env landed AFTER that image rolled out.
|
||||
FARE_PROVIDER = "playwright"
|
||||
FARE_CDP_URL = "http://chrome-service.chrome-service.svc.cluster.local:9222"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue