ci(test-backend): ubuntu-latest + rustup (fix node-not-found) #3

Merged
fabi merged 1 commits from fix/test-backend-rust-toolchain into main 2026-05-31 16:18:21 +00:00
Owner

act_runner runs JS actions (actions/checkout, actions/cache) with node inside the job container. test-backend pinned container: rust:1-slim (no node) so checkout failed with exit 127: node not found, which skipped build-and-push + deploy. (test-frontend passed because it has no custom container and runs in node-equipped ubuntu-latest.)

Fix: drop the container, run test-backend on ubuntu-latest, install Rust via rustup + apt build-deps. Postgres service still reachable as postgres:5432. Verified the install path in the runner image. (Also already applied on the host: act_runner container.network: docker-data_web so job containers can reach gitea:3000 for checkout.)

🤖 Generated with Claude Code

act_runner runs JS actions (`actions/checkout`, `actions/cache`) with `node` *inside* the job container. `test-backend` pinned `container: rust:1-slim` (no node) so checkout failed with `exit 127: node not found`, which skipped build-and-push + deploy. (`test-frontend` passed because it has no custom container and runs in node-equipped `ubuntu-latest`.) Fix: drop the container, run `test-backend` on `ubuntu-latest`, install Rust via rustup + apt build-deps. Postgres service still reachable as `postgres:5432`. Verified the install path in the runner image. (Also already applied on the host: act_runner `container.network: docker-data_web` so job containers can reach `gitea:3000` for checkout.) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fabi added 1 commit 2026-05-31 16:18:20 +00:00
ci(test-backend): run on ubuntu-latest + rustup instead of rust:1-slim
All checks were successful
deploy / test-backend (pull_request) Successful in 18m36s
deploy / test-frontend (pull_request) Successful in 9m42s
deploy / build-and-push (pull_request) Has been skipped
deploy / deploy (pull_request) Has been skipped
074ab25f8c
act_runner runs JS actions (checkout/cache) with node inside the job
container; rust:1-slim ships no node, so every JS action failed with
exit 127 ("node: not found"). Drop the container, run on the
node-equipped ubuntu-latest image, install Rust via rustup. The postgres
service is still reachable by name (act_runner containerises the job).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
fabi merged commit 0f90af80cb into main 2026-05-31 16:18:21 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: fabi/Mangalord#3