Skip to content

AIP-44 Don't use Internal API in some components#28783

Merged
potiuk merged 2 commits into
apache:mainfrom
mhenc:internal_api_component
Feb 15, 2023
Merged

AIP-44 Don't use Internal API in some components#28783
potiuk merged 2 commits into
apache:mainfrom
mhenc:internal_api_component

Conversation

@mhenc

@mhenc mhenc commented Jan 7, 2023

Copy link
Copy Markdown
Contributor

Scheduler, Webserver and Internal API components should never use Internal API when calling methods marked with @internal_api_call but make direct DB call.

closes: #28267

@potiuk

potiuk commented Jan 20, 2023

Copy link
Copy Markdown
Member

I guess now we can rebase those :)

@mhenc mhenc force-pushed the internal_api_component branch from c08617e to 4e82f9f Compare January 23, 2023 20:21
@mhenc mhenc force-pushed the internal_api_component branch 3 times, most recently from 45a7327 to 4cf8c4d Compare February 2, 2023 09:28
@mhenc mhenc marked this pull request as ready for review February 2, 2023 09:28
@mhenc

mhenc commented Feb 2, 2023

Copy link
Copy Markdown
Contributor Author

cc: @potiuk @vincbeck

@mhenc mhenc force-pushed the internal_api_component branch 5 times, most recently from d440b2c to 592d513 Compare February 9, 2023 09:41
@mhenc mhenc force-pushed the internal_api_component branch from 592d513 to c00d5f8 Compare February 14, 2023 10:36
@potiuk

potiuk commented Feb 15, 2023

Copy link
Copy Markdown
Member

random mssql failure.

@potiuk potiuk merged commit 6046aef into apache:main Feb 15, 2023
@mhenc mhenc deleted the internal_api_component branch February 15, 2023 08:42
@pierrejeambrun pierrejeambrun added AIP-44 Airflow Internal API changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) labels Feb 26, 2023
@pierrejeambrun pierrejeambrun added this to the Airflow 2.6.0 milestone Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AIP-44 Airflow Internal API area:CLI area:dev-tools area:webserver Webserver related Issues changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AIP-44 Provide information to internal_api_call decorator about the running component

4 participants