Repository navigation
ci: fix v0.74 release GPU builds (sccache disk-only + force_hosted_runners) #1086
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
Merged
Merged
Changes from 1 commit
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: Mesh-LLM/mesh-llm
Length of output: 336
🌐 Web query:
Mozilla sccache configuration SCCACHE_GHA_CACHE_URL SCCACHE_GHA_RUNTIME_TOKEN💡 Result:
To configure sccache to use the GitHub Actions (GHA) cache, you must set specific environment variables that provide access to the GitHub Actions cache service [1][2]. Configuration Details: - SCCACHE_GHA_CACHE_URL: Specifies the GitHub Actions cache API URL [1][3]. This variable is used interchangeably or alongside ACTIONS_RESULTS_URL (which has replaced older legacy endpoints) [1][4]. - SCCACHE_GHA_RUNTIME_TOKEN: Provides the GitHub Actions access token required to authenticate with the cache service [1][5]. This works in conjunction with or as an override to the ACTIONS_RUNTIME_TOKEN environment variable [1][6]. Key Setup Requirements: - Enable the backend: You must set SCCACHE_GHA_ENABLED to on [2]. - RW Mode: You can optionally set SCCACHE_GHA_RW_MODE to READ_ONLY if you wish to restrict the cache backend from writing data [1][7]. - Cache Keys: Use SCCACHE_GHA_CACHE_TO to specify the cache key for writing and SCCACHE_GHA_CACHE_FROM to provide a comma-separated list of cache key prefixes for reading [1][6]. Note on Environment Variables: The variables prefixed with SCCACHE_GHA_ take precedence over the standard ACTIONS_ prefixed variables [6][8]. When running in a GitHub Actions workflow, these tokens and URLs are typically dynamically exported using the GitHub Actions runtime environment [2][4]. Ensure you are using current documentation, as some older guides may reference deprecated endpoint variables [4].
Citations:
🏁 Script executed:
Repository: Mesh-LLM/mesh-llm
Length of output: 24728
Clear sccache’s canonical GHA variables during opt-out.
This branch resets the
ACTIONS_*aliases, but sccache also acceptsSCCACHE_GHA_CACHE_URLandSCCACHE_GHA_RUNTIME_TOKEN, which can take precedence over the cleared values. Clear them in theSCCACHE_GHA_ENABLED=falsepath so inherited gha configuration cannot reactivate the remote backend if the chain changes later.🤖 Prompt for AI Agents