Files
crewAI/lib
Devin AI b585f205be fix: remove sorted() calls to avoid shared-task mutation issues
Reverts the defensive sorted() by _execution_index added in the previous
commit. Bugbot correctly identified two issues:
1. None fallback to 0 would move unstamped tasks to the front
2. Shared task objects across crews would get corrupted indices

The _execution_index field remains as an observable contract for tests
and documentation. List iteration order (Python list semantics) is the
actual runtime enforcement — which was already deterministic.

Co-Authored-By: João <joao@crewai.com>
2026-03-01 16:43:01 +00:00
..
2026-02-27 09:44:47 -05:00