Commit 436bd18
committed
feat!: remove search_mode, unify browse loop with max_pages budget
BREAKING CHANGE: search_mode config key removed. Existing configs are
auto-migrated on startup — the key is silently dropped.
- Remove search_mode from config (MetacriticPlatformConfig), scheduler, and
pipeline (AcquisitionConfig, run_acquisition, all helper signatures)
- Consolidate pending_games_backlog + pending_games_latest into single
pending_games table with startup migration (INSERT OR IGNORE + DROP)
- Merge all 10 _backlog/_latest DB method pairs into unified methods
targeting PendingGame
- Collapse backlog/latest browse branching into single unified loop with
max_pages budget, max_cycle_pages pacing, progress tracking, and
infinite auto-reset to page 1 when budget exhausted
- Remove five _by_mode dispatch helpers; callers use db.* directly
- Fix infinite-retry on exhausted browse pages (max(last_page, start_page))
- Remove dead platform param from get_known_slugs
- Update README, config migration, and 797 tests
- Bump version to 3.0.01 parent d51358d commit 436bd18
11 files changed
Lines changed: 763 additions & 1414 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
174 | | - | |
175 | | - | |
| 173 | + | |
| 174 | + | |
176 | 175 | | |
177 | 176 | | |
178 | 177 | | |
| |||
301 | 300 | | |
302 | 301 | | |
303 | 302 | | |
304 | | - | |
| 303 | + | |
305 | 304 | | |
306 | 305 | | |
307 | 306 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | 114 | | |
116 | 115 | | |
117 | 116 | | |
| |||
800 | 799 | | |
801 | 800 | | |
802 | 801 | | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
803 | 821 | | |
804 | 822 | | |
805 | 823 | | |
| |||
834 | 852 | | |
835 | 853 | | |
836 | 854 | | |
| 855 | + | |
837 | 856 | | |
838 | 857 | | |
839 | 858 | | |
| |||
0 commit comments