Deprecation Notice - Upgrade to latest before February 1st 2025 #1510
Replies: 6 comments 45 replies
-
Is this really a deprecation? It feels like a very hard breaking change since it appears that all existing branches/tags will stop working unless upgraded. Is this harsh of a change really necessary? |
Beta Was this translation helpful? Give feedback.
-
@Link- You may have seen the following blog post, or more recently the Ultralytics supply chain attack, both of which take advantage of the legacy cache service's behaviour to poison the cache of other workflows with malicious code. Will the newly built cache backend service include any improvements to mitigate these kinds of attacks? |
Beta Was this translation helpful? Give feedback.
-
During the last brown-out, our builds failed even though we are only using v4.
Note in the error notice we are using |
Beta Was this translation helpful? Give feedback.
-
Is there some indicator that a workflow is using the new Cache backend or the old one? Based on the toolkit code there is a Is the new back-end only available during the brown-out windows, and workflows can ONLY use the old back-end until that hard switchover is completed later this month? I tried to force a workflow to use a new Cache backend by setting the environment variable and it failed to use the new Twirp RPC backend. I think it would be valuable to call out the specific URLs and endpoints used by the new one for anyone who is strictly monitoring egress from their self-hosted runners. |
Beta Was this translation helpful? Give feedback.
-
@Link- I have been facing cache related issues for the past couple of days sporadically. Is there any chance that these brownouts are causing issue for |
Beta Was this translation helpful? Give feedback.
-
I missed the the brownout periods and now my builds are failing. I have some very helpful data in the cache. Is it possible to recover data from cache v1, however manually? |
Beta Was this translation helpful? Give feedback.
-
Context
The cache backend service has been rewritten from the ground up for improved performance and reliability. In latest versions actions/cache, we introduced a more consistent API contract with the cache backend service.
The new service will decrease the cache upload duration by up to ~80% when using GitHub Hosted Runners. The cache download performance will be the same. If you’re using self-hosted runners the upload duration is expected to improve, or in the worst-case stay the same. Cache upload/download performance depends on your network topology, hardware and geographical region used for hosting among other factors.
We will start rolling out the new backend service gradually as of February 1st, 2025. We will issue further guidance as we approach this deadline.
The legacy backend service will be sunset shortly after February 1st, 2025. We will not support both services at the same time. Refer to the migration guide below for further information on how to prevent disruption to your teams.
Migration guide
The new changes to the actions/cache should be seamless and fully backward compatible. You are not expected to change anything in your workflows to use the new service beyond upgrading to the latest releases.
In order to upgrade, edit your workflows to use one of these supported releases:
If you are caching or have forked these actions, please make sure you update your caches or your forks!
The following is the list of all the deprecated versions of this action. If you are using any of these version (or have pinned to any of their SHAs), your workflows will break as of March 1st, 2025.
Brownouts
To raise awareness of the upcoming deprecation, builds using deprecated versions that are scheduled to run during the brownout periods will fail. Planned brownouts schedule:
February 4, 5pm – 6pm UTC
February 11, 3pm – 7pm UTC
February 18, 2pm – 10pm UTC
Keeping your actions up to date with Dependabot
When you enable Dependabot version updates for GitHub Actions, Dependabot will help ensure that references to actions in a repository's
workflow.yml
file and reusable workflows used inside workflows are kept up to date.Read more about that: https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot#about-dependabot-version-updates-for-actions
GitHub Enterprise Server
This deprecation will not impact any existing versions of GitHub Enterprise Server that are currently in use.
Beta Was this translation helpful? Give feedback.
All reactions