Skip to content

ci: disable debug info on windows test builds to eliminate LNK1201 PDB flake#54

Merged
smorin merged 1 commit into
mainfrom
ci/windows-pdb-flake
Jul 17, 2026
Merged

ci: disable debug info on windows test builds to eliminate LNK1201 PDB flake#54
smorin merged 1 commit into
mainfrom
ci/windows-pdb-flake

Conversation

@smorin

@smorin smorin commented Jul 17, 2026

Copy link
Copy Markdown
Owner

LNK1201 is an intermittent MSVC linker failure writing PDB debug-symbol files on shared runners (file locks/AV/stale cache) — a pure infrastructure flake: the same commit failed twice and passed on rerun with no changes. CI test runs never consume PDBs, so this sets debuginfo=0 on the Windows leg only (via CARGO_PROFILE_DEV_DEBUG/CARGO_PROFILE_TEST_DEBUG matrix expressions): the PDB is never written, making LNK1201 impossible rather than less likely. Bonus: faster Windows builds, smaller cache. Linux/macOS legs unchanged (full debug info retained). ci: type — no release triggered.

https://claude.ai/code/session_014DjTALJi3LJhYmrdpw6Rej

Review in cubic

…B flake

LNK1201 (error writing to program database) is an intermittent MSVC
linker failure writing PDB debug-symbol files on shared runners; it hit
the Test (windows-latest) job repeatedly (e.g. twice on one commit, then
passed on rerun). CI never consumes those PDBs, so set debuginfo=0 for
the windows leg via CARGO_PROFILE_{DEV,TEST}_DEBUG — the file is never
written and the failure mode is eliminated. Other OS legs keep defaults.

Claude-Session: https://claude.ai/code/session_014DjTALJi3LJhYmrdpw6Rej
Copilot AI review requested due to automatic review settings July 17, 2026 05:19
@cursor

cursor Bot commented Jul 17, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@smorin, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 13 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 7319cae8-0fcc-45e6-9cf9-7d50c9b2e3c0

📥 Commits

Reviewing files that changed from the base of the PR and between 3d48ef9 and 4db1759.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the CI workflow to mitigate intermittent Windows/MSVC linker flakiness (LNK1201) by preventing PDB generation during Windows test builds, while intending to keep Linux/macOS behavior unchanged.

Changes:

  • Add job-level Cargo profile debug env overrides to disable debuginfo on the Windows test matrix leg.
  • Document rationale (LNK1201 PDB write flake) inline in the workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yml
Comment on lines +68 to +69
CARGO_PROFILE_DEV_DEBUG: ${{ matrix.os == 'windows-latest' && '0' || 'true' }}
CARGO_PROFILE_TEST_DEBUG: ${{ matrix.os == 'windows-latest' && '0' || 'true' }}

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 1 file

Re-trigger cubic

@smorin
smorin merged commit 3bc7daf into main Jul 17, 2026
23 checks passed
@smorin
smorin deleted the ci/windows-pdb-flake branch July 17, 2026 05:30
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.

2 participants