indexify
indexify copied to clipboard
Deleting a compute graph can produce weird behaviors if the executor is not restarted
When deleting a graph and then recreating the same one, some executor state issue seems to create side effects that only go away when restarting the executor.
The following example if from https://github.com/tensorlakeai/indexify/blob/9fcb176bfce8990e35ef28e572dc3096dddb50b2/python-sdk/tests/test_graph_update.py where the equality assertion fails in a surprising way when adding deletion on cleanup.
Traceback (most recent call last):
File "/Users/seriousben/src/github.com/tensorlakeai/indexify/python-sdk/tests/test_graph_update.py", line 44, in test_graph_update
self.assertEqual(output[0], Object(x="ab"))
AssertionError: Object(x='ab') != Object(x='ab')
After doing a model_dump and other prints, I still can't quite understand the difference between the objects.