Skip to content

[SDK] Provider initialization failures still terminate inside context constructors #4695

Closed

Description

@lalitb

#4469 removed noexcept from provider constructors so callers can handle initialization failures. However, the underlying context constructors remain noexcept while copying Resources and allocating internal storage. Allocation failures in these operations still terminate the process instead of reaching the caller’s catch block.

This behavior predates #4469, but leaves initialization-failure handling incomplete. Please address the inner exception barriers and add runtime tests confirming that initialization failures reach the caller safely.

cc @22elix3r

Activity

  1. added
    needs-triage
    on Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triage

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions