Skip to content

[CI] enable the bugprone-unhandled-exception-at-new check - #4689

Merged
marcalff merged 5 commits into
open-telemetry:mainfrom
dbarker:enable_bugprone_unhandled_exception_at_new
Oct 12, 2026
Merged

marcalff merged 5 commits into
open-telemetry:mainfrom
dbarker:enable_bugprone_unhandled_exception_at_new

Conversation

@dbarker

@dbarker dbarker commented Oct 10, 2026 •

Copy link
Copy Markdown
Member

Contributes to #4682

clang-tidy is not reporting all cases where dynamic memory allocation may throw inside a noexcept method.

Changes

  • enable the bugprone-unhandled-exception-at-new clang-tidy check

For significant contributions please make sure you have completed the following items:

  • CHANGELOG.md updated for non-trivial changes
  • Unit tests have been added
  • Changes in public API reviewed

@codecov

codecov Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.77%. Comparing base (a3186da) to head (663be45).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #4689   +/-   ##
=======================================
  Coverage   86.77%   86.77%           
=======================================
  Files         525      525           
  Lines       20742    20742           
=======================================
  Hits        17997    17997           
  Misses       2745     2745           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dbarker
dbarker marked this pull request as ready for review October 10, 2026 21:03
@dbarker
dbarker requested a review from a team as a code owner October 10, 2026 21:03
Comment thread .github/workflows/clang-tidy.yaml Outdated
Comment thread .github/workflows/clang-tidy.yaml Outdated
Co-authored-by: Marc Alff <marc.alff@free.fr>

@marcalff marcalff left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@marcalff
marcalff merged commit cdb6125 into open-telemetry:main Oct 12, 2026
75 checks passed
@dbarker
dbarker deleted the enable_bugprone_unhandled_exception_at_new branch October 12, 2026 14:56
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