Skip to content

Commit 1fb7c65

Browse files
committed
Add isolated harnesses to standard checks
1 parent 44b426e commit 1fb7c65

6 files changed

Lines changed: 22 additions & 13 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@
7878
caller-owned buffers without switching to the diagnostic decoder.
7979
- Added `Engine::ct_decoder()` for explicit promotion to the matching
8080
constant-time-oriented decoder without type annotations.
81+
- Added isolated dudect, fuzz, and performance harness compile/dependency
82+
checks to the standard local gate so harness policy is verified before
83+
release-only evidence steps.
8184
- Added checked stream adapter `try_into_inner()` helpers that recover the
8285
wrapped reader or writer only when doing so will not discard pending input or
8386
buffered output.

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,9 @@ Run the standard gate:
665665
scripts/checks.sh
666666
```
667667

668+
The standard gate includes isolated dudect, fuzz, and performance harness
669+
compile/dependency checks. It does not run fuzz campaigns or benchmarks.
670+
668671
Check the zero-external-crate policy directly:
669672

670673
```sh
@@ -727,7 +730,7 @@ cargo fuzz --version
727730
cargo kani --version
728731
```
729732

730-
Compile fuzz targets without running a campaign:
733+
Compile and audit fuzz targets directly while iterating on fuzz harnesses:
731734

732735
```sh
733736
scripts/check_fuzz.sh
@@ -739,7 +742,7 @@ Validate the committed fuzz corpus policy directly:
739742
scripts/check_fuzz_corpus.sh
740743
```
741744

742-
Compile and audit the isolated performance harness:
745+
Compile and audit the isolated performance harness directly:
743746

744747
```sh
745748
scripts/check_perf.sh

docs/RELEASE.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@ Kani bundles its own Rust compiler. If that compiler is older than this crate's
127127
`rust-version`, `scripts/check_kani.sh` records an explicit skip until a newer
128128
Kani release supports the pinned toolchain.
129129

130-
The local release gate runs:
130+
The standard local gate runs isolated dudect, fuzz, and performance harness
131+
compile/dependency checks without running timing campaigns, fuzz campaigns, or
132+
benchmarks. The local release gate also runs:
131133

132134
```sh
133135
scripts/check_miri.sh
@@ -156,7 +158,8 @@ The published crate package includes the core release/check scripts, Rust
156158
toolchain pin, and cargo-deny policy so the documented gate can be inspected
157159
with the packaged source.
158160

159-
Fuzz-only dependencies are checked separately with:
161+
Fuzz-only dependencies are included in the standard local gate and can also be
162+
checked directly with:
160163

161164
```sh
162165
scripts/check_fuzz.sh

docs/RELEASE_EVIDENCE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ The release gate runs:
6161
- fuzz target compile check when `cargo-fuzz` is installed
6262
- fuzz corpus policy validation for target-specific reviewed corpus inputs and
6363
release-blocking artifact cleanup
64-
- isolated fuzz and performance harness dependency checks
64+
- isolated dudect, fuzz, and performance harness dependency checks as part of
65+
the standard gate
6566
- installed-target `no_std` checks for the reserved `simd` feature
6667
- no-alloc portability smoke crate checks for stack-backed encode/decode,
6768
wrapped output, URL-safe no-padding, and constant-time-oriented decode with

scripts/checks.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ scripts/validate-constant-time-policy.sh
3434
echo "checks: dudect timing harness"
3535
scripts/check_dudect.sh
3636

37+
echo "checks: fuzz harness"
38+
scripts/check_fuzz.sh
39+
40+
echo "checks: performance harness"
41+
scripts/check_perf.sh
42+
3743
echo "checks: clippy default"
3844
cargo clippy --all-targets -- -D warnings
3945

scripts/stable_release_gate.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,7 @@ else
4545
echo "stable release gate: skipping fuzz compile check; cargo fuzz or fuzz/ is not available"
4646
fi
4747

48-
echo "stable release gate: fuzz dependency checks"
49-
scripts/check_fuzz.sh
50-
51-
echo "stable release gate: performance harness dependency checks"
52-
scripts/check_perf.sh
53-
54-
echo "stable release gate: dudect timing harness dependency checks"
55-
scripts/check_dudect.sh
48+
echo "stable release gate: isolated dudect/fuzz/performance harness checks covered by standard checks"
5649

5750
echo "stable release gate: installed cross-target checks"
5851
scripts/check_targets.sh

0 commit comments

Comments
 (0)