Commit 5934068
fix: trend discovery cache + auth JSON parsing + GitHub stars regex
1. Add cache: 'no-store' to fetchWithTimeout — Next.js extends fetch()
with aggressive caching that was causing all sources to return 0 results
2. Handle double-encoded JSON in NOTEBOOKLM_AUTH_JSON — .env.local wraps
values in quotes, producing a JSON string literal that needs double-parse
3. Fix GitHub stars regex to match "this week" and "this month" (not just "today")
4. Add verbose logging for Dev.to tag failures and empty blog feed parsing
5. Increase fetch timeout from 10s to 15s
Co-authored-by: research <research@miriad.systems>1 parent 6ec3fea commit 5934068
2 files changed
+25
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
64 | 70 | | |
65 | 71 | | |
66 | 72 | | |
67 | | - | |
| 73 | + | |
| 74 | + | |
68 | 75 | | |
69 | 76 | | |
70 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
293 | 298 | | |
294 | 299 | | |
295 | 300 | | |
| |||
550 | 555 | | |
551 | 556 | | |
552 | 557 | | |
553 | | - | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
554 | 562 | | |
555 | 563 | | |
556 | 564 | | |
| |||
613 | 621 | | |
614 | 622 | | |
615 | 623 | | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
616 | 627 | | |
617 | 628 | | |
618 | 629 | | |
| |||
776 | 787 | | |
777 | 788 | | |
778 | 789 | | |
779 | | - | |
| 790 | + | |
780 | 791 | | |
781 | | - | |
| 792 | + | |
782 | 793 | | |
783 | 794 | | |
784 | 795 | | |
| |||
0 commit comments