Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
chg(ci): fix sccache volume dir in runners (#4300)
teob407c35cc201
diff --git a/.github/workflows/code_check_cloud_storage.yml b/.github/workflows/code_check_cloud_storage.ymlindex 193196c88d..8f64ef1467 100644--- a/.github/workflows/code_check_cloud_storage.yml+++ b/.github/workflows/code_check_cloud_storage.yml@@ -124,7 +124,7 @@ jobs:with:cache: rustpath: |-- /sccache+ /home/runner/.cache/sccache/nixcontinue-on-error: true- name: Setup Nix@@ -136,7 +136,7 @@ jobs:dev-shell: 'true'- name: Point sccache at the cache volumerun: |-- echo "SCCACHE_DIR=/sccache" >> "$GITHUB_ENV"+ echo "SCCACHE_DIR=/home/runner/.cache/sccache" >> "$GITHUB_ENV"echo "SCCACHE_CACHE_SIZE=20G" >> "$GITHUB_ENV"- name: validate Doppler configsif: needs.path-check.outputs.doppler_config_bins != ''@@ -223,7 +223,7 @@ jobs:with:cache: rustpath: |-- /sccache+ /home/runner/.cache/sccache/nixcontinue-on-error: true- name: Setup Nix@@ -235,7 +235,7 @@ jobs:dev-shell: 'true'- name: Point sccache at the cache volumerun: |-- echo "SCCACHE_DIR=/sccache" >> "$GITHUB_ENV"+ echo "SCCACHE_DIR=/home/runner/.cache/sccache" >> "$GITHUB_ENV"echo "SCCACHE_CACHE_SIZE=20G" >> "$GITHUB_ENV"- name: configure postgres for concurrent testsrun: |diff --git a/rust/cloud-storage/tools/xtask/src/workflows/steps.rs b/rust/cloud-storage/tools/xtask/src/workflows/steps.rsindex c73f88ec52..d35ac07ed3 100644--- a/rust/cloud-storage/tools/xtask/src/workflows/steps.rs+++ b/rust/cloud-storage/tools/xtask/src/workflows/steps.rs@@ -94,9 +94,8 @@ pub fn mount_cache_volume() -> Step<Use> {.continue_on_error(true)}-/// Repoint sccache at the persisted volume. Runs AFTER `setup-cachix`, which-/// writes `SCCACHE_DIR=$HOME/.cache/sccache` to `$GITHUB_ENV`; this overrides it-/// for the cargo steps so compilation artifacts land on the sticky volume.+/// Repoint sccache at the persisted volume. Runs AFTER `setup-cachix`; this keeps+/// the compiled artifact cache directory aligned with the Namespace mounted path.pub fn pin_sccache_dir() -> Step<Run> {Step::new("Point sccache at the cache volume").run(format!("echo \"SCCACHE_DIR={dir}\" >> \"$GITHUB_ENV\"\n\diff --git a/rust/cloud-storage/tools/xtask/src/workflows/vars.rs b/rust/cloud-storage/tools/xtask/src/workflows/vars.rsindex 408e0ebdf9..5567bea1a2 100644--- a/rust/cloud-storage/tools/xtask/src/workflows/vars.rs+++ b/rust/cloud-storage/tools/xtask/src/workflows/vars.rs@@ -26,7 +26,7 @@ pub const CI_CACHE_TAG: &str = "sccache-ci";/// Directory sccache uses for its local-disk cache. Lives on the Namespace cache/// volume so it persists across runs — this is what replaces the S3 bucket.-pub const SCCACHE_VOLUME_DIR: &str = "/sccache";+pub const SCCACHE_VOLUME_DIR: &str = "/home/runner/.cache/sccache";/// Max on-disk size for the sccache cache. Larger than the setup default since/// the persisted volume can hold a full-workspace cache.