Skip to content

fuzz: one list of targets, the fuzz crate's [[bin]]s - #117

Merged
Kinflou merged 1 commit into
mainfrom
fuzz/targets
Nov 9, 2026
Merged

Kinflou merged 1 commit into
mainfrom
fuzz/targets

Conversation

@Kinflou

@Kinflou Kinflou commented Nov 9, 2026

Copy link
Copy Markdown
Member

Stage 3 of the ComlineProject/core#219 rollout, part 2: the fuzz target set, defined once. As agreed, this list belongs to the runtime, not the specification.

The eight targets were written out four times: the fuzz Cargo.toml's [[bin]]s (which cargo-fuzz needs anyway), fuzz.yml's matrix, the report's expect, and the README's targets table.

  • The [[bin]]s are the list, so no separate targets.toml is needed: it would only be one more copy of them. No target uses tags today; one can be added to the list if a target ever needs a different schedule.
  • .github/scripts/fuzz-targets.py reads them and prints them as JSON. It fails unless runtime/fuzz/README.md's targets table has a row for exactly those targets. I checked that dropping a row fails it, naming the target.
  • fuzz.yml: a new fuzz targets job runs the script. The matrix is fromJSON of its output, and the report's expect is the same list joined. Adding a target becomes one [[bin]] plus its README row.

The README itself is untouched.

The targets were written out four times: the fuzz Cargo.toml's [[bin]]s,
fuzz.yml's matrix, the report's expect, and the README's table. The [[bin]]s
are now the list: a fuzz targets job reads them
(.github/scripts/fuzz-targets.py) for the matrix and expect, and fails
unless the README's table has a row for exactly those targets.
@Kinflou
Kinflou merged commit 3b9cc9d into main Nov 9, 2026
40 checks passed
@Kinflou
Kinflou deleted the fuzz/targets branch November 9, 2026 15:37
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