Skip to content

Do not use cache to install breeze#38491

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:do-not-use-cache-to-install-breeze
Mar 26, 2024
Merged

Do not use cache to install breeze#38491
potiuk merged 1 commit into
apache:mainfrom
potiuk:do-not-use-cache-to-install-breeze

Conversation

@potiuk
Copy link
Copy Markdown
Member

@potiuk potiuk commented Mar 26, 2024

Using cache for breeze might cause various issues and it does not really speed up the installation that significantly (installing breeze is about 20 seconds and restoring cache and checking if breeze is installed there is ~8 seconds, so we are savig some 10 seconds per build.

Removing cache will make breeze always runs in a clean state and also it has less potential for potential cache-poisoning issues. Since cache is shared among multiple workflows and runs, that is also far safer option from security point of view.


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

Using cache for breeze might cause various issues and it does not
really speed up the installation that significantly (installing
breeze is about 20 seconds and restoring cache and checking if
breeze is installed there is ~8 seconds, so we are savig some 10
seconds per build.

Removing cache will make breeze always runs in a clean state and
also it has less potential for potential cache-poisoning issues.
Since cache is shared among multiple workflows and runs, that is also
far safer option from security point of view.
@potiuk potiuk merged commit 4d60681 into apache:main Mar 26, 2024
@potiuk potiuk deleted the do-not-use-cache-to-install-breeze branch March 26, 2024 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants