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

Head commit for run:
d03ad4d2fae2f886791df60cff81b5fe5830b3cf / Jarek Potiuk <[email protected]>
Restore "iffy" solution for skipping tasks for in-workflow build

GitHub actions has strange and complex way of getting conditional
jobs. When you want a job to depend on another job to be running
when it is either successful of fully skipped, you have to write
a rather peculiar condition:

```
always() && !failure() && !cancelled()
```

However, it turned out that this condition does not propoagate to
to task that depends on the downstream tasks - for example if
"wait-for-ci-images" had this condition and preceding "build-ci-images"
was skipped, the "wait-for-ci-images" was happily running, but
any of the other jobs that depended on "wait-for-ci-images" has
been skipped :(. Simply - skipping tasks immediately propagates
to all the downstream tasks and we cannot easily mitigate it.

This means that we have to come back to a solution that
was implemented before #38057 - where instead of skipping the whole
job, we skip all the steps in this kob. That makes it a little more
clunky but makes the skipping status not propagate to downstream
jobs.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to