Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

chore(ci): infra checks on linux-small — biome + tsc don't need mid (#4506)

teo855ec8b75ed2
diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml
index d2dda02130..579545a746 100644
--- a/.github/actionlint.yaml
+++ b/.github/actionlint.yaml
@@ -5,6 +5,7 @@ self-hosted-runner:
- namespace-profile-linux-mid
- namespace-profile-linux-mid;overrides.cache-tag=web-ci
- namespace-profile-linux-small
+ - namespace-profile-linux-small;overrides.cache-tag=web-ci
- namespace-profile-linux-tiny-no-cache
- namespace-profile-linux-rust-ci
- namespace-profile-linux-rust-ci;overrides.cache-tag=sccache-ci
diff --git a/.github/workflows/code_check_infra.yml b/.github/workflows/code_check_infra.yml
index 19c6c99ce6..83ca5794e1 100644
--- a/.github/workflows/code_check_infra.yml
+++ b/.github/workflows/code_check_infra.yml
@@ -34,7 +34,7 @@ jobs:
- path-check
if: needs.path-check.outputs.should_run == 'true' && github.event.pull_request.draft == false
name: Biome Check
- runs-on: namespace-profile-linux-mid;overrides.cache-tag=web-ci
+ runs-on: namespace-profile-linux-small;overrides.cache-tag=web-ci
steps:
- name: Checkout Repo
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
@@ -59,7 +59,7 @@ jobs:
needs:
- path-check
if: needs.path-check.outputs.should_run == 'true' && github.event.pull_request.draft == false
- runs-on: namespace-profile-linux-mid;overrides.cache-tag=web-ci
+ runs-on: namespace-profile-linux-small;overrides.cache-tag=web-ci
steps:
- name: Checkout Repo
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
diff --git a/rust/cloud-storage/tools/xtask/src/workflows/code_check_infra.rs b/rust/cloud-storage/tools/xtask/src/workflows/code_check_infra.rs
index 648b39cfda..3cb80594d5 100644
--- a/rust/cloud-storage/tools/xtask/src/workflows/code_check_infra.rs
+++ b/rust/cloud-storage/tools/xtask/src/workflows/code_check_infra.rs
@@ -15,10 +15,12 @@ use crate::workflows::{
};
/// The infra checks need the same cache content as the web checks (Nix
-/// dev-shell closure + bun cache), so they share the `web-ci` volume — infra
-/// PRs are far rarer than js/app PRs, so the added churn is negligible.
+/// dev-shell closure + bun cache), so they share the `web-ci` volume — cache
+/// volumes are keyed workspace-wide by tag, so `small` mounts the exact same
+/// volume the web checks keep warm on `mid`. biome + tsc over infra/ are
+/// light; they don't need a mid-size machine.
fn infra_runner() -> String {
- runners::Runner::Mid.with_cache_tag(vars::WEB_CI_CACHE_TAG)
+ runners::Runner::Small.with_cache_tag(vars::WEB_CI_CACHE_TAG)
}
/// Build the workflow.