Skip to content

fix(ci,filters): prevent master pr-lint cancellations and match upstream **+/*** wild2 prefix - #8375

Merged
oferchen merged 1 commit into
masterfrom
fix/master-ci-and-fuzzer
Nov 14, 2026
Merged

oferchen merged 1 commit into
masterfrom
fix/master-ci-and-fuzzer

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  1. Prevent cancelled PR lint runs on master (.github/workflows/pr-lint.yml):
    • Use per-PR concurrency groups with cancel-in-progress: true only on pull_request, and per-commit ${{ github.ref }}-${{ github.sha }} groups with cancel-in-progress: false on master pushes (matching ci.yml, security.yml, upstream-tarballs.yml, and interop-validation.yml).
  2. Fix filter_rules_vs_upstream divergence on - ***/*** (crates/filters/src/compiled/pattern.rs):
    • Upstream add_rule() (exclude.c:335-339) sets FILTRULE_WILD2_PREFIX when an unanchored pattern starts with **, and rule_matches() (exclude.c:1028-1031) prepends / to the candidate name. Consequently, unanchored **+/*** without a trailing / (e.g. **/*** , *** /***) matches non-directory files (such as "UUUU") as well as directories.
    • Update normalise_pattern() so unanchored **+/*** without a trailing / does not force directory_only = true, and returns the stripped core_pattern rather than borrowing the original unstripped slice.
    • Add unit tests covering **/*** , *** /***, **** /***, *** /***/, /*** /***, and */***.

Verification

  • python3 tools/ci/check_bin_build_coverage.py --verbose
  • bash tools/ci/check_locked_flags.sh
  • bash tools/ci/check_cargo_lockfile_sync.sh
  • cargo test --locked -p filters
  • cargo clippy --locked -p filters --all-targets -- -D warnings
  • cargo fmt --check
  • bash tools/ci/triage_fuzz_artifact.sh .../crash-675a852e237b826c9e7340aad15f879bf480cb72 (passed cleanly)

@github-actions github-actions Bot added the bug Something isn't working label Nov 14, 2026
@oferchen
oferchen merged commit af13d07 into master Nov 14, 2026
87 checks passed
@oferchen
oferchen deleted the fix/master-ci-and-fuzzer branch November 14, 2026 13:17
oferchen added a commit that referenced this pull request Nov 14, 2026
…odebase (#8381)

Updates and cleans up root documentation against the current codebase
and upstream rsync 3.5.1 reference:\n\n- **README.md**: Update required
status check count from 15 to 16 and include `rustdoc links` to match
the repository ruleset.\n- **SECURITY.md**: Remove stale claim that
`--fake-super` is unimplemented (implemented in PR #8348;
`daemon-namecvt-empty-response` passes on Linux non-root legs), and
update cargo-fuzz target counts to 36 total / 26 in `fuzz/` (adding
`connection_handoff`) / 31 daily sweep targets.\n- **CHANGELOG.md**: Add
recent `[Unreleased]` entries (#8354, #8364, #8372, #8375) and remove
stray blank lines inside `### Changed`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant