diff --git a/.github/workflows/cflite_pr.yml b/.github/workflows/cflite_pr.yml deleted file mode 100644 index d6480aeb95..0000000000 --- a/.github/workflows/cflite_pr.yml +++ /dev/null @@ -1,48 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -name: ClusterFuzzLite PR fuzzing -on: - pull_request: -permissions: read-all -jobs: - PR: - runs-on: ubuntu-latest - concurrency: - group: ${{ github.workflow }}-${{ matrix.sanitizer }}-${{ github.ref }} - cancel-in-progress: true - strategy: - fail-fast: false - matrix: - sanitizer: - - address - steps: - - name: Build Fuzzers (${{ matrix.sanitizer }}) - id: build - uses: google/clusterfuzzlite/actions/build_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 # v1 - with: - language: rust - github-token: ${{ secrets.GITHUB_TOKEN }} - sanitizer: ${{ matrix.sanitizer }} - - name: Run Fuzzers (${{ matrix.sanitizer }}) - id: run - uses: google/clusterfuzzlite/actions/run_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 # v1 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - fuzz-seconds: 600 - mode: 'code-change' - sanitizer: ${{ matrix.sanitizer }} diff --git a/docs/fuzzing.md b/docs/fuzzing.md index e72d24ad2c..be47c83aaa 100644 --- a/docs/fuzzing.md +++ b/docs/fuzzing.md @@ -41,9 +41,7 @@ The three oracle targets compile their engine from source, so each builds only w `fuzz_stage_cost` times tokenizing, parsing and printing the input with every dialect and fails when parsing takes more than 50 times as long as tokenizing, or printing more than 50 times as long as parsing, once the slower stage passes 10 ms. It reports superlinear paths whose cost stays far below the fuzzer's timeout. -ClusterFuzzLite runs continuous fuzzing. Every pull request fuzzes for 10 minutes in -`code-change` mode, a daily batch job grows the shared corpus stored on the -`clusterfuzzlite` branch, and a daily prune compacts it. +ClusterFuzzLite runs daily batch fuzzing to grow the shared corpus stored on the `clusterfuzzlite` branch, and a daily prune compacts it. `fuzz_seeds/` is a committed corpus of valid SQL that random mutation would never produce. The run command above uses it and `build.sh` packages it for ClusterFuzzLite.