[GH-ISSUE #490] [ci] Website-only pull requests run the full Rust verify job #141

Closed
opened 2026-11-02 15:36:43 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @ludovic111 on GitHub (Oct 16, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/490

What happens

A pull request that only touches website/ (or other files the game doesn't build from, like docs) still runs the whole verify job in .github/workflows/ci.yml: the Rust toolchain install, cargo fmt, cargo clippy --workspace and cargo test --workspace. That takes a runner for a full Rust build and makes small website PRs wait on it.

ci.yml has no paths filter or change detection; launcher.yml and telemetry-server.yml already use paths.

Suggestion

Skip the Rust steps when a change touches only website/** (and maybe docs/**, *.md). If verify is a required check, keep the job and let it pass quickly (for example a first step that checks git diff --name-only against the base and skips the Rust steps), since a workflow skipped by a top-level paths filter leaves a required check pending.

Source

Reported on Discord by rdbt in #general (2026-10-14): "gotta love it running the rust build action for a website change aswell".

Originally created by @ludovic111 on GitHub (Oct 16, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/490 ## What happens A pull request that only touches `website/` (or other files the game doesn't build from, like docs) still runs the whole `verify` job in `.github/workflows/ci.yml`: the Rust toolchain install, `cargo fmt`, `cargo clippy --workspace` and `cargo test --workspace`. That takes a runner for a full Rust build and makes small website PRs wait on it. `ci.yml` has no `paths` filter or change detection; `launcher.yml` and `telemetry-server.yml` already use `paths`. ## Suggestion Skip the Rust steps when a change touches only `website/**` (and maybe `docs/**`, `*.md`). If `verify` is a required check, keep the job and let it pass quickly (for example a first step that checks `git diff --name-only` against the base and skips the Rust steps), since a workflow skipped by a top-level `paths` filter leaves a required check pending. ## Source Reported on Discord by rdbt in #general (2026-10-14): "gotta love it running the rust build action for a website change aswell".
bsakaguchi 2026-11-02 15:36:43 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#141
No description provided.