Skip to content

ci: run server on watcher-runners with sccache (JEF-84)#57

Merged
thejefflarson merged 1 commit into
mainfrom
jef-84-sccache-on-runner
Jun 22, 2026
Merged

ci: run server on watcher-runners with sccache (JEF-84)#57
thejefflarson merged 1 commit into
mainfrom
jef-84-sccache-on-runner

Conversation

@thejefflarson

Copy link
Copy Markdown
Owner

Draft — blocked on cluster #99. Merge + sync that first.

Moves the server cargo build/test job off ubuntu-latest onto the in-cluster watcher-runners so it uses the shared sccache redis. The runners now carry a postgres:16-alpine sidecar (cluster values-watcher.yaml) at localhost:5432, so the GHA services: postgres block is dropped — DATABASE_URL unchanged.

Adds: rust toolchain (rustfmt), Swatinem/rust-cache (workspaces: server), sccache install, a postgres-sidecar TCP wait, and sccache --show-stats.

Why blocked: without #99 the runner isn't meshed (can't reach redis) and has no postgres sidecar. The ui + image jobs are unchanged.

🤖 Generated with Claude Code

Move the cargo build/test job off ubuntu-latest onto the in-cluster watcher-runners
so it uses the shared sccache redis. The runners now carry a postgres sidecar
(cluster repo: charts/actions/runners/values-watcher.yaml) at localhost:5432, so the
GHA `services: postgres` block is dropped — the DATABASE_URL is unchanged. Adds the
rust toolchain (rustfmt), rust-cache (workspaces: server), an sccache install, a
postgres-sidecar wait, and `sccache --show-stats`.

REQUIRES cluster PR #99 (mesh watcher-runners + the postgres sidecar) deployed first
— without it this job can't reach redis and has no DB.
@thejefflarson thejefflarson marked this pull request as ready for review June 22, 2026 08:52
@thejefflarson thejefflarson merged commit 99162c3 into main Jun 22, 2026
3 of 4 checks passed
@thejefflarson thejefflarson deleted the jef-84-sccache-on-runner branch June 22, 2026 18:50
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