The GitHub Actions job "Tests (AMD)" on airflow.git/common-ai-cost-limit has 
failed.
Run started by GitHub user Lee-W (triggered by Lee-W).

Head commit for run:
eb460d9c9cf1a57285f09b56503f20c3678cce7f / Wei Lee <[email protected]>
Stop a non-finite max_cost from silently disabling the cost cap

Because max_cost is templated, its value is often not in the Dag author's
control -- an unset Variable or a typo renders to a string the operator then
has to make sense of. An "inf" that passed validation left a cap that could
never be exceeded, which is worse than no cap at all: it reads as protection
that isn't there. "nan" escaped as a bare decimal.InvalidOperation from the
negativity comparison, contradicting the documented ValueError contract.

The classification call LLMRetryPolicy makes on every task failure is not an
operator run, so no cost cap has ever applied to it. That is pre-existing and
deliberate, but someone who sets max_cost reasonably expects it to bound
everything the task spends, so the exemption is now stated in the docs.

The provider requires pydantic-ai-slim 2.23.0 for the cost API, so the extras
now say so too rather than leaving a floor the resolver silently overrides.

Report URL: https://github.com/apache/airflow/actions/runs/31591124850

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to