Skip to content

Omit DWARF from race-instrumented test archives - #65551

Merged
Jake Bailey (jakebailey) merged 1 commit into
microsoft:mainfrom
jakebailey:omit-dwarf-race-tests
Nov 17, 2026
Merged

Jake Bailey (jakebailey) merged 1 commit into
microsoft:mainfrom
jakebailey:omit-dwarf-race-tests

Conversation

@jakebailey

Copy link
Copy Markdown
Member

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.

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.
Copilot AI balanced review requested due to automatic review settings November 17, 2026 18:51
@github-project-automation github-project-automation Bot moved this to Not started in PR Backlog Nov 17, 2026
@typescript-automation typescript-automation Bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Nov 17, 2026
@github-project-automation github-project-automation Bot moved this from Not started to Needs merge in PR Backlog Nov 17, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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

@jakebailey
Jake Bailey (jakebailey) added this pull request to the merge queue Nov 17, 2026
Merged via the queue into microsoft:main with commit 64a4530 Nov 17, 2026
34 checks passed
@jakebailey
Jake Bailey (jakebailey) deleted the omit-dwarf-race-tests branch November 17, 2026 19:36
@github-project-automation github-project-automation Bot moved this from Needs merge to Done in PR Backlog Nov 17, 2026
@jakebailey Jake Bailey (jakebailey) added Domain: Performance Performance related and removed Domain: Performance Performance related labels Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants