Repository navigation
Omit DWARF from race-instrumented test archives - #65551
Merged
Jake Bailey (jakebailey) merged 1 commit intoNov 17, 2026
Merged
Conversation
The race-instrumented archives of all packages fill the disk of the race mode CI job, as the coverage-instrumented ones did, so that job fails to build its last packages once enough code is added. Omit their DWARF as for coverage; race reports read the symbol table.
Ryan Cavanaugh (RyanCavanaugh)
approved these changes
Nov 17, 2026
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the change extending DWARF suppression to non-debug race test builds.
No open issues 🎉
What changed in this PR
Extends the existing coverage-build disk savings to race-instrumented Go test archives, helping prevent CI disk exhaustion.
Changes:
- Disables DWARF generation for race builds as well as coverage builds, while preserving it in debug mode.
- Updates the comment to explain that both modes can exhaust CI disk space.
| File | Description |
|---|---|
| Herebyfile.mjs | Applies -gcflags=all=-dwarf=false to non-debug race test builds. |
Review effort: Balanced
Jake Bailey (jakebailey)
enabled auto-merge
November 17, 2026 18:54
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.
The race-instrumented archives of all packages fill the disk of the race mode CI job, as the coverage-instrumented ones did, so that job fails to build its last packages once enough code is added. Omit their DWARF as for coverage; race reports read the symbol table.