Skip to content

Expand Visit category search to entertainment venue types - #451

Merged
tim-eternos merged 1 commit into
masterfrom
feat/visit-entertainment-types
Aug 2, 2026
Merged

Expand Visit category search to entertainment venue types#451
tim-eternos merged 1 commit into
masterfrom
feat/visit-entertainment-types

Conversation

@timwangmusic

@timwangmusic timwangmusic commented Aug 2, 2026

Copy link
Copy Markdown
Owner

GetPlaceTypes(Visit) grows 4 → 10 types: + movie_theater, bowling_alley, zoo, aquarium, stadium, tourist_attraction. All six are valid legacy Nearby Search type values and were already classified to Visit in placeTypeToCategory (the cache round-trip invariant holds — TestPlaceCategoryRoundTrip covers them), but they were never searched — so nearby-by-category results never contained these venue types; they could only enter the cache via one-off text-search confirms.

  • Cost: a cold Visit search's per-round fan-out rises from 4 to 10 concurrent Nearby calls; warm cells are unaffected.
  • Rollout: cells with a fresh Visit marker pick up the new types as their markers age out (14 days). Optional ops accelerant: HDEL the <cell>:visit fields from MapsLastSearchTime for high-traffic cells.

Tests: TestGetPlaceTypesByCategory pin updated; round-trip invariant green; go vet + full suite green (7 packages).

🤖 Generated with Claude Code

https://claude.ai/code/session_01DjdGnZM6cUBeg6jWwoQfU3

@timwangmusic
timwangmusic force-pushed the feat/visit-entertainment-types branch from 7611be0 to 041b1b8 Compare August 2, 2026 16:33
GetPlaceTypes(Visit) grows from 4 to 10 Google place types, adding
movie_theater, bowling_alley, zoo, aquarium, stadium and
tourist_attraction. These were already in placeTypeToCategory (they
classify and round-trip to Visit, and could enter the cache via
text-search confirms) but were never fetched by a category scan, so
nearby-by-category results contained none of these venue types.

Cost note: a cold Visit search's per-round fan-out rises from 4 to 10
concurrent Nearby calls. Warm cells are unaffected; cells with a fresh
Visit marker pick up the new types when their marker ages out (14 days).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DjdGnZM6cUBeg6jWwoQfU3
@timwangmusic
timwangmusic force-pushed the feat/visit-entertainment-types branch from 041b1b8 to f9fb253 Compare August 2, 2026 16:34
@tim-eternos
tim-eternos merged commit c0fb347 into master Aug 2, 2026
4 checks passed
@tim-eternos
tim-eternos deleted the feat/visit-entertainment-types branch August 2, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants