Determine whether `dassert` should be used

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Programmability 2025-09-01
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      From exception_architecture.md:

       

      The following types of assertions are deprecated:
      ...
      - `dassert`
        - Calls `invariant` but only in debug mode. Do not use! 

       

      `dassert` is still being added to the codebase (example 1, example 2). Is there ever a type of error we should ignore in prod but invariant in testing?

            Assignee:
            Alex Li
            Reporter:
            Alex Li
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: