Skip to content

ci: report sccache stats from the build server - #1126

Merged
AnthonyRonning merged 1 commit into
masterfrom
codex/ci-sccache-statistics
Oct 10, 2026
Merged

AnthonyRonning merged 1 commit into
masterfrom
codex/ci-sccache-statistics

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Research’s Unix cache statistics queried the default sccache server, while the builders selected a Unix socket under a temporary directory created by each Nix shell. That could report zero requests from a different server after a successful build.

Keep the build socket under Actions’ stable per-job RUNNER_TEMP and use a small reporting helper that shares the existing build configuration. Wire the nine existing desktop, Android and Rust Unix statistics steps through it. Explicit socket overrides and local temporary-directory fallback remain supported; Windows, compiler-cache keys, signing and runner selections are unchanged.

Validation:

  • All 12 applicable aarch64-darwin flake checks passed.
  • Normal pre-commit hook: workflow lint and all 433 repository tests passed.
  • Actual isolated Rust compilations across separate pinned Nix shells: first query reported one miss; the next reported one hit and one miss, with zero cache errors. This verifies reporting, rather than application cache performance.
  • Independent diff review found no blocking issues.

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@github-actions

Copy link
Copy Markdown
Contributor

Maple development preview: https://4ddd173e.maple-ca8.pages.dev

Commit: 63cfbd9ad9d9d01761aa913c06435d8571cb63e8

Uses development API, billing, flags and PCR configuration. Cloudflare Access applies.

@AnthonyRonning
AnthonyRonning merged commit 432ed1e into master Oct 10, 2026
41 checks passed

This branch was successfully deployed

1 active deployment
pages-pr-1126 — 63cfbd9a Deployed Oct 10, 2026 by github-actions[bot]
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