Hive Hive
Sign in

refactor(rust): improve graph schema caching and CAS boundaries

GitHub issue · Closed

Metadata
Source
tuist/once #120
Updated
Jul 5, 2026
Domains
Once
Details

Summary

  • Cache built-in target kind schemas with OnceLock and reuse one schema set across batch graph construction.
  • Add a regression test that verifies built-in schema enrichment for multiple targets.
  • Move once-cas public errors and cache result/stat models into focused modules while preserving existing re-exports.

Testing

  • mise exec -- cargo fmt --all -- --check
  • mise exec -- cargo test --workspace
  • mise exec -- cargo clippy --workspace --all-targets -- -D warnings
  • mise exec -- cargo build --release
  • mise exec -- shellspec (147 examples, 0 failures, 1 expected skip)
Flights

Investigate, reproduce, or fix this item in an isolated repository. Each Flight preserves its outcome and agent session.

New Flights are paused Configure model inference, GitHub, and a sandbox provider to start another Flight. Existing results remain available below.
No Flights yet

Start a Flight and preserve its objective, outcome, and session here.

Comments

No GitHub comments yet.