Skip to content

fix: add integration build verification to catch fuzz build failures on PRs#47398

Draft
pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/cgo-fix-workflow-failure-again
Draft

fix: add integration build verification to catch fuzz build failures on PRs#47398
pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/cgo-fix-workflow-failure-again

Conversation

Copilot AI commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Fuzz run #18583 on main failed because FuzzSanitizeOutput (which builds with -tags=integration) couldn't compile due to an unused assert import in forbidden_fields_import_test.go. The root-cause import removal landed in 94beb4a677; this PR adds a guard so the same class of failure is caught before reaching main.

Changes

  • test job — adds go test -run='^$' -tags=integration ./... after dependency verification. Compiles all integration-tagged test files on every push/PR without running any tests, exposing build errors (unused imports, missing symbols) that the regular -tags '!integration' step silently skips.

  • fuzz job — adds the same step as a pre-flight check before the fuzz matrix runs. Ensures integration-tagged files compile cleanly so a build failure surfaces with a clear error rather than a misleading fuzz-test failure.

The underlying issue: regular CI excludes integration files; the fuzz job was the only thing that compiled them, and it ran only on main.

…ilures

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix workflow failure in fuzz job on main fix: add integration build verification to catch fuzz build failures on PRs Jul 22, 2026
Copilot AI requested a review from pelikhan July 22, 2026 21:03
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.

[CGO][FUZZ] Workflow failure on main - Run #18583

2 participants