Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync v2-8-stable with v2-8-test to release 2.8.0 #36065

Merged
merged 43 commits into from
Dec 11, 2023
Merged

Conversation

ephraimbuddy
Copy link
Contributor

Time for 2.8.0rc1!

dstandish and others added 30 commits December 5, 2023 10:54
No need to have trigger running -- will just run them async.

(cherry picked from commit 7b37a78)
* change max box height in ActionModal.tsx

* changed max box height in ActionModal.tsx

(cherry picked from commit 9a1dceb)
…34620)

Although it requires another indent, it's cleaner, and more importantly it makes sure that the mutation is undone after failure.

(cherry picked from commit 99b4eb7)
* Relax mandatory requirement for start_date when schedule=None

* Updated run_type in unit tests

* Added check for empty start_date and non empty schedule

* Fix the build failures

* Fix the build failures

* Update based on review comments

(cherry picked from commit 930f165)
* Add a public interface for custom weight_rule implementation

* Remove _weight_strategy attribute

* Move priority weight calculation to TI to support advanced strategies

* Fix loading the var from mapped operators and simplify loading it from task

* Update default value and deprecated the other one

* Update task endpoint API spec

* fix tests

* Update docs and add dag example

* Fix serialization test

* revert change in spark provider

* Update unit tests

(cherry picked from commit 3385113)
…5924)

Recent Cython release caused pymssql package failures when they
were installed on ARM platform. This had been workarounded in
the #32748, but since pymssql as of 2.1.8 supports new Cython, we
can remove the workaround and bump the minimum version of pymsssql.

This also makes it possible to remove the whole MSSQL client section
from the image if we decide to - because this section will only install
the odbc client that has been pre-installed to support MSSQL as
metadata DB for Airflow core.

(cherry picked from commit 4f060a4)
…conf dict (#35096)" (#35959)

This reverts commit 84c40a7.

(cherry picked from commit 4a7c746)
This improves the code as per best practices and avoids import
error if duckdb is not installed

(cherry picked from commit f0ba2dc)
…cessors (#35956)

* Add processor_subdir to import_error table to handle multiple dag processors.

* Fix migration table name.

(cherry picked from commit 1a3eeab)
(cherry picked from commit 9bcee9d)
When we build on ci a pre-release version of provider, and we want
to include packages that have >= CURRENTLY_RELEASED_VERSION
we have to make sure that those packages are built from sources
during building of PROD image. Otherwise they will not be installable
on CURRENT_VERSION.dev0, CURRENT_VERSION.rc* etc.

Until we "Actually" release a provider we should have a way to
build such provider from sources.

This is the CI version of it, once we have it working we can also
apply it to the workflow that releases images to dockerhub.

(cherry picked from commit cf052dc)
This enables an alternative ObjectStoragePath init syntax, using the
auth section in the URI to supply conn ID instead of a separate keyword
argument. The explicit keyword argument is honored if supplied.

(cherry picked from commit ab87cd0)
…6003)

Following the lazy consensus to change the "latest" image
to point to "newest" Python version, we are changing the release
method to follow it.

https://lists.apache.org/thread/0oxnvct24xlqsj76z42w2ttw2d043oy3
(cherry picked from commit 4117f1b)
* Add multiselect to run state in grid view

* Fix tests

* Multiselect for run types, UI nits, refactor

* Fix tests, refactor

* Simplify multiselect value

* Nits and refactor

* Use arrays instead of serializing to csv

* Fix tests and global axios paramsSerializer to null

(cherry picked from commit 9e28475)
* Change Trigger UI to use HTTP POST in web ui, GET always shows trigger form
* Adjust tests to changed behavior of trigger handling, expects data submitted in POST

(cherry picked from commit f5d8027)
…n log tab (#36025)

* Use dropdown instead of buttons when there are more than 10 retries in log tab.

* Update airflow/www/static/js/dag/details/taskInstance/Logs/index.tsx

Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>

---------

Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
(cherry picked from commit fd09883)
Seems that pytest-asyncio 0.23.1 break our asyncio tests. We are
temporarily limiting it until
pytest-dev/pytest-asyncio#703 is
solved or answered.

(cherry picked from commit 9845b40)
Seems that the pytest-asyncio problem was already introduced by
0.23.0. In order to allow tests passing now, we should limit it
to below that version (follow up after #36037)

(cherry picked from commit cc2521c)
…ies (#36022)

* Add the section describing the security model of DAG Author capabilities

This change codifies and explains assumptions and decisions made by
Airflow maintainers with regards to capabilities of DAG Authors.

While DAG authors are pretty powerful and capable actors in Airflow,
they cannot do everything and Deployment Managers haw ways to restrict
their potential capabilities, especially in the context of influencing
other tasks and common components such as Scheduler, Webserver and
Triggerer.

This PR adds a chapter explaining those assumptions and decisions and
tell the Deployment Managers what responsibilities they have with
that regardsm and what mechanismes they currently have available to
limit capabilities of DAG Authors.

* Update docs/apache-airflow/security/security_model.rst

Co-authored-by: Pankaj Koti <pankajkoti699@gmail.com>

* Update docs/apache-airflow/security/security_model.rst

Co-authored-by: Pankaj Koti <pankajkoti699@gmail.com>

---------

Co-authored-by: Pankaj Koti <pankajkoti699@gmail.com>
(cherry picked from commit 395ac46)
Thahnks to our report and bisecting the reason (it was caused by
bad handling of the "test*.txt" handling) we can now remove the
upper-binding for pytest-asyncio as 0.23.2 version has been
released

(cherry picked from commit 55eac5e)
* Add XCom tab to Grid

* Combine showLogs and showXcom logic evaluation to isIndividualTaskInstance

* Remove link to /xcom page from UI grid view

* Use consistent naming to distinguish XcomCollection and XcomEntry

* Refactor boolean vars

(cherry picked from commit 77c0103)
I think the date 14.19.2023 is wrong--should it be 14.09.2023 (= September 14, 2023)?

(cherry picked from commit 55d8137)
@boring-cyborg boring-cyborg bot added area:production-image Production image improvements and fixes area:Scheduler including HA (high availability) scheduler labels Dec 5, 2023
@hussein-awala
Copy link
Member

We must wait for #36029 or merge #36066 to remove the feature before cutting the RC. I was sick the last few days, and I don't know if I will have the energy to finish #36029 today.

@ephraimbuddy
Copy link
Contributor Author

We must wait for #36029 or merge #36066 to remove the feature before cutting the RC. I was sick the last few days, and I don't know if I will have the energy to finish #36029 today.

Ok. The RC is planned to be released on Monday. I will keep track of this. Get well soon

RELEASE_NOTES.rst Outdated Show resolved Hide resolved
tirkarthi and others added 6 commits December 6, 2023 10:13
…t_date for deferred tasks. (#35984)

* Fix gantt chart queued duration when queued_dttm is greater than start_date for deferred tasks.

* Merge hasQueuedDttm and validQueuedDttm.

(cherry picked from commit 0376e93)
Cluster Activity UI shows `FAILED TO FETCH DATA` error in pools section. Users with Viewer role do not have permission to read pools.

(cherry picked from commit 8ae67a0)
…36035)

The architecture diagram of Airflow has been long time outdated.

This is an attempt to generate it using generated diagrams using
Python's diagrams library (already used by some tools in our
ecosystem).

(cherry picked from commit 5dfee8b)
Co-authored-by: Daniel Standish <15932138+dstandish@users.noreply.github.com>
(cherry picked from commit c4549d7)
@ephraimbuddy
Copy link
Contributor Author

We must wait for #36029 or merge #36066 to remove the feature before cutting the RC. I was sick the last few days, and I don't know if I will have the energy to finish #36029 today.

Ok. The RC is planned to be released on Monday. I will keep track of this. Get well soon

Reverted

@potiuk potiuk force-pushed the v2-8-test branch 2 times, most recently from c5edc24 to f7b6699 Compare December 7, 2023 17:45
The change #35856 optimized waiting time before PROD image builds
start - rather than waiting for full constratints generation, the
PROD image building just used source constraints generated right
after building the CI image quickly. This is fine for main because there
we install airflow and packages using constraints from sources, but
for release branches we use the provider constraints - in order
to be able to install providers from PyPI rather than from sources.

This means that we have to wait for constraints generation to
complete before we start building PROD images - because we need to
download the constraints generated there to use them.

Unfortunately GitHub Actions do not have conditional dependencies
depending on where the workflow is run  - so instead we have to
effectively duplicate PROD build steps and skip steps in them instead.
@bolkedebruin
Copy link
Contributor

I'd really prefer #35820 to be in, as otherwise we would have to deal with backwards compatibility

Copy link
Member

@hussein-awala hussein-awala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, LGTM

RELEASE_NOTES.rst Outdated Show resolved Hide resolved
RELEASE_NOTES.rst Outdated Show resolved Hide resolved
RELEASE_NOTES.rst Outdated Show resolved Hide resolved
RELEASE_NOTES.rst Outdated Show resolved Hide resolved
@ephraimbuddy ephraimbuddy force-pushed the v2-8-test branch 2 times, most recently from b167d36 to 558e965 Compare December 11, 2023 06:24
hussein-awala and others added 3 commits December 11, 2023 07:29
This allows storage options to be passed to the fsspec backend as part
of the kwargs to ObjectStorage.

---------

Co-authored-by: Andrey Anshin <Andrey.Anshin@taragol.is>
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
(cherry picked from commit aba58ad)
@ephraimbuddy ephraimbuddy merged commit d0c1c45 into v2-8-stable Dec 11, 2023
72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:API Airflow's REST/HTTP API area:dev-tools area:Executors-core LocalExecutor & SequentialExecutor area:production-image Production image improvements and fixes area:Scheduler including HA (high availability) scheduler
Projects
None yet
Development

Successfully merging this pull request may close these issues.