Repository navigation
Refactor branding tests into dedicated module - #1365
Merged
Merged
Conversation
4 of 5 tasks
oferchen
added a commit
that referenced
this pull request
May 17, 2026
#4277) Adds a second filter differential fuzz target, `filter_rules_vs_upstream`, that probes upstream rsync through `--list-only` and exercises the rule-list-clear directive (`!`) that the existing `filter_differential` harness omits. Comparison surface stays the same: build oc-rsync's `FilterSet` from the rule text, run upstream with the same `--filter=...` chain against a synthetic tree, and panic on a verdict mismatch so libFuzzer minimises the reproducer. Also adds `tools/ci/run_filter_differential_fuzz.sh` that drives the target for `${FUZZ_DURATION:-300}` seconds and exits 0 when no divergence is found, 1 on a finding, and skips cleanly when nightly, cargo-fuzz, or an upstream rsync binary is unavailable. Linux/macOS only; cargo-fuzz lacks sanitizer support on other targets.
4 tasks
oferchen
added a commit
that referenced
this pull request
May 18, 2026
#4277) Adds a second filter differential fuzz target, `filter_rules_vs_upstream`, that probes upstream rsync through `--list-only` and exercises the rule-list-clear directive (`!`) that the existing `filter_differential` harness omits. Comparison surface stays the same: build oc-rsync's `FilterSet` from the rule text, run upstream with the same `--filter=...` chain against a synthetic tree, and panic on a verdict mismatch so libFuzzer minimises the reproducer. Also adds `tools/ci/run_filter_differential_fuzz.sh` that drives the target for `${FUZZ_DURATION:-300}` seconds and exits 0 when no divergence is found, 1 on a finding, and skips cleanly when nightly, cargo-fuzz, or an upstream rsync binary is unavailable. Linux/macOS only; cargo-fuzz lacks sanitizer support on other targets.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
#4277) Adds a second filter differential fuzz target, `filter_rules_vs_upstream`, that probes upstream rsync through `--list-only` and exercises the rule-list-clear directive (`!`) that the existing `filter_differential` harness omits. Comparison surface stays the same: build oc-rsync's `FilterSet` from the rule text, run upstream with the same `--filter=...` chain against a synthetic tree, and panic on a verdict mismatch so libFuzzer minimises the reproducer. Also adds `tools/ci/run_filter_differential_fuzz.sh` that drives the target for `${FUZZ_DURATION:-300}` seconds and exits 0 when no divergence is found, 1 on a finding, and skips cleanly when nightly, cargo-fuzz, or an upstream rsync binary is unavailable. Linux/macOS only; cargo-fuzz lacks sanitizer support on other targets.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
#4277) Adds a second filter differential fuzz target, `filter_rules_vs_upstream`, that probes upstream rsync through `--list-only` and exercises the rule-list-clear directive (`!`) that the existing `filter_differential` harness omits. Comparison surface stays the same: build oc-rsync's `FilterSet` from the rule text, run upstream with the same `--filter=...` chain against a synthetic tree, and panic on a verdict mismatch so libFuzzer minimises the reproducer. Also adds `tools/ci/run_filter_differential_fuzz.sh` that drives the target for `${FUZZ_DURATION:-300}` seconds and exits 0 when no divergence is found, 1 on a finding, and skips cleanly when nightly, cargo-fuzz, or an upstream rsync binary is unavailable. Linux/macOS only; cargo-fuzz lacks sanitizer support on other targets.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
branding/tests.rsmodule to honor the hygiene line capTesting