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

Head commit for run:
bad38062f70a19c963c2e28db71ee62394a306f2 / Jarek Potiuk <[email protected]>
Use constraints generated at preview time rather than regenerate

So far, we regenerated the constraints in order to get them
updated in constraint branches at the end of the CI build when we
knew all the builds succeded. However this was not perfect for
two reasons:

* there was a race condition that a dependency had been released
  between the time images were built and tests completed. While
  it had no impact on "source" constraints (they reflect what is
  in the image), it could change the PyPI constraints generated
  or "no-providers" constraints, because they use "current" set
  of dependencies in PyPI to generate them.

* generating constraints (for PyPI and "no-providers") takes time
  because `pip` has to resolve dependencies again - taking into
  account what is in the PyPI registry, and this can take a long
  time (minutes or even it can lead to long `pip` backtracking.
  We generally cancel running builds when new commit is merged in
  main, so this could lead to such constraint job being canceled
  by subsequent merge

This PR uses the fact that we have now "preview-constraints" job
that uploads constraints as artifacts in CI workflow, and instead
of regenerating the constraints, we can download the constraints
from uploaded artifact and use it - this is very quick and we can
also make a clear dependency between "preview" and "update"
constraints jobs - making it clear in case of PIP backtracking
that we have problem with constraints, not with the image. This
will make it far clearer when we will have problems with constraints
and backtracking that this is the real issue we have (allowing
such PRs to get merged while constraints backtracking problem is
being worked on.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to