﻿# CrewAI eval gains an explicit headless report option without changing the verdict

Verify --no-open through direct evaluation and the child run app; suppressing a browser launch does not imply automatic trace consent or a successful verdict.

Author: Retrivium team
Updated: 2026-11-15
Canonical URL: https://retrivium.ai/journal/week46-agent-crewai-eval-headless-no-open/
Language: en

CrewAI 1.15.38, published on November 8 at 19:39:30 UTC, adds --no-open to evaluation. The flag prints the report link without trying to launch a browser, while waiting, verdict and exit behavior remain separate. Headless runners should check nested run-app behavior as well as an evaluation of an already known execution.

## Make browser launch observable

Use a synthetic report URL and an instrumented browser-opening function in a headless fixture. Assert no launch attempt with the flag, while the link is still available to the caller. Keep the default interactive behavior as a control. The useful evidence concerns an attempted side effect, not only whether a browser window was visible; a failed launch can remain hidden on a server without a desktop session.

## The child process must receive the setting

Evaluate a known execution and then a fixture that must run its crew first. Inspect the child handshake and actual report-opening outcome. The PR notes a child pinned to an older CLI can ignore the new setting, so record both parent and project-resolved versions. A passing top-level flag parse does not establish that a later process respects the choice made by the original headless caller.

## Headless execution retains policy decisions

Compare trace-sharing consent, waiting and verdict handling with and without the flag. Suppressing a browser is not an instruction to grant unrelated permission or skip an evaluation result. Keep credentials and report URLs synthetic in captured logs. The application can separately decide how to surface the link in CI, but it should preserve the evaluation’s actual success or failure rather than treating a printed URL as proof of a passing task.

## An explicit option needs an explicit invocation

The change does not provide automatic headless detection. Record the exact command used by the scheduler and reject unsupported option placement instead of silently dropping it. Test each evaluation mode the application actually invokes, including model comparisons if present. Adoption is complete when report access remains available, browser side effects stop and the unchanged verdict contract reaches the parent process on the same run identity.

## Sources

- [CrewAI 1.15.38 release notes](https://github.com/crewAIInc/crewAI/releases/tag/1.15.38)
- [CrewAI implementation and review #9220](https://github.com/crewAIInc/crewAI/pull/9220)

## Related reading

- [Flyte 2 traces: a successful helper checkpoint is different from a failed external attempt](/journal/fg2-flyte-two-trace-success-checkpoint-replay-boundary/)
- [Retrying generation POSTs: idempotency must be explicit](/journal/provider-post-retry-idempotency-ledger/)
