Commit d4bd62c
refactor(search): tighten fanout merge, cooldown error, and skip-list lookup (FEAT-047)
Final PR #128 review polish. Fanout merge now sets number_of_results to the
merged result count so the JSON envelope is self-consistent. The all-instances-
failed error emits a distinct cooldown-specific message (no misleading "failed",
no double space) when every instance was skipped due to cooldown rather than
attempted. skippedInstances membership now uses a Set instead of Array.includes.
URL/result behavior is otherwise unchanged.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Codex <noreply@openai.com>1 parent 746e3bb commit d4bd62c
2 files changed
Lines changed: 50 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1953 | 1953 | | |
1954 | 1954 | | |
1955 | 1955 | | |
| 1956 | + | |
1956 | 1957 | | |
1957 | 1958 | | |
1958 | 1959 | | |
| |||
1963 | 1964 | | |
1964 | 1965 | | |
1965 | 1966 | | |
| 1967 | + | |
1966 | 1968 | | |
1967 | 1969 | | |
1968 | 1970 | | |
| |||
1978 | 1980 | | |
1979 | 1981 | | |
1980 | 1982 | | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
| 1997 | + | |
| 1998 | + | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
1981 | 2017 | | |
1982 | 2018 | | |
1983 | 2019 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
579 | 585 | | |
580 | 586 | | |
581 | 587 | | |
| |||
592 | 598 | | |
593 | 599 | | |
594 | 600 | | |
595 | | - | |
| 601 | + | |
| 602 | + | |
596 | 603 | | |
597 | 604 | | |
598 | 605 | | |
| |||
656 | 663 | | |
657 | 664 | | |
658 | 665 | | |
| 666 | + | |
| 667 | + | |
659 | 668 | | |
660 | 669 | | |
661 | | - | |
| 670 | + | |
| 671 | + | |
662 | 672 | | |
663 | 673 | | |
664 | 674 | | |
| |||
668 | 678 | | |
669 | 679 | | |
670 | 680 | | |
671 | | - | |
| 681 | + | |
| 682 | + | |
672 | 683 | | |
673 | 684 | | |
674 | 685 | | |
| |||
0 commit comments