Fix sccache cache empty due to SCCACHE_DIR configuration ordering#1
Draft
Fix sccache cache empty due to SCCACHE_DIR configuration ordering#1
Conversation
Use it with `./benchx_cli -o <output_ptrace_file> run <lynx_bundle_path>` to get a ptrace file of the Lynx Bundle. Under the hood it runs the Lynx Bundle with specific embedder api mocked so not suitable for serious e2e test, but should be sufficient for benchmark. Also, codspeed is integrate into the cli, so benchmark result can be uploaded to codspeed platform for tracking ingression.
Co-authored-by: hzy <28915578+hzy@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix sscache not working in Benchx CLI Publish
Fix sccache cache empty due to SCCACHE_DIR configuration ordering
Feb 12, 2026
308ac3a to
4dfeade
Compare
9522f5e to
8fecf48
Compare
8fecf48 to
663b7b1
Compare
5a29faa to
485351c
Compare
2f008f8 to
a86b828
Compare
93df581 to
64d94cd
Compare
f94f35b to
4770cf1
Compare
4770cf1 to
c4f6a3c
Compare
941cd06 to
9bbb06f
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
sccache cache uploaded to GitHub Actions was empty because
SCCACHE_DIRwas configured after the cache restore/save step, causing a directory mismatch.Changes
SCCACHE_DIRconfiguration into dedicated step before cache actionBefore
After
The cache action now restores to and saves from the same directory that sccache writes to during compilation.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.