Repository navigation
Proper Python Host output from composite tasks in CI - #28254
Merged
Merged
Conversation
Member
Author
|
Still something is missing :( |
Member
Author
|
re-running with debugging (debugging shows outputs) |
potiuk
force-pushed
the
fix-output-from-composite-tasks
branch
from
December 9, 2022 22:22
7577c1c to
d40d78b
Compare
When we separated actions into composite workflows in apache#27369 and the apache#27371 we missed the fact that there was a step passing the host python version to static checks - to make sure we start with a fresh cache every time new python version is changed (this caused problems in the past) The "host-python-version" was therefore empty and not really used in the cache key determining. This has no bad effect when Python version does not change but when there is an upgrade of Python, the symbolic links in stored cache get broken, and next time new Python version is used in the AMIs, we might get them broken, so better to fix it now.
potiuk
force-pushed
the
fix-output-from-composite-tasks
branch
from
December 9, 2022 23:02
d40d78b to
9fb1754
Compare
Member
Author
|
OK. All looks good, cache is solved. Ready to merge. |
Member
Author
|
This one wil (finally) cut down the time for static checks by 3 minutes for all PRs when merged. |
eladkal
approved these changes
Dec 10, 2022
ephraimbuddy
pushed a commit
that referenced
this pull request
Jan 12, 2023
When we separated actions into composite workflows in #27369 and the #27371 we missed the fact that there was a step passing the host python version to static checks - to make sure we start with a fresh cache every time new python version is changed (this caused problems in the past) The "host-python-version" was therefore empty and not really used in the cache key determining. This has no bad effect when Python version does not change but when there is an upgrade of Python, the symbolic links in stored cache get broken, and next time new Python version is used in the AMIs, we might get them broken, so better to fix it now. (cherry picked from commit 0db5e46)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When we separated actions into composite workflows in #27369 and the #27371 we missed the fact that there was a step passing the host python version to static checks - to make sure we start with a fresh cache every time new python version is changed (this caused problems in the past)
The "host-python-version" was therefore empty and not really used in the cache key determining.
This has no bad effect when Python version does not change but when there is an upgrade of Python, the symbolic links in stored cache get broken, and next time new Python version is used in the AMIs, we might get them broken, so better to fix it now.
^ 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.rstor{issue_number}.significant.rst, in newsfragments.