Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary cache for MyPy jobs #38162

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Mar 14, 2024

The MyPy jobs started to fail pretty randomly in docs and dev builds and the main suspect for that is cache - either pre-commit cache or docker cache stored locally in docker volume.

We can actually disable the cache, because a) pre-commit cache is not really needed for this job as we only one venv to create and b) the docker volume cache in case of CI job is at most harmless as we exect to start all jobs from a clean state.


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

The MyPy jobs started to fail pretty randomly in docs and dev
builds and the main suspect for that is cache - either pre-commit
cache or docker cache stored locally in docker volume.

We can actually disable the cache, because a) pre-commit cache is
not really needed for this job as we only one venv to create and
b) the docker volume cache in case of CI job is at most harmless
as we exect to start all jobs from a clean state.
@potiuk
Copy link
Member Author

potiuk commented Mar 14, 2024

one mypy check failed (but for a different reason - machine evicted likely) . Merging.

@potiuk potiuk merged commit c77ce4c into apache:main Mar 14, 2024
81 of 86 checks passed
@potiuk potiuk deleted the disable-caching-on-mypy-ci-jobs branch March 14, 2024 21:23
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