fix(ci): move check job to OpenSUSE runner + lint posture cleanup #5

Merged
YousifShkara merged 2 commits from fix/ci-check-runner into main 2026-05-22 12:17:14 +02:00
Owner

Two problems landed together when the SSO/full-dev merge hit main:

  1. actions/checkout@v5 failed with "node: executable file not found" inside the rust:1-slim-trixie container. The slim rust image does not ship Node.js, which checkout@v5's JS runtime needs. Swap the check job to the same ${{ vars.RUNS_ON_OPENSUSE_BASE_LATEST }} runner the build-images job already uses (rust + node baked in), and rewrite the steps to mirror the pre-commit recipe: cargo check / clippy / fmt on the native workspace (excluding bunyip-web), then a second pass on bunyip-web with --target wasm32-unknown-unknown.

  2. cargo clippy ... -- -D warnings flipped a long tail of advisory clippy nits and post-merge dead_code orphans into hard errors. Apply cargo clippy --fix for the auto-fixable lints, then add [lints.rust] / [lints.clippy] allows in bunyip-web/Cargo.toml for the cosmetic categories (doc_lazy_continuation, enum_variant_names) and the transitional dead_code / unused_* / deprecated buckets. Same posture as the drillmark + mokosh-server lint cleanups.

Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com

Two problems landed together when the SSO/full-dev merge hit main: 1. `actions/checkout@v5` failed with "node: executable file not found" inside the rust:1-slim-trixie container. The slim rust image does not ship Node.js, which checkout@v5's JS runtime needs. Swap the check job to the same `${{ vars.RUNS_ON_OPENSUSE_BASE_LATEST }}` runner the build-images job already uses (rust + node baked in), and rewrite the steps to mirror the pre-commit recipe: cargo check / clippy / fmt on the native workspace (excluding bunyip-web), then a second pass on bunyip-web with --target wasm32-unknown-unknown. 2. `cargo clippy ... -- -D warnings` flipped a long tail of advisory clippy nits and post-merge dead_code orphans into hard errors. Apply `cargo clippy --fix` for the auto-fixable lints, then add `[lints.rust]` / `[lints.clippy]` allows in bunyip-web/Cargo.toml for the cosmetic categories (doc_lazy_continuation, enum_variant_names) and the transitional `dead_code` / `unused_*` / `deprecated` buckets. Same posture as the drillmark + mokosh-server lint cleanups. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
fix(ci): move check job to OpenSUSE runner + lint posture cleanup
Some checks failed
build / Build and push OCI images (pull_request) Has been skipped
build / Lint and type-check (pull_request) Failing after 34s
d9ae0f6f97
Two problems landed together when the SSO/full-dev merge hit main:

1. `actions/checkout@v5` failed with "node: executable file not found" inside the rust:1-slim-trixie container. The slim rust image does not ship Node.js, which checkout@v5's JS runtime needs. Swap the check job to the same `${{ vars.RUNS_ON_OPENSUSE_BASE_LATEST }}` runner the build-images job already uses (rust + node baked in), and rewrite the steps to mirror the pre-commit recipe: cargo check / clippy / fmt on the native workspace (excluding bunyip-web), then a second pass on bunyip-web with --target wasm32-unknown-unknown.

2. `cargo clippy ... -- -D warnings` flipped a long tail of advisory clippy nits and post-merge dead_code orphans into hard errors. Apply `cargo clippy --fix` for the auto-fixable lints, then add `[lints.rust]` / `[lints.clippy]` allows in bunyip-web/Cargo.toml for the cosmetic categories (doc_lazy_continuation, enum_variant_names) and the transitional `dead_code` / `unused_*` / `deprecated` buckets. Same posture as the drillmark + mokosh-server lint cleanups.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
fix(ci): stub bunyip-web/assets/styles.css before cargo steps
All checks were successful
build / Build and push OCI images (pull_request) Has been skipped
build / Lint and type-check (pull_request) Successful in 34s
bd507a685a
bunyip-web's main.rs has `asset!("/assets/styles.css")`, which dioxus' macro resolves at compile time. The file is a gitignored Tailwind build artifact (see .gitignore line for bunyip-web/assets/styles.css), so a clean CI checkout doesn't have it, and cargo check fails before any clippy/test step runs.

This workflow only compile-validates and never renders CSS, so an empty file is sufficient. The real Tailwind build stays in bunyip-web/oci-build/Dockerfile for deployment images. Same fix pattern mokosh-clients applied in 964f092.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
YousifShkara deleted branch fix/ci-check-runner 2026-05-22 12:17:14 +02:00
Sign in to join this conversation.
No reviewers
No labels
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
psa-systems/bunyip!5
No description provided.