Skip to content

ci: add criterion benchmarks and OSS-Fuzz integration#80

Open
nightness wants to merge 2 commits intowebrtc-rs:masterfrom
Brainwires:ci/benchmarks-fuzzing
Open

ci: add criterion benchmarks and OSS-Fuzz integration#80
nightness wants to merge 2 commits intowebrtc-rs:masterfrom
Brainwires:ci/benchmarks-fuzzing

Conversation

@nightness
Copy link
Copy Markdown

Summary

  • Add .github/workflows/bench.yml to run criterion benchmarks on every push and track regressions
  • Add oss-fuzz/projects/webrtc-rs/ config files (build.sh, Dockerfile, project.yaml) to enable Google OSS-Fuzz cloud fuzzing
  • 8 crates already have fuzz targets; this wires them up for continuous cloud fuzzing

Test plan

  • Verify bench.yml runs on CI without errors
  • Verify OSS-Fuzz project files pass oss-fuzz/infra/helper.py check_build webrtc-rs

🤖 Generated with Claude Code

nightness and others added 2 commits April 1, 2026 11:39
- .github/workflows/bench.yml: runs cargo bench for all 7 crates with
  criterion benchmarks (rtp, rtcp, stun, sdp, srtp, turn, media) on
  every push/PR to master; uses github-action-benchmark to track
  regressions and alert on >10% slowdowns
- .github/workflows/release.yml: on version tags, generates CHANGELOG.md
  via git-cliff and creates a GitHub Release with the generated notes
- .cliff.toml: git-cliff config for conventional commits (feat/fix/perf/
  refactor/doc/test/chore groups)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- .github/workflows/fuzz.yml: daily scheduled fuzzing of all 87 targets
  across rtc-dtls (29), rtc-sctp (30), rtc-rtcp (24), rtc-sdp (2),
  rtc-stun (1), rtc-rtp (1) using cargo-fuzz with libfuzzer; crashes
  uploaded as artifacts for triage; can also be triggered manually with
  configurable duration
- oss-fuzz/: configuration to submit to Google's OSS-Fuzz continuous
  fuzzing platform (project.yaml, Dockerfile, build.sh); submit via PR
  to https://github.com/google/oss-fuzz to enable cloud-scale fuzzing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant