ci(test-backend): ubuntu-latest + rustup (fix node-not-found) #3
Reference in New Issue
Block a user
Delete Branch "fix/test-backend-rust-toolchain"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
act_runner runs JS actions (
actions/checkout,actions/cache) withnodeinside the job container.test-backendpinnedcontainer: rust:1-slim(no node) so checkout failed withexit 127: node not found, which skipped build-and-push + deploy. (test-frontendpassed because it has no custom container and runs in node-equippedubuntu-latest.)Fix: drop the container, run
test-backendonubuntu-latest, install Rust via rustup + apt build-deps. Postgres service still reachable aspostgres:5432. Verified the install path in the runner image. (Also already applied on the host: act_runnercontainer.network: docker-data_webso job containers can reachgitea:3000for checkout.)🤖 Generated with Claude Code
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>