Drop a superseded probe failure once the identifier is answered
CI / Python 3.13 (push) Successful in 37s
CI / Python 3.12 (push) Successful in 39s
CI / Build and smoke-test image (push) Successful in 10s

This commit is contained in:
omar committed 2026-11-29 11:47:34 +03:00
1 parent 4f4c8276b6
commit 784a940baa
1 file changed
+4
+4
View File
@@ -924,6 +924,10 @@ class Search:
async with asyncio.TaskGroup() as tasks:
work = [tasks.create_task(run(source, operations)) for source, operations in plans.items()]
answered = {(check.source, check.native_id.upper()) for check, page in checked.items() if page.status.status == 'ok'}
for check in [key for key in checked if checked[key].status.status != 'ok']:
if (check.source, check.native_id.upper()) in answered:
del checked[check]
return [item for task in work for item in task.result()]
async def _remember(self, observations: Iterable[Observation]) -> None: