Skip to content

Primary shared cache file UX improvements#8188

Merged
fuzyll merged 4 commits into
devfrom
test_shared_cache_ux_improvements
May 27, 2026
Merged

Primary shared cache file UX improvements#8188
fuzyll merged 4 commits into
devfrom
test_shared_cache_ux_improvements

Conversation

@fuzyll
Copy link
Copy Markdown
Contributor

@fuzyll fuzyll commented May 20, 2026

This PR addresses the following issues:

It also adds some clarification on how analysis databases for shared caches are handled differently from regular analysis databases. Had an Enterprise customer that lost some time because their expectations didn't account for this difference and figured it would be good to spell it out more clearly.

One of the primary changes here is the introduction of a load setting, loader.dsc.primaryFilePath, which is intended to be used in headless settings to specify where the primary shared cache file is. An example of using this is now also in the documentation.

This is still pretty annoying, though, so I've changed and expanded how we search for the primary shared cache file. We should now handle cases like accidentally choosing a .bndb file better. We should also be able to handle shared caches being stored within projects more gracefully as well. I tried to keep Enterprise collaboration in mind with these changes and I don't believe there should be any strange conflicts introduced.

@fuzyll fuzyll added this to the Krypton milestone May 20, 2026
@fuzyll fuzyll self-assigned this May 20, 2026
@fuzyll fuzyll added the File Format: SharedCache Issue with the dyld_shared_cache plugin label May 20, 2026
Comment thread view/sharedcache/core/SharedCacheView.cpp Outdated
fuzyll added a commit that referenced this pull request May 20, 2026
@fuzyll fuzyll requested a review from emesare May 27, 2026 15:07
@fuzyll fuzyll force-pushed the test_shared_cache_ux_improvements branch from 31c8f4e to 27f966a Compare May 27, 2026 17:35
@fuzyll fuzyll merged commit 27f966a into dev May 27, 2026
3 of 4 checks passed
@fuzyll
Copy link
Copy Markdown
Contributor Author

fuzyll commented May 27, 2026

This was merged in 5.4.9718-dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

File Format: SharedCache Issue with the dyld_shared_cache plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants