Skip to content

Wire up namespace and sccache for main CI path (ignoring publish-dry-run)#1673

Open
graydon wants to merge 1 commit into
stellar:mainfrom
graydon:namespace-and-sccache
Open

Wire up namespace and sccache for main CI path (ignoring publish-dry-run)#1673
graydon wants to merge 1 commit into
stellar:mainfrom
graydon:namespace-and-sccache

Conversation

@graydon

@graydon graydon commented Mar 31, 2026

Copy link
Copy Markdown
Contributor

Just some CI work: switch to namespace runners and try doing the build with the namespace-provided shared SCCache instead of any local / github cache-repository stuff.

Copilot AI review requested due to automatic review settings March 31, 2026 05:30
@graydon
graydon force-pushed the namespace-and-sccache branch from ba00942 to d7e242e Compare March 31, 2026 05:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the primary Rust CI workflow to run on Namespace runner profiles and to use Namespace-provided shared sccache (via nsc) instead of repository/GitHub caching, adding a helper script to configure the cache.

Changes:

  • Switch Rust CI jobs to Namespace runner labels and Namespace checkout/setup actions.
  • Add setup-sccache.sh to configure sccache with Namespace remote cache credentials.
  • Update build-and-test to install sccache, source the setup script, and report sccache stats.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.

File Description
setup-sccache.sh New script to configure Namespace WebDAV-backed sccache and restart the daemon.
.github/workflows/rust.yml Migrate jobs to Namespace runners/actions and wire sccache into the main build/test matrix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/rust.yml
Comment thread .github/workflows/rust.yml
Comment thread .github/workflows/rust.yml
Comment thread .github/workflows/rust.yml
Comment thread .github/workflows/rust.yml
Comment thread .github/workflows/rust.yml
Comment thread setup-sccache.sh
Comment thread setup-sccache.sh
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.

2 participants