Fix infinite loop in assemble_excerpts (#44195)

Also, expand the number of identifiers fetched.

Release Notes:

- N/A
d6241b17d3Max Brunsfeld committed on 12/5/2025, 6:51:26 AM· committed by GitHubparent42583c1
4 files changedLine totals unavailable