Skip to content

chore(ci): repo hardening to cesr parity — spell-check + nix hygiene gates#105

Merged
joeldsouzax merged 3 commits into
mainfrom
chore/104-repo-hardening-cesr-parity
Jul 2, 2026
Merged

chore(ci): repo hardening to cesr parity — spell-check + nix hygiene gates#105
joeldsouzax merged 3 commits into
mainfrom
chore/104-repo-hardening-cesr-parity

Conversation

@joeldsouzax

Copy link
Copy Markdown
Contributor

Closes #104.

Brings bombay's repo strength up to the sibling cesr repo (minus release-plz, out of scope), now that bombay is public.

New nix flake check gates

  • bombay-typos — spell-check (typos + _typos.toml)
  • bombay-nixfmt — flake.nix formatting (+ formatter = nixfmt)
  • bombay-deadnix — dead nix code
  • bombay-shellcheck — the .githooks/ scripts
  • bombay-yaml — non-workflow YAML

Community-health / security

  • SECURITY.md (private vuln reporting), .github/workflows/codeql.yml
  • .github/dependabot.yml, CODEOWNERS, PULL_REQUEST_TEMPLATE.md, ISSUE_TEMPLATE/*
  • rustfmt.toml, _typos.toml

Also

  • Fixes real spelling errors surfaced by the typos gate.
  • Parks the clippy gate (red-by-design over vendored kameo) until M1/M7 — restore snippet kept inline in flake.nix.

All new gates + bombay-fmt + actionlint verified green locally; the 14-check set evaluates cleanly.

…es (#104)

Add the non-cargo hygiene gates cesr has but bombay lacked, all wired into the
single `nix flake check` gate:

- bombay-typos     — spell-check (typos + _typos.toml)
- bombay-nixfmt    — flake.nix formatting (+ `formatter = nixfmt`)
- bombay-deadnix   — dead nix code
- bombay-shellcheck— the .githooks/ scripts
- bombay-yaml      — non-workflow YAML (dependabot, issue-template config)

Public-repo community-health + security files:
- SECURITY.md (private vulnerability reporting)
- .github/workflows/codeql.yml (CodeQL security scanning)
- .github/dependabot.yml, CODEOWNERS, PULL_REQUEST_TEMPLATE.md, ISSUE_TEMPLATE/*
- rustfmt.toml, _typos.toml

Fix real spelling errors the typos gate surfaced (closure, arguments, cloneable,
compatibility, join_all). Allow-list covers crate names / deliberate abbrevs /
literal test data; src/remote* (libp2p, M1-deleted) is excluded until Zenoh lands.

Out of scope: release-plz, CHANGELOG, keripy-*, fuzz, codspeed, wasm/no_std.
License unchanged (MIT OR Apache-2.0 — kameo fork).
The whole-workspace clippy check is red-by-design over the ~19k LOC of vendored
kameo (rustc --deny warnings trips on unused/dead code alone), which blocks the
pre-push hook and reddens CI. Remove it from `nix flake check` until M1/M7 bring
the surviving core up to the god-level bar; the restore snippet is kept inline in
flake.nix (mirrors the Cargo.toml 'TO RESTORE' note).
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

…h gate

The `bombay-typos` gate runs `typos <abs-nix-store-path>`; typos matches
slash-bearing exclude globs relative to the sandbox CWD, so `src/remote/**`
silently missed and the vendored `DowncastRegsiteredActorRefError` typo reddened
CI (green locally, where CWD is the repo root). Anchor with `**/`. Verified by
rebuilding the nix check against the store path.
@joeldsouzax joeldsouzax merged commit 15dc1f7 into main Jul 2, 2026
4 checks passed
@joeldsouzax joeldsouzax deleted the chore/104-repo-hardening-cesr-parity branch July 2, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(ci): repo hardening to cesr parity — spell-check + nix hygiene checks

2 participants