fuzz: keep the fuzz corpus from one scheduled run to the next
维护者通常 4 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 68/100
调研方向
阅读.github/workflows/fuzz.yml和fuzz/seeds/的当前内容;该 issue 建议定期使用cargo fuzz cmin缩减模糊测试语料库,并提交结果。先检查 workflow 如何运行模糊测试目标,以及 seeds 如何组织。完成标准是 workflow 继续不使用缓存,并且经过审查的更改更新已提交的语料库。
由索引模型根据 Issue 内容生成。
描述
What is wrong
Each Fuzz run starts from the committed seeds in fuzz/seeds and discards the corpus it builds. @robinnsc found on #798 that five of the six targets were still finding new coverage in the last second of the 60-second pull request run (comment). The 600-second daily run starts from the same seeds each day, so most of each run covers the same inputs as the run before.
Where
.github/workflows/fuzz.ymlfuzz/seeds/
What to change
Two options:
- An Actions cache of the corpus that only the scheduled job writes, and that pull request runs do not restore. The Fuzz workflow uses no cache, and the release workflows leave the Actions cache out on purpose because of the CodeQL cache-poisoning query. A pull request workflow can restore a cache that a run on
mainwrote, so any pull request could read the cached corpus. - A corpus that a maintainer minimizes with
cargo fuzz cminand commits tofuzz/seedsat intervals, in a pull request that gets the same review as any other change.
Recommendation
Option 2. The workflow stays free of caches, and a reviewer sees each change to the corpus.
- 主要语言
- Rust
- 星标
- 517
- 派生
- 60
- 平均合并
- 5 天 3 小时
- 30 天内合并 PR
- 79
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ExtendDB/extenddb 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 4 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 4 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 4 天内回复
-
tests: two race tests share one boto3 client across threads and failed with TLSV1_ALERT_DECODE_ERROR未关闭ci:stability
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 4 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 4 天内回复
查看 ExtendDB/extenddb 的全部 Issue
相似的 Issue
-
bug low-priority
难度 2/5 1-3 小时 新手友好度 76/100
dividebysandwich/rust-dos#629 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
eliasstravik/herdr-projects#758 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
-
enhancement needs:sonnet ready-for-agent
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复