Skip to content

Use line-only debug info for SDK coverage builds - #59545

Open
pnv1 wants to merge 1 commit into
ydb-platform:mainfrom
pnv1:fix-sdk-coverage-link-overflow
Open

pnv1 wants to merge 1 commit into
ydb-platform:mainfrom
pnv1:fix-sdk-coverage-link-overflow

Conversation

@pnv1

@pnv1 pnv1 commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Changelog entry

Description for reviewers

The SDK coverage build can fail to link topic/ut when full DWARF debug information pushes a 32-bit offset past 4 GiB. Use -DDEBUGINFO_LINES_ONLY for SDK coverage to reduce debug data while keeping file and line numbers in stack traces. Coverage instrumentation and the CLI and workload builds are unchanged.

Examples of the linker failure: PR #57906 and PR #59337.

@pnv1
pnv1 requested a review from a team as a code owner November 16, 2026 15:34
Copilot AI balanced review requested due to automatic review settings November 16, 2026 15:34
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

⚪ 2026-11-16 15:36:50 UTC Pre-commit check linux-x86_64-relwithdebinfo for 913e2fc has started.
⚪ 2026-11-16 15:37:28 UTC Artifacts will be uploaded here
⚪ 2026-11-16 15:39:09 UTC ya make is running...
🟢 2026-11-16 15:39:19 UTC Tests successful.

Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
0 0 0 0 0 0

🟢 2026-11-16 15:39:23 UTC Build successful.

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 are reported for the C++ SDK coverage debug-information change.

No open issues 🎉

What changed in this PR

Updates the Clang coverage action to use line-only debug information for C++ SDK builds, addressing potential 32-bit DWARF offset overflows in large test binaries.

Changes:

  • Adds -DDEBUGINFO_LINES_ONLY when SUITE is cpp_sdk.
  • Leaves debug-information settings unchanged for other suites.
File Description
.github/​actions/​run_clang_codecov/​action.yaml Enables line-only debug information specifically for C++ SDK coverage builds.

Review effort: Balanced

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pnv1
pnv1 enabled auto-merge (squash) November 16, 2026 15:42
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.

3 participants