Fix fuzz job in ci.yml: treat context deadline as expected success#12526
Merged
Conversation
Wrap each go test -fuzz command to handle context deadline gracefully. When a fuzz test exits with status 1 due to "context deadline exceeded", treat it as expected success to allow all fuzz targets to run sequentially. This prevents the first fuzz target timeout from stopping the entire job. Fixes #32553 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix fuzz job termination due to context deadline
Fix fuzz job: treat context deadline as expected success
Jan 29, 2026
- Revert fuzz job fix from agent-ci.yml (restore to original) - Apply the same fuzz job fix to ci.yml instead - Update ci-coach.md to reference ci.yml instead of agent-ci.yml - Recompile ci-coach.lock.yml with updated references The fuzz job wrapper function now exists in ci.yml (the active CI workflow) rather than agent-ci.yml, and ci-coach is configured to optimize ci.yml. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
Done! Changes applied: ✅ Reverted agent-ci.yml to original state (removed fuzz fix) Commit: 1e9b07f |
Copilot
AI
changed the title
Fix fuzz job: treat context deadline as expected success
Fix fuzz job in ci.yml: treat context deadline as expected success
Jan 29, 2026
pelikhan
marked this pull request as ready for review
January 29, 2026 13:45
Collaborator
|
@copilot delete agent-ci.yml |
The fuzz job fix has been applied to ci.yml (the active CI workflow). The agent-ci.yml file is no longer needed and has been removed. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Go 1.25+ exits with status 1 when fuzz tests hit their
-fuzztimelimit, causing the CI job to fail after the first target and skip the remaining 12 tests.Changes
ci.yml - Fixed the fuzz job by wrapping each
go test -fuzzinvocation in a bash function that:ci-coach.md - Updated all references from
agent-ci.ymltoci.ymlso the CI optimization workflow targets the correct file (3 references updated, workflow recompiled).agent-ci.yml - Deleted obsolete workflow file (the fuzz fix is now in ci.yml, the active CI workflow).
All 13 fuzz targets now run sequentially in ci.yml. Real errors still fail the job.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.