Commit graph

153 commits

Author SHA1 Message Date
Chris Hennick
934806323a
ci: Reduce iterations for fuzz_read_no_features by 20% 2024-04-30 21:16:48 -07:00
Chris Hennick
dae3b668c8
ci: Eliminate redundant builds on merge-queue branches 2024-04-30 17:58:49 -07:00
Chris Hennick
505cf01ea7
ci: Eliminate some redundant CI runs based on https://wildwolf.name/github-actions-how-to-avoid-running-the-same-workflow-multiple-times/ 2024-04-30 17:48:55 -07:00
Chris Hennick
b6b150fa9e
Increase fuzz timeouts
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-04-30 17:20:46 -07:00
Chris Hennick
3bf825a8de
ci: Wait for unit tests to pass before starting fuzz tests 2024-04-30 09:05:17 -07:00
Chris Hennick
8d1c96892a
ci: Reduce fuzz testing duration so that it can reliably pass for the merge queue 2024-04-29 21:22:49 -07:00
Chris Hennick
38829b1f4b
ci: Enable CI run when requested for a merge group 2024-04-28 11:48:46 -07:00
Chris Hennick
2de0c8b279
ci: Reduce fuzz_write iterations 2024-04-25 08:57:47 -07:00
Chris Hennick
1e23caa003
ci: Skip CI for Dependabot branches, since PR CI makes it redundant 2024-04-24 02:06:30 -07:00
Chris Hennick
8df1c4cb33
ci: Don't need to trigger main CI on release-plz branches, or on PRs that don't target master 2024-04-24 00:36:46 -07:00
Chris Hennick
c76627bba8
ci: Bug fix: missing space between arguments 2024-04-24 00:26:48 -07:00
Chris Hennick
9def229683
ci: Updates to ci.yaml that were missed in previous commit 2024-04-23 23:56:50 -07:00
Chris Hennick
58fd54c439
build: move release-plz to separate file so it runs only on master branch 2024-04-22 19:28:13 -07:00
Chris Hennick
5f4dbc3100
build: configure release-plz 2024-04-22 19:04:42 -07:00
Chris Hennick
327a86bd6c
build: add release-plz action 2024-04-22 18:51:25 -07:00
Chris Hennick
4777dbe5f8 Bug fix? Define all rustalias values in outer tag so that it's not a product join 2024-04-15 17:13:35 -07:00
Chris Hennick
9580814d74 Bug fix? Put combined name in quotes 2024-04-15 17:13:35 -07:00
Chris Hennick
7e2ccf44a5 Bug fix? Use a singleton matrix dimension to force include to overlap 2024-04-15 17:13:35 -07:00
Chris Hennick
a76a6c9053 Bug fix? Remove hyphen from rustalias 2024-04-15 17:13:35 -07:00
Chris Hennick
48723bfdb0 Bug fix? 2024-04-15 17:13:35 -07:00
Chris Hennick
1f4331e78b Add the rust-alias variable so that workflow names won't change with future MSRV bumps 2024-04-15 17:13:35 -07:00
Chris Hennick
3c15ded105 Bug fix 2024-04-14 07:57:41 -07:00
Chris Hennick
9438bef0f7 Replace AtomicU64 with OnceLock 2024-04-14 07:53:32 -07:00
Chris Hennick
68b998ee19 Enable non-default features during fuzz, to ensure they're included 2024-04-11 15:35:58 -07:00
Chris Hennick
c31ddf3aeb Run cargo cmin before uploading seed corpus 2024-04-11 15:20:52 -07:00
Chris Hennick
e78c370f32 Output updated seed corpora as artifacts 2024-04-11 15:00:05 -07:00
Chris Hennick
c4492b9635 Reduce fuzz_read_with_no_features to 50M runs 2024-03-16 15:24:15 -07:00
Chris Hennick
81a0e8a156 Reduce fuzz_read_with_no_features to 100M runs 2024-03-14 18:32:33 -07:00
Chris Hennick
30a861bb55 Test using actions-rs/cargo@v1 for fuzzing 2024-03-14 17:25:47 -07:00
Chris Hennick
a751e09b9c Test setting len_control to 0 2024-03-14 15:26:35 -07:00
Chris Hennick
5c37053644 Bug fix: max_total_time is in seconds, not minutes 2024-03-14 14:41:18 -07:00
Chris Hennick
9488620f5c Reduce len_control for fuzz_read_with_no_features 2024-03-14 14:40:08 -07:00
Chris Hennick
f63dc2f66c Bug fix: step timeout needs to be longer than cargo fuzz run -max_total_time 2024-03-14 14:03:04 -07:00
Chris Hennick
6adca53895 Reduce iterations by 50% for both fuzz_read runs, and set a max_total_time for fuzz_read_with_no_features 2024-03-14 14:01:37 -07:00
Chris Hennick
24ab1bf6e5 We still need 100m runs with features enabled, but 500m without is sufficient 2024-03-13 20:53:47 -07:00
Chris Hennick
030f355525 Increase runs to 50m to achieve 3350+ coverage more reliably 2024-03-13 19:46:15 -07:00
Chris Hennick
8fcc1988b2 Revert "Test with max_len=1000"
This reverts commit f812649d07.
2024-03-13 18:26:23 -07:00
Chris Hennick
f812649d07 Test with max_len=1000 2024-03-13 18:08:50 -07:00
Chris Hennick
0ae35c1257 Use current best fuzz settings (max_len=1300, runs=25M, no empty non-ZIP file in corpus) 2024-03-13 16:22:35 -07:00
Chris Hennick
88bf5ccc1c Revert "Test adding an empty file (not even ZIP headers) to seed corpus"
This reverts commit e8cf80098e.
2024-03-13 16:18:57 -07:00
Chris Hennick
e8cf80098e Test adding an empty file (not even ZIP headers) to seed corpus 2024-03-13 15:28:19 -07:00
Chris Hennick
ba7decb143 Test with max_len=2100 2024-03-13 15:19:54 -07:00
Chris Hennick
6f27c76499 Increase max_len to 1300 to accommodate all but one file in the minified corpus 2024-03-13 14:49:17 -07:00
Chris Hennick
dec73ef5c1 Merge branch 'tune_fuzz'
# Conflicts:
#	src/read.rs
2024-03-13 13:09:14 -07:00
Chris Hennick
1bb1f8037c fuzz_read_no_features can still use 1 billion iterations 2024-03-12 20:28:43 -07:00
Chris Hennick
f2c1f83ffe Use 100 million iterations for fuzz_read 2024-03-12 20:16:23 -07:00
Chris Hennick
fe4ebedec4 Decrease to 20 million runs of fuzz_read, because seed corpus lowers exec/s but increases coverage plateau 2024-03-12 20:07:40 -07:00
Chris Hennick
5bdf9b7c30 Test with a "seed corpus" consisting of an empty zip file 2024-03-12 19:22:52 -07:00
Chris Hennick
60f8f9b910 Test with len_control=500 runs=200M 2024-03-12 18:47:10 -07:00
Chris Hennick
9bce0dcb0f Test with len_control=1000 2024-03-12 18:11:56 -07:00