TECHNOLOGY

CrewAI preserves failed anonymous traces when evaluation explicitly awaits the run

In this article
THE QUICK TAKE

Compare eval-awaited and ordinary anonymous failures, verify consent, and retain the original error if trace sharing fails; evidence upload is its own operation.

The November 8 CrewAI 1.15.38 release enables an eval-awaited anonymous run’s failed trace to be shared through the existing consent path and recorded for grading. Ordinary anonymous failures remain a separate case. Teams should test the handshake and consent boundary, because making failure evidence available does not authorize broader trace collection or replace the original execution error.

The evaluation handshake establishes scope

Create one synthetic anonymous failure launched for evaluation and another launched normally. Inspect whether each has the awaited marker and whether a trace-sharing operation is attempted. The release targets the first arrangement. A test containing only an eval success cannot establish the failure path, and a general anonymous failure must not be silently reclassified as consented evaluation merely because a report service is available.

Exercise the supported host callback and explicit evaluation request paths with synthetic traces. Record the decision and the resulting upload separately. A failed task does not remove the need to follow the existing sharing policy. Keep a negative consent case where applicable and verify no unintended request occurs. This checks the authority to transmit diagnostic content rather than only the evaluator’s ability to consume a trace once uploaded.

Sharing failure must not replace execution failure

Make the synthetic upload fail after the original task has raised a distinctive exception. Assert that the caller still observes the task’s original failure and that sharing diagnostics remain secondary. Otherwise an unavailable report service can hide the defect investigators need to understand. Use safe error classes and marker text, and compare the recorded run identity before attempting a retry of the evidence upload.

Recorded evidence and accepted work differ

Verify the failed run is discoverable for grading while its task status remains failed. Include cancellation and user interruption as separate controls because the PR limits the shared failure class. Do not infer coverage of the TUI’s later Evaluate action from this awaited-run flow. The migration record should show consented evidence availability for the intended anonymous failure without broadening collection or converting an error into a completed application result.

Sources

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles