-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Closed
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
For the purposes of GHES, we have a isFeatureAvailable() check that runs when attempting to use the cache service.
This function returns true if ACTIONS_CACHE_URL is set as an environment variable in the runner. ACTIONS_CACHE_URL points to the ArtifactCache service URL and is determined and passed to the runner by run-service or Actions Service.
In run-service, this value is defined in the Kubernetes manifests. In Actions Service, a call to MPS determines the value of this URL.
We need to modify the condition for isFeatureAvailable so that it's no longer only dependent on the value of ACTIONS_CACHE_URL but leverages the ACTIONS_CACHE_SERVICE_V2 feature flag as well.
Exit Criteria
- Even if
ACTIONS_CACHE_URLis not setisFeatureAvailable()would use another way to determine the availability of the cache service - Change the log level of failures from warning to error
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working