Setup Github action to link noexcept usage with the documentation

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible
    • Programmability 2025-01-06, Programmability 2025-02-03, Programmability 2025-02-17, Programmability 2025-03-03, Programmability 2025-03-17, Programmability 2025-03-31
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      noexcept is a C++ feature that's easy to misuse and can lead to bugs. We are planning to write documentation for noexcept in SERVER-70148 : we should also ensure this documentation is difficult to miss. Ideally, we would have a Github action that looks for additional noexcept usages in the codebase. If it detects a noexcept usage, it should add a comment to ask the author and reviewer to eensure noexcept usage is correct (and link the doc).

              Assignee:
              Ryan Berryhill
              Reporter:
              Didier Nadeau
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: