Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/e2e-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -387,14 +387,14 @@ jobs:
go-version: ${{ env.GO_VERSION }}
cache: true

- name: Run fuzz tests (coverage-guided, 30s per target)
- name: Run fuzz tests (coverage-guided, 45s per target)
shell: bash -Eeuo pipefail -x {0}
run: |
# Time-based limits let Go's coverage-guided engine focus on
# inputs that explore new code paths. 30s per target achieves
# full branch coverage faster than 1M random iterations.
go test ./internal/recommendation/... -run='^$' -fuzz=FuzzPercentileEstimator -fuzztime=30s
go test ./internal/recommendation/... -run='^$' -fuzz=FuzzRecommendationEngine -fuzztime=30s
# Time-based limits let Go's coverage-guided engine focus on
# inputs that explore new code paths. 45s per target in nightly
# gives more coverage than the 30s used for local `make test-fuzz`.
go test ./internal/recommendation/... -run='^$' -fuzz=FuzzPercentileEstimator -fuzztime=45s
go test ./internal/recommendation/... -run='^$' -fuzz=FuzzRecommendationEngine -fuzztime=45s

report:
name: Nightly Results
Expand Down
Loading