This is an automated email from the ASF dual-hosted git repository.
zyxxoo pushed a commit to branch refactor/rust-rewrite-design
in repository https://gitbox.apache.org/repos/asf/hugegraph.git
The following commit(s) were added to refs/heads/refactor/rust-rewrite-design
by this push:
new 18c036f48 test(rust): audit partition CI gate wiring
18c036f48 is described below
commit 18c036f481c62fdfd9a899b7bd80c8ffebb2c52a
Author: vaughn <[email protected]>
AuthorDate: Sun Sep 13 17:11:16 2026 +0800
test(rust): audit partition CI gate wiring
---
docs/evidence/rust-rewrite/ci-gates-audit-20260913.md | 7 +++++++
tools/rust-partition-poc/audit-gates.sh | 9 +++++++++
2 files changed, 16 insertions(+)
diff --git a/docs/evidence/rust-rewrite/ci-gates-audit-20260913.md
b/docs/evidence/rust-rewrite/ci-gates-audit-20260913.md
new file mode 100644
index 000000000..81535c549
--- /dev/null
+++ b/docs/evidence/rust-rewrite/ci-gates-audit-20260913.md
@@ -0,0 +1,7 @@
+# CI gate audit (2026-09-13)
+
+Command: `tools/rust-partition-poc/audit-gates.sh`
+
+Exit code: 0. The script inspected `.github/workflows/rust-partition-poc.yml`
and confirmed the workflow executes all four local POC gates: `cargo fmt --
--check`, clippy with `-D warnings`, `cargo test --locked`, and `cargo mutants
--exclude src/main.rs --timeout 30 --jobs 2`.
+
+This is evidence that the declared POC gates are wired into CI. It does not
establish production Rust coverage, Java/Rust differential compatibility, or
end-to-end snapshot/restart coverage; those remain MISSING in the acceptance
matrix.
diff --git a/tools/rust-partition-poc/audit-gates.sh
b/tools/rust-partition-poc/audit-gates.sh
new file mode 100755
index 000000000..83acc9045
--- /dev/null
+++ b/tools/rust-partition-poc/audit-gates.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+set -euo pipefail
+root=$(cd "$(dirname "$0")/../.." && pwd)
+workflow="$root/.github/workflows/rust-partition-poc.yml"
+for cmd in 'cargo fmt -- --check' 'cargo clippy --all-targets -- -D warnings'
'cargo test --locked' 'cargo mutants --exclude src/main.rs --timeout 30 --jobs
2'; do
+ grep -Fq "$cmd" "$workflow" || { echo "missing CI gate: $cmd" >&2; exit 1; }
+done
+printf 'workflow=%s\n' "$workflow"
+printf 'gates=fmt,clippy,test,mutation\n'