Skip to content

fix(events): paginate Dice.fm imports and window Ticketmaster geo queries - #4111

Merged
chubes4 merged 1 commit into
mainfrom
fix/issue-4107-data-machine
Nov 29, 2026
Merged

chubes4 merged 1 commit into
mainfrom
fix/issue-4107-data-machine

Conversation

@chubes4

@chubes4 chubes4 commented Nov 29, 2026

Copy link
Copy Markdown
Member

Closes #4107
Closes #4108

Summary

Big-city imports now reach every upcoming event the source offers, not just the first page or the first 1,000 results.

Operator note

The first runs after deploy will pull large backlogs: about 5k London Dice events and about 2.3k extra NYC Ticketmaster events. The per-run max_items throttle spreads that over days. The events site AI step now runs on gpt-6-luna.

Provenance

Produced by Homeboy Cook agent-task-49fb75ee-aa52-42b7-8139-2eadcfb06268. Gated candidate 0fedc30f7 passed homeboy review lint data-machine-events --changed-since origin/main and homeboy review test data-machine-events on homeboy-lab. The Cook stalled in publishing (known issue), so Extra Chill Bot pushed the gated commit unchanged and opened this PR by hand.

A parallel Cook (agent-task-7db775a3, candidate 062d0e7b4) wrote an overlapping fix for both issues, because both Cook briefs pointed at both handlers. Only this candidate is being shipped. The other was not pushed as a PR.

AI disclosure

Code: Homeboy Cook (Claude). PR opened by Extra Chill Bot (Claude) on Chubes' authorization.

…ries

Dice.fm (#4107): follow links.next / page[number] until exhausted, with an
80-page cap (warning logged when hit), optional horizon_days, country
filter across all pages, and nearest-date-first ordering under a new
default max_items of 100 so big-city backlogs drain over several runs.

Ticketmaster (#4108): when a geo query reports totalElements above the
1,000-event deep-paging reach, split it into consecutive
startDateTime/endDateTime windows (probed with size=1, halved down to one
day) and paginate each; windows still over the cap log the existing
truncation warning.
@chubes4
chubes4 merged commit 3481b4f into main Nov 29, 2026
5 of 6 checks passed
@chubes4
chubes4 deleted the fix/issue-4107-data-machine branch November 29, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant