Skip to content

OpenSearch dependencies block trim validation #178

Description

@HavenDV

autosdk trim src/OpenSearch/src/LangChain.Databases.OpenSearch.csproj still fails after the repository's own IL2091 warning was fixed in 2108a24. The remaining warnings originate in the referenced packages:

  • OpenSearch.Client 2.2.0: IL2104, assembly produced trim warnings.
  • OpenSearch.Net 2.2.0: IL2104, assembly produced trim warnings.

The OpenSearch project builds, and the integration test suite passes (26/26). The repository code now preserves the public parameterless constructor needed by Activator.CreateInstance<TRecord>().

Investigate the underlying linker diagnostics and a supported OpenSearch client version or an AOT-compatible transport. Keep the trim check failing until the package warnings are resolved; suppressing IL2104 would hide a real NativeAOT risk.

No activity

Activity on this issue will appear here.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions