Skip to content

Conversation

@ephraimbuddy
Copy link
Contributor

Time for 2.6.1rc1!

ephraimbuddy and others added 4 commits April 30, 2023 15:50
(cherry picked from commit 817f846)
The Airflow models have been accidentally removed from the docs
when #28300 was implemented. The whole models documentation have
been removed accidentally, even if there were references to the
actual classes and packages used as the models package was
entirely excluded.

This PR fixes it by selectively including the models that should
be included and by linking the package indexes directly in
the public interface documentation.

(cherry picked from commit 6720a90)
* Add missing changelog in 2.6.0

* Update RELEASE_NOTES.rst

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

* fixup! Add missing changelog in 2.6.0

---------

Co-authored-by: Pankaj Koti <pankajkoti699@gmail.com>
(cherry picked from commit ea18edb)
@boring-cyborg boring-cyborg bot added area:API Airflow's REST/HTTP API area:CLI area:dev-tools provider:cncf-kubernetes Kubernetes (k8s) provider related issues area:production-image Production image improvements and fixes area:Scheduler including HA (high availability) scheduler labels May 8, 2023
Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

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

LGTM. I have one doubt about #30352 - it has new configuraiton param on one hand, but it does solve a problem where redis sentinel configuration was broken. So I would be in getting it in as it looks pretty safe/

Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

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

LGTM. I have one doubt about #30352 - it has new configuraiton param on one hand, but it does solve a problem where redis sentinel configuration was broken. So I would be in getting it in as it looks pretty safe/

@eladkal
Copy link
Contributor

eladkal commented May 8, 2023

#31125 is missing from the release

@ephraimbuddy
Copy link
Contributor Author

#30352

Let me move it to 2.7.0. since it added a config. I accessed it by the issue it closed and didn't look the code change. It should be 2.7.0

@ashb

This comment was marked as resolved.

@potiuk
Copy link
Member

potiuk commented May 8, 2023

Please hold off - I need to look at a possible issue with log redaction first. I will do that tomorrow (was public holiday in UK today)

👑

@ashb
Copy link
Member

ashb commented May 8, 2023

(Hmmm, no guillotine emoji. Shame)

@dstandish
Copy link
Contributor

I just merged #31101 and set its milestone back to 2.6.1 fyi

@ashb
Copy link
Member

ashb commented May 9, 2023

Here's my PR #31149

ashb and others added 3 commits May 9, 2023 19:14
…in (#31149)

The current published plugin calls `_redact_all` directly, so when we
added the `max_depth` parameter in 2.6 (precisely so it didn't need to
call this private function directly!) we broke that.

This change leads to some worrying logs appearing in task logs for
anyone with the plugin installed:

```
[2023-05-05, 11:56:17 BST] {utils.py:490} WARNING - Unable to redact []Error was: TypeError: SecretsMasker._redact_all() missing 1 required positional argument: 'max_depth'
[2023-05-05, 11:56:17 BST] {utils.py:490} WARNING - Unable to redact []Error was: TypeError: SecretsMasker._redact_all() missing 1 required positional argument: 'max_depth'
[2023-05-05, 11:56:17 BST] {utils.py:490} WARNING - Unable to redact NoneError was: TypeError: SecretsMasker._redact_all() missing 1 required positional argument: 'max_depth'
```

This patch makes that previous change backwards compatible for that with
no change in behaviour for new code.

(cherry picked from commit 25e3159)
…s found (#31101)

Generally speaking when a task is done we should not read from logs server, because we assume for log persistence that users will either set up shared drive or enable remote logging.  But if they don't do that, and therefore we don't find remote or local logs, we'll check worker for served logs as a fallback.

Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
(cherry picked from commit 672ee7f)
@herlambang
Copy link
Contributor

#31125 is missing from the release

this is not in release notes yet, or it shouldn't?

ephraimbuddy and others added 3 commits May 10, 2023 09:25
pygithub now requires to specify if a search is for pull request or issues and not both.
Also, a fix on searching old rc versions after removing the asf svn repo

(cherry picked from commit 3d6ad50)
If you run a task via the cli with `cfg_path`, we also run
`configure_vars` again so that the globals built from the config file
can be updated. We were also initializing pluggy in that function,
however, which was effectively removing any user provided hooks.

We will move the initializing of pluggy out of that function, making it
safe to run again by the task command.

This primarily impacted KPOs, as they wouldn't have been passed through any `pod_mutation_hooks`.

(cherry picked from commit 71c2627)
…lumn (#31182)

* fix dag processor job_runner, add missing job_type

* remove uneeded spaces

* move job_type check to base_runner

* fix test mock job runner pass job argument to init

(cherry picked from commit 420a9b1)
@ephraimbuddy ephraimbuddy force-pushed the v2-6-test branch 2 times, most recently from 1938aed to 05d8d93 Compare May 10, 2023 16:00
@ephraimbuddy ephraimbuddy merged commit 06e3aa3 into v2-6-stable May 11, 2023
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:CLI area:dev-tools area:production-image Production image improvements and fixes area:Scheduler including HA (high availability) scheduler provider:cncf-kubernetes Kubernetes (k8s) provider related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.