alert-oil-1341
08/06/2025, 3:31 PMSyncAgentBase agent w/ Flytekit 1.15.4 and ran about 1000 workflows. Of those, a handful gave us this error:
currentAttempt done. Last Error: USER::failed to create task from agent with rpc error: code = Internal desc = failed to create edge_artifact task with error:
Trace:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/flytekit/extend/backend/agent_service.py", line 102, in wrapper
res = await func(self, request, context, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/flytekit/extend/backend/agent_service.py", line 121, in CreateTask
agent.create,
^^^^^^^^^^^^
AttributeError: 'EdgeArtifactAgent' object has no attribute 'create'
Message:
AttributeError: 'EdgeArtifactAgent' object has no attribute 'create'.
What's weird is that this is in the AsyncAgentBase code path. So I'm wondering if there's an issue w/ looking up the agent in the registry or something? Or why we get this strange behavior.freezing-airport-6809
alert-oil-1341
08/06/2025, 4:23 PMfreezing-airport-6809
freezing-airport-6809
freezing-airport-6809
freezing-airport-6809
alert-oil-1341
08/06/2025, 6:55 PMalert-oil-1341
08/06/2025, 6:55 PM