Skip to content

feat: stage bounded compiler cache archives#201

Draft
haasonsaas wants to merge 4 commits into
mainfrom
agent/compiler-cache-staging
Draft

feat: stage bounded compiler cache archives#201
haasonsaas wants to merge 4 commits into
mainfrom
agent/compiler-cache-staging

Conversation

@haasonsaas

Copy link
Copy Markdown
Contributor

Summary

  • bake checksum-pinned sccache 0.16.0 into the standard runtime with a 48 MiB sandbox-local cache
  • add strict path-preserving compiler-cache archive capture/restore helpers compatible with Foam identity v1
  • add a locked-down root helper boundary so unprivileged workloads can restore atomically without gaining helper access
  • route compiler-cache materialization only through the unprivileged profile; existing APEX destinations remain unchanged

Expected recurring cost delta: $0; uses the existing ephemeral workspace and job/materialization path.

Test plan

  • cargo +1.95.0 fmt --all -- --check
  • cargo +1.95.0 clippy --workspace --all-targets -- -D warnings
  • cargo +1.95.0 test --workspace
  • python3 scripts/test-deployment-images.py
  • independent whole-task review: Ship

Rollout

Draft: capture upload/API plumbing and Foam client integration will be added before readiness.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedcargo/​flate2@​1.1.910010093100100
Addedcargo/​tar@​0.4.4610010093100100

View full report

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant