The GitHub Actions job "Tests (ARM)" on airflow.git/main has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
d452d2769dfe395f02c8fa48630de2c082319b6f / Shahar Epstein 
<[email protected]>
Only force the full test matrix on API changes when the contract changes 
(#68060)

Any change under the API directory (airflow-core/src/airflow/api_fastapi/,
the legacy api/, or their test dirs) forced full-tests-needed=true — the whole
~135-job matrix including every provider's tests. The API tree is large and
churns constantly, so this fired on ~1 in 8 PRs and was, by measurement, the
single largest source of unnecessary full-matrix runs.

But only the API *contract* changing ripples broadly: the generated OpenAPI
spec (consumed by the UI codegen and the generated clients). Plain API
source/test edits that leave the committed spec untouched do not — and a prek
hook regenerates and verifies the spec, so an unchanged spec reliably means an
unchanged contract.

Narrow the full-tests trigger from API_FILES to API_CODEGEN_FILES (the
generated spec / client generator). API source edits still run the `API` test
type and the `fab` provider via run_api_tests; they just no longer drag in the
full provider matrix. Spec changes still force the full matrix.

In a 30-day sample (750 merged PRs) this spares ~63 full-matrix runs while
preserving full coverage on the 12 PRs that changed the contract.

Co-authored-by: Claude Opus 4.8 <[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to