ep: Skip context retrieval when already performed (#51100)

Previously we didn't distinguish between an empty `.related_files[]` and
a case where context collection hadn't run yet. As a result, context
retrieval was always attempted for examples with empty `related_files`.

Release Notes:

- N/A
b54716dac1Oleksiy Syvokon committed on 3/9/2026, 2:42:15 PM· committed by GitHubparent171e7cb
11 files changedLine totals unavailable