# Changelog

## Score

- CAI 69 → 69 (-0.4)

## Lenses

- Code Health 86 → 86 (+0.4)
- Architecture 89 → 87 (-1.5)
- Maturity 71 → 73 (+2.7)
- Readiness 73 → 73 (+0.0)
- Security 61 → 59 (-2.1)
- Performance 94 → 94 (+0.0)

## Resolved (20)

- Ambiguous naming convention for retrieval methods. 'get' vs 'get_raw' implies a distinction (likely deserialized vs raw bytes), but the naming is inconsistent with the put methods ('put' vs 'put_raw') and lacks a clear, uniform pattern across the Storage trait. Furthermore, 'get_with_raw' exists but is unused in the list of core methods, creating confusion about which method to use for raw data access.
- Duplicated block (13 lines × 2) (src/compiler/diab.rs)
- Flaky test: sccache::sccache_cargo.test_rust_cargo_run_with_env_dep_parsing
- Hotspot: src/cache/multilevel.rs (src/cache/multilevel.rs)
- Hotspot: src/server.rs (src/server.rs)
- Inconsistent construction pattern. S3Cache uses a builder pattern with 'new' followed by 'with_*' methods and a final 'build()'. Other caches like AzureBlobCache, GCSCache, etc., use a static 'build' method that takes all parameters at once. This forces users to learn different construction idioms for different storage backends.
- Inconsistent factory method naming. 'build_from_url' uses a 'from_*' pattern, while 'build_single' and 'build_cluster' use a 'build_*' pattern. This breaks the consistency of the builder pattern across different connection types.
- Inconsistent return types and naming for retrieval. 'get' returns a Result (likely containing data), 'get_file' returns a Result (likely a file handle or path), and 'get_abs_path' returns a PathBuf directly. This inconsistency in return types (Result vs direct value) and naming ('get' vs 'get_file' vs 'get_abs_path') makes the API harder to use correctly.
- MethodTooLong: MultiLevelStorage.from_config (src/cache/multilevel.rs)
- MultiLevelStorage::from_config (cyclomatic 24) (src/cache/multilevel.rs)
- MultiLevelStorage::get (cognitive 31) (src/cache/multilevel.rs)
- Near-duplicate member pair (62 shared lines) (src/compiler/diab.rs)
- Off-boarding risk: anonymized user #1
- Outdated: rustls-native-certs
- Outdated: typed-path
- Redundant loading methods. 'Config.load' and 'CachedConfig.load' do similar things (loading configuration), but 'CachedConfig' also has 'reload'. This creates confusion about when to use which method and implies that 'Config' might not be cached while 'CachedConfig' is, but the naming doesn't clearly reflect this distinction.
- TodoComment (src/compiler/msvc.rs)
- TodoComment (src/util.rs)
- TodoComment (src/util.rs)
- Workflow holding a long-lived secret is unscoped

## New (34)

- Duplicated block (12 lines × 2) (src/compiler/diab.rs)
- Flaky test: sccache::system.test_assembler_affects_cache::with_preprocessor_cache
- FunctionTooLong: sccache::compiler::diab::parse_arguments (src/compiler/diab.rs)
- Hotspot: src/bin/sccache-dist/main.rs (src/bin/sccache-dist/main.rs)
- Hotspot: src/compiler/diab.rs (src/compiler/diab.rs)
- Hotspot: src/compiler/tasking_vx.rs (src/compiler/tasking_vx.rs)
- Medium CVE: RUSTSEC-2026-0381 (Cargo.lock)
- Medium CVE: RUSTSEC-2026-0381 (Cargo.lock)
- Medium CVE: RUSTSEC-2026-0383 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0386 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0395 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0397 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0399 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0400 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0401 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0402 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0404 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0406 (Cargo.lock)
- Medium vulnerability: [GHSA redacted] (Cargo.lock)
- Medium vulnerability: RUSTSEC-2026-0367 (Cargo.lock)
- …and 14 more

## Changes since last survey

- 45 commits — 37 feature/other, 8 fixes

## By area

- src/compiler — 14 commits
- src/cache — 11 commits
- (root) — 4 commits
- src/commands.rs — 3 commits
- src/util.rs — 3 commits
- src/dist — 2 commits
- tests/sccache_args.rs — 2 commits
- tests/system.rs — 2 commits
- docs/Configuration.md — 1 commit
- src/bin — 1 commit
- src/client.rs — 1 commit
- src/server.rs — 1 commit

## Notable commits

- fix: Fix crate_link_paths scan for no-hash dep files
- fix: Fix parse_rustc_z_ls for deps without -HASH suffix
- fix: Harden no-hash Rust dist regression coverage
- fix: fix(cache): backfill multilevel raw hits
- fix: fix(cache): continue raw reads after level errors
- fix: fix(cache): record multilevel raw-read stats
- fix: fix: address no-hash dist review
- fix: test(cache): split raw backfill regression
- change: Add CacheConfigs.cache_type_by_name to reduce boilerplate
- change: Address review points
- change: Keep the original level name in multilevel cache errors
- change: Look up `true` on PATH in the symlinked libdir test
- change: Release 0.19.0
- change: Remove unused `_pool` parameter
- change: Update typed-path dependency to 0.13
- change: bench: cover direct-mode lookups of the preprocessor cache
- change: cache: report remote read errors instead of treating them as misses
- change: cache: test that missing remote entries remain cache misses
- change: client: say the server hung up instead of "failed to fill whole buffer"
- change: commands: read preprocessor entries from the configured disk cache dir
- …and 25 more
