Watch
0
0
Fork
You've already forked hyperhive
0

add review classifier rules for this repo

Eight classifications in .hyperhive/review-classifier.yml: no AI
advertising in commit messages, no committed secrets, no clippy
allow attributes, no debug leftovers, no dead code, tests with
behaviour changes, docs with operator-facing changes, one purpose per PR.

A swarm-controller test parses the real file so it can't rot, and the
rust source fileset in nix/rust.nix includes it so the test finds it
in the build sandbox.
This commit is contained in:
atlas 2026-10-12 19:13:49 +02:00 • committed by mara
commit 3b1de422c6
3 changed files with 83 additions and 1 deletions

View file

@ -35,9 +35,15 @@ rec {
# `hyperhive-assets` derivation and are loaded by the binaries at
# runtime from `$HIVE_ASSETS_DIR`. Net effect: only `*.rs` /
# `*.toml` / `Cargo.lock` edits rebuild the rust derivations.
#
# The one other file in it is the repo's own review-classifier rules: a
# `swarm-controller` test parses them, so they must be in the sandbox.
cleanSrc = lib.fileset.toSource {
root = ../.;
fileset = craneLib.fileset.commonCargoSources ../.;
fileset = lib.fileset.unions [
(craneLib.fileset.commonCargoSources ../.)
../.hyperhive/review-classifier.yml
];
};
# The workspace's dependency tree, built once and cached as its own