Skip to content

Remove gsl/span dependency from C++ API. - #992

Closed
Scott McKay (skottmckay) wants to merge 1 commit into
mainfrom
skottmckay/RemoveGslSpanDependency
Closed

Remove gsl/span dependency from C++ API.#992
Scott McKay (skottmckay) wants to merge 1 commit into
mainfrom
skottmckay/RemoveGslSpanDependency

Conversation

@skottmckay

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI balanced review requested due to automatic review settings August 12, 2026 09:43
@vercel

vercel Bot commented Aug 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
foundry-local Ready Ready Preview Aug 12, 2026 9:43am

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Removes the Microsoft GSL dependency from the public C++ wrapper while preserving model-list behavior.

Changes:

  • Replaces gsl::span with non-owning std::vector<IModel*>.
  • Updates JavaScript native bindings and C++ tests.
  • Removes GSL build dependencies and updates design documentation.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
sdk_v2/js/native/src/model.cc Adapts model wrapping to raw pointers.
sdk_v2/js/native/src/catalog.cc Adapts catalog model wrapping.
sdk_v2/cpp/vcpkg.json Removes ms-gsl.
sdk_v2/cpp/test/sdk_api/catalog_test.cc Updates tests for the new collection type.
sdk_v2/cpp/include/foundry_local/foundry_local_cpp.inline.h Implements the pointer-vector projection.
sdk_v2/cpp/include/foundry_local/foundry_local_cpp.h Removes GSL and updates the public API.
sdk_v2/cpp/docs/WrapperInterfacesDesign.md Documents non-owning standard-library collections.
sdk_v2/cpp/CMakeLists.txt Removes GSL package and linkage requirements.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@skottmckay

Copy link
Copy Markdown
Collaborator Author

going with #992 for consistency

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.

2 participants