Repository navigation
CI builds what ships - #160
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…weekly advisories Adds a release build job with the UI built, a job for the Dockerfile's linux-packages target and the image, timeout-minutes on every job, actions pinned by SHA, a weekly advisories workflow, rust-toolchain.toml, .nvmrc, a Pins check (versions and the licence lists) and workspace lints that forbid unsafe_code in koppel and koppel-contract. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #152
What changed
koppel\Dockerfiletoinstaller\docker\Dockerfile) ininstaller/linux/build.ps1(twice),installer/notices/new-notices.ps1anddocs/windows.md.ci.yml: new Release build job (pnpm --filter koppel.ui build, thencargo build --release --locked -p koppel), new Linux packages and image job (the Dockerfilelinux-packagestarget, adpkg-deb --infocheck of the three.debfiles, then the image for amd64, arm64 and arm/v6 without pushing; this also builds the three musl targets, so there is no separate cargo-zigbuild job), new Pins job.timeout-minuteson every job. Every action pinned by commit SHA with the version in a comment (SHAs looked up withgh api).advisories.yml: weekly (Monday) and manual:cargo deny check advisories,pnpm audit --prod, and a check for a newer Skakel tag that opens one issue.src/rust-toolchain.toml(channel 1.99.1, clippy, rustfmt) read by CI instead of theRUST_VERSIONenv;src/ui/.nvmrc(24.22.2) read bysetup-node..github/scripts/check-pins.sh: Rust version (toolchain file, Dockerfile base tag,rust-version,rust:tags in docs), Node (.nvmrcagainst the Dockerfile), pnpm (packageManageragainst the Dockerfile), anddeny.tomlallowagainstabout.tomlaccepted.[workspace.lints.rust] unsafe_code = "forbid", taken bykoppelandkoppel-contract([lints] workspace = true). Neither has unsafe code.docs/building.mddescribes all of it.Left out, and why
koppel-config,koppel-usb,koppel-webandkoppel-windows: each has unsafe blocks (15 files), and narrowing them is source work other agents are doing. Scoped down, not dropped..github/rulesets/main-pull-requests.json); the owner decides after they have run green a few times.rust-toolchain.tomlhas notargets: on a dev machine rustup would install three musl targets nobody uses locally, and the Dockerfile adds them itself.engines.node >=20insrc/ui/package.jsonis unchanged (UI agents own it).Testing
cargo fmt --all --check: pass..github/scripts/check-pins.sh: pass, and fails as expected with a changed.nvmrcand a licence removed fromabout.toml.cargo clippy -p koppel -p koppel-contract --all-targets --locked -- -D warningsnatively (see CI for the result).cargo test(nothing in code changed beyond the two[lints]tables).docs/building.md,docs/windows.md.Changelog notes: no wire, on-disk or settings change. Build:
rustupnow readssrc/rust-toolchain.tomland installs Rust 1.99.1 (minimal profile with clippy and rustfmt) on first cargo run fromsrc/.🤖 Generated with Claude Code