Commit e61cd7f
committed
ci: tighten clippy/fmt/doc/audit + add GitHub Actions parity
Brings the workspace to clippy-clean under --all-targets -D warnings,
fixes broken benchmark targets, applies cargo fmt across the tree, and
mirrors the existing GitLab security/lint/test stages as GitHub Actions
so PR authors see the same checks before merge.
Clippy/lint fixes (across 15+ crates):
- Drop dead Node.level field in HNSW (level info lives in neighbors.len)
- Replace x % 2 != 0 with !x.is_multiple_of(2) (zkp.rs, auth.rs)
- Derive Default for PrivacyLevel, DriftPolicy, IsolationLevel
- Add Default impl for TransactionId, QualityReconciliationStrategy
- Rename TransactionId::from_str to from_string (avoids FromStr clash)
- Annotate too_many_arguments on octad/drift APIs (refactor would be
invasive without semantic gain)
- Collapse nested ifs in vql.rs find_where_id, elide lifetimes
- Use struct-update syntax in OctadInput / RegenerationConfig builders
- Drop &h to h on Sha256::update (h is Copy)
- Fix HTTP URL literals in doc comments and unclosed HTML tags
Benchmark fixes:
- Switch from OxiGraphStore (now feature-gated, KNOWN-ISSUES #24) to
SimpleGraphStore — drop-in pure-Rust replacement
- Add provenance + spatial stores to InMemoryOctadStore::new() calls
(9 modalities now, was 7)
- Add verisim-provenance + verisim-spatial path deps to benches/
- Replace black_box(unit_returning_call) with explicit black_box(())
Doc warnings:
- Fix unresolved [`AdaptiveTuner`] link in profiler.rs
- Backtick the generic in `Version<T>` doc to avoid HTML parse
- Use backticks not quotes for example URLs
GitHub Actions added (.github/workflows/):
- rust-ci.yml: fmt, clippy (all-targets, -D warnings), test, doc
(-D warnings via RUSTDOCFLAGS), cargo-audit, bench-compile
- elixir-ci.yml: format check, compile --warnings-as-errors, mix test,
mix hex.audit, mix deps.unlock --check-unused
Dependabot fix:
- Correct ecosystem "weeklymix" → "mix" (was a typo, never matched)
- Point mix at /elixir-orchestration, npm at /playground (was scanning
repo root, finding nothing)
- Drop pip + nix entries (no Python or flake files exist)
Verification:
- cargo test --workspace: 567 passed, 0 failed, 6 ignored
- cargo clippy --workspace --all-targets -- -D warnings: clean
- cargo doc --workspace --no-deps: clean
- cargo bench --no-run: clean
https://claude.ai/code/session_01GeiWCLLoZmPdnjMMcy2buu1 parent a038e26 commit e61cd7f
83 files changed
Lines changed: 3091 additions & 2090 deletions
File tree
- .github
- workflows
- benches
- rust-core
- verisim-api/src
- proto
- verisim-document
- src
- tests
- verisim-drift/src
- verisim-graph/src
- verisim-nif/src
- verisim-normalizer/src
- verisim-octad
- src
- tests
- verisim-planner/src
- verisim-provenance/src
- verisim-repl/src
- verisim-semantic/src
- verisim-spatial/src
- verisim-storage/src
- verisim-temporal
- src
- tests
- verisim-tensor/src
- verisim-vector/src
- verisim-wal/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 34 | + | |
47 | 35 | | |
48 | | - | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
0 commit comments