Skip to content

Conversation

@jscheffl
Copy link
Contributor

While rebasing I realized that one mapped method in internal API was renamed and broke the internal API.
This PR fixes back to the correct name.

@potiuk How could this happen if internal API is used in CI tests? I thought this is enabled now? Do we need another safety-net?
To prevent regression I added a pytest to check that method-map can be built, means this will fail if any method is moving-away

@jscheffl jscheffl added this to the Airflow 2.10.0 milestone Jul 27, 2024
@potiuk
Copy link
Member

potiuk commented Jul 27, 2024

Yeah. I also found it and fixed in #41067 - so yeah. That's exactly what will not happen when we run the tests :D

@jscheffl jscheffl added the type:bug-fix Changelog: Bug Fixes label Jul 27, 2024
@potiuk
Copy link
Member

potiuk commented Jul 27, 2024

And yeah. By implementing the test you already implemented This one

@jscheffl
Copy link
Contributor Author

And yeah. By implementing the test you already implemented This one

I would say the pytest is 50% of it. Still you could add the decorator and miss listing the method in the method-map. Then the test will not fail.

@jscheffl jscheffl merged commit bf01953 into apache:main Jul 27, 2024
@potiuk
Copy link
Member

potiuk commented Jul 27, 2024

Agreed :)

@jedcunningham jedcunningham added changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) AIP-44 Airflow Internal API and removed type:bug-fix Changelog: Bug Fixes labels Aug 9, 2024
@jscheffl jscheffl deleted the bugfix/fix-broken-internal-api-method branch October 5, 2025 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AIP-44 Airflow Internal API changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants