Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Jul 15, 2022


^ 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.

@boring-cyborg boring-cyborg bot added area:CLI area:dev-tools area:Scheduler including HA (high availability) scheduler labels Jul 15, 2022
Copy link
Member Author

Choose a reason for hiding this comment

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

Only needed to avoid errors for callbacks. I did not want to complicate it passing the "right" callbacks so "fake" callbacks I am passing now generate a lot of exceptions as dags/dag runs are not found,

Copy link
Member Author

Choose a reason for hiding this comment

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

This is the only change needed for "DB Aware" classes with logic to make them GRPC Aware"

Copy link
Member Author

Choose a reason for hiding this comment

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

Nice Mypy stub :). ❤️ to createors of mypy-protobuf.

Copy link
Member Author

Choose a reason for hiding this comment

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

This "servicer" has to be implemented for every "DB Aware class" to forward gRPC calls to the right "DB enabled" implementation.

Copy link
Member Author

@potiuk potiuk Jul 15, 2022

Choose a reason for hiding this comment

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

This is the "small" caveat that we will have to change slightly. GRPC runs in non-main thread so signals are not working for it, we will have to implement timeout a bit differently.

Copy link
Member

Choose a reason for hiding this comment

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

This method (load a dag from a file) should never be used remotely anyway, should it?

@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Stale PRs per the .github/workflows/stale.yml policy file label Oct 26, 2022
@potiuk
Copy link
Member Author

potiuk commented Oct 26, 2022

Not stale.

@github-actions github-actions bot removed the stale Stale PRs per the .github/workflows/stale.yml policy file label Oct 27, 2022
@potiuk
Copy link
Member Author

potiuk commented Dec 10, 2022

Closing as the founding PR for AIP-44 was already merged #27892

@potiuk potiuk closed this Dec 10, 2022
@potiuk potiuk deleted the internal-api-poc branch April 4, 2023 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:CLI area:dev-tools area:Scheduler including HA (high availability) scheduler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants