Skip to content

Upload crash artifacts from go test -fuzz when failed - #13503

Merged
samuelkarp merged 1 commit into
containerd:mainfrom
lauralorenz:fuzz-upload-failures
Jun 9, 2026
Merged

samuelkarp merged 1 commit into
containerd:mainfrom
lauralorenz:fuzz-upload-failures

Conversation

@lauralorenz

Copy link
Copy Markdown
Contributor

Update the Fuzzing workflow to upload crash artifacts found during the go_test_fuzz job when it fails.

Uses same actions/upload-artifact version as elsewhere in the workflows.

I am not sure if this was avoided in the past for any specific reason (file size? -- and fwiw as far as I can tell file retention can only be handled with one flat value at the org level) but if this is a concern we can get some more complicated if statements in here.

Update the Fuzzing workflow to upload crash artifacts found during the
go_test_fuzz job. Currently, when `go test -fuzz` fails, the crash
reproducers are generated but not preserved, making it difficult to
diagnose and fix the issues discovered in CI.

This change adds an upload-artifact step that captures all files in
testdata/fuzz directories across the repository upon failure.

Assisted-by: gemini-cli
Signed-off-by: Samuel Karp <[email protected]>
Signed-off-by: lauralorenz <[email protected]>
Copilot AI review requested due to automatic review settings May 30, 2026 00:15
@github-project-automation github-project-automation Bot moved this to Needs Triage in Pull Request Review May 30, 2026
@samuelkarp samuelkarp moved this from Needs Triage to Needs Reviewers in Pull Request Review Jun 1, 2026
@github-project-automation github-project-automation Bot moved this from Needs Reviewers to Review In Progress in Pull Request Review Jun 9, 2026
@samuelkarp
samuelkarp added this pull request to the merge queue Jun 9, 2026
Merged via the queue into containerd:main with commit a769b7a Jun 9, 2026
50 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants