Skip to content

Feature/csharp sdk#169

Open
239573049 wants to merge 7 commits intoalibaba:mainfrom
239573049:feature/csharp-sdk
Open

Feature/csharp sdk#169
239573049 wants to merge 7 commits intoalibaba:mainfrom
239573049:feature/csharp-sdk

Conversation

@239573049
Copy link

Summary

  • What is changing and why?

Testing

  • Not run (explain why)
  • Unit tests
  • Integration tests
  • e2e / manual verification

Breaking Changes

  • None
  • Yes (describe impact and migration path)

Checklist

  • Linked Issue or clearly described motivation
  • Added/updated docs (if needed)
  • Added/updated tests (if needed)
  • Security impact considered
  • Backward compatibility considered

239573049 and others added 5 commits February 4, 2026 10:03
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…ntrypoint chaining

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@CLAassistant
Copy link

CLAassistant commented Feb 4, 2026

CLA assistant check
All committers have signed the CLA.

@Pangjiping
Copy link
Collaborator

Please carefully review your modifications to the server and revert them. The server is capable of running on Windows.

@239573049
Copy link
Author

请仔细审查你对服务器的修改并恢复原状。服务器支持在Windows上运行。

image 我能确保的我在window11正常运行

@Pangjiping
Copy link
Collaborator

请仔细审查你对服务器的修改并恢复原状。服务器支持在Windows上运行。

image 我能确保的我在window11正常运行

In my opinion, you have broken the compatibility with Unix systems.

@239573049
Copy link
Author

server/src/services/docker.py

我恢复一下

@jwx0925
Copy link
Collaborator

jwx0925 commented Feb 4, 2026

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5980283d86

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +59 to +63
var pathList = paths.ToList();
var queryParams = new Dictionary<string, string?>
{
["path"] = string.Join(",", pathList)
};

Choose a reason for hiding this comment

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

P2 Badge Send one path param per file instead of comma-join

The execd filesystem API expects path to be passed multiple times (spec lists explode: true, and the Go handler uses QueryArray("path")), but this code concatenates paths into a single comma-separated value. That means multi-path requests become a single literal path like /a,/b, so GetFileInfoAsync (and the same pattern in delete methods) will fail to operate on the intended files. Emitting one path query parameter per entry fixes the mismatch.

Useful? React with 👍 / 👎.

Comment on lines +64 to +68
if (@params?.States != null && @params.States.Count > 0)
{
// The API supports multiple state query params
queryParams["state"] = string.Join(",", @params.States);
}

Choose a reason for hiding this comment

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

P2 Badge Use repeated state parameters for list filters

The lifecycle API documents state as a repeatable query parameter (see server/src/api/lifecycle.py description: “Pass multiple times for OR logic”), but this code joins the values with commas. FastAPI will parse state=Running,Paused as a single string instead of two states, so the filter will not match the intended set. This should send one state parameter per value.

Useful? React with 👍 / 👎.

@Pangjiping
Copy link
Collaborator

Thanks, great work! Could you please update the corresponding information in the PR description? Also, please make sure the examples pass successfully and provide necessary screenshots/execution results.

@ninan-nn please review this sdk's design.

@Pangjiping Pangjiping added the feature New feature or request label Feb 4, 2026
### NuGet

```bash
dotnet add package Alibaba.OpenSandbox
Copy link
Collaborator

Choose a reason for hiding this comment

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

How to deploy package Alibaba.OpenSandbox?

We need apply a NuGet account to deploy Alibaba.OpenSandbox.
@ninan-nn

Copy link
Collaborator

Choose a reason for hiding this comment

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

Working on it.

@239573049 239573049 requested a review from Pangjiping February 5, 2026 07:45
@jwx0925 jwx0925 added the sdk/c# label Feb 5, 2026
Copy link
Collaborator

@ninan-nn ninan-nn left a comment

Choose a reason for hiding this comment

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

Please ensure that all SDK capabilities have comprehensive end-to-end (E2E) test coverage. You can refer to the E2E implementations in the SDKs for other languages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request sdk/c#

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants