Skip to content

[v2] Report coverage on pull requests and fuzz in CI - #277

Merged
ajvb merged 2 commits into
v2-devfrom
cl-10-coverage-and-fuzz
Nov 22, 2026
Merged

ajvb merged 2 commits into
v2-devfrom
cl-10-coverage-and-fuzz

Conversation

@ajvb

@ajvb ajvb commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner
  • Adds fuzz targets for the ISO 8601 duration parser and for decoding a new job from a request body.
  • Pull requests publish test coverage per package on the run's summary page. It only reports: no threshold, and ci-ok does not wait for it.
  • Pull requests run every fuzz target for 30 seconds in a new fuzz (short) job, which ci-ok waits for. .github/scripts/fuzz.sh finds the targets itself.
  • CI logs are public, so a fuzz failure never shows its input: nothing is uploaded, failure messages name only what failed, and the new internal/fuzzreport package drops panic values and silences logs during fuzzing.
  • The existing schedule fuzz target uses the same reporting, and its Go 1.18 build constraint is removed.

Add fuzz targets for the ISO 8601 parser and API job decoding. Pull
requests publish unit test coverage per package and fuzz every target
for 30 seconds. Fuzz failures never print or upload the input, since
the CI logs are public.
@ajvb
ajvb force-pushed the cl-10-coverage-and-fuzz branch from 23d694e to 3435ba6 Compare November 22, 2026 23:36
Overlapping runs wrote the job's header map at once, crashing the
process. Each request now gets its own copy, and runs never change the
job. Remote job tests run under the race detector; the client test
waits for its server.
@ajvb
ajvb force-pushed the cl-10-coverage-and-fuzz branch from 47f1b34 to b9fdef0 Compare November 22, 2026 23:46
@ajvb
ajvb merged commit f974fc9 into v2-dev Nov 22, 2026
15 checks passed
@ajvb
ajvb deleted the cl-10-coverage-and-fuzz branch November 22, 2026 23:57
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