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

Improve code coverage for CgroupTaskRunner #39896

Merged
merged 10 commits into from
May 29, 2024
Merged

Improve code coverage for CgroupTaskRunner #39896

merged 10 commits into from
May 29, 2024

Conversation

yangyulely
Copy link
Contributor

Add more unit tests for CgroupTaskRunner, improve code coverage from 30% to 75%
image
related: #35127


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@RNHTTR
Copy link
Contributor

RNHTTR commented May 28, 2024

I wonder if the CgroupTaskRunner should be deprecated? There's very limited documentation on it, and I think it's pretty unknown and rarely used?

@potiuk potiuk merged commit 0eb0195 into apache:main May 29, 2024
58 checks passed
@potiuk
Copy link
Member

potiuk commented May 29, 2024

I wonder if the CgroupTaskRunner should be deprecated? There's very limited documentation on it, and I think it's pretty unknown and rarely used?

It's a niche case but pretty useful

potiuk added a commit to potiuk/airflow that referenced this pull request May 29, 2024
@potiuk
Copy link
Member

potiuk commented May 29, 2024

I revert them in #39915 for now - seems that when running on self-hosted runners, they are failing. I also found out that the tests fail on MacOS for development so we will need to improve that.

potiuk added a commit that referenced this pull request May 29, 2024
fdemiane pushed a commit to fdemiane/airflow that referenced this pull request Jun 6, 2024
fdemiane pushed a commit to fdemiane/airflow that referenced this pull request Jun 6, 2024
jannisko pushed a commit to jannisko/airflow that referenced this pull request Jun 15, 2024
romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Jul 26, 2024
romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants