Repository navigation
fix(examples): honor AGENTDESCENT_CACHE in skill_evolution and ADAS hard-cache - #1274
Merged
Merged
Conversation
Collaborator
Author
|
Review (Birfy) Tip SHA: eb02a5b
|
Birfy
enabled auto-merge (squash)
November 24, 2026 22:24
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.
Closes #1273
Base: 57ad6a8
Tip SHA: eb02a5b
What changed
#1267 made
cache_pathhonorAGENTDESCENT_CACHE/XDG_CACHE_HOME. Two example ports still hardcoded~/.cache/agentdescentandmakedirsit themselves, so a read-only home that already set the new knob still failed when those ports ran.examples.skill_evolution.download_bbhnow usescache_path("bbh", ...)and dropsCACHE_DIR._HardCacheusescache_path("mgsm/hard", ...)when enabled, and still creates no directory when disabled.download_bbhwithurlopenmocked, and_HardCacheenabled/disabled, all under a tempAGENTDESCENT_CACHE.changelog.d/1273-example-cache-root.md.No change to cache keys, which files are stored, or CLI flags.
Verification
Tip SHA: eb02a5b
Ran:
pytest -q -o addopts='' tests/test_skill_evolution_example.py tests/test_adas_example.py tests/test_dataloader_cache_root.py tests/test_changelog_fragments.py→ 83 passedpython -m tools.changelog_fragments check→ 43 changelog fragment(s) OKpython -m tools.gen_api_docs --check→ docs/api.md is up to dateNot run: