Skip to content

update agent-sandbox to v0.1.1#200

Open
YaoZengzeng wants to merge 2 commits intovolcano-sh:mainfrom
YaoZengzeng:update-sandbox
Open

update agent-sandbox to v0.1.1#200
YaoZengzeng wants to merge 2 commits intovolcano-sh:mainfrom
YaoZengzeng:update-sandbox

Conversation

@YaoZengzeng
Copy link
Member

What type of PR is this?

/kind enhancement

What this PR does / why we need it:

Which issue(s) this PR fixes:
Fixes #128

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


Signed-off-by: YaoZengzeng <yaozengzeng@huawei.com>
@volcano-sh-bot volcano-sh-bot added the kind/enhancement New feature or request label Feb 5, 2026
@volcano-sh-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign hzxuzhonghu for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @YaoZengzeng, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on upgrading the agent-sandbox component to its latest v0.1.1 release. This update ensures that both the user-facing documentation for installation and removal, as well as the internal end-to-end testing environment, are aligned with the most current version of the agent-sandbox manifests and configurations. The change aims to maintain consistency and leverage any improvements or fixes introduced in the new agent-sandbox release.

Highlights

  • Dependency Update: The agent-sandbox dependency has been updated from version v0.1.0 to v0.1.1 across the project.
  • Documentation Changes: The docs/getting-started.md file has been updated to reflect the new v0.1.1 version in the installation and uninstallation commands for agent-sandbox.
  • E2E Test Configuration: The test/e2e/run_e2e.sh script now uses v0.1.1 as the default AGENT_SANDBOX_VERSION for end-to-end tests.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • docs/getting-started.md
    • Updated kubectl apply commands to reference v0.1.1 of agent-sandbox manifests.
    • Updated kubectl delete commands to reference v0.1.1 of agent-sandbox manifests.
  • test/e2e/run_e2e.sh
    • Changed the default AGENT_SANDBOX_VERSION environment variable from v0.1.0 to v0.1.1.
Activity
  • No human activity (comments, reviews, or progress updates) has been recorded for this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the agent-sandbox dependency from v0.1.0 to v0.1.1, with the changes correctly applied in getting-started.md and run_e2e.sh. No security vulnerabilities were found in the provided code changes. For improved maintainability, I suggest using a shell variable for the version number in the documentation's example commands to simplify future updates.

@codecov-commenter
Copy link

codecov-commenter commented Feb 5, 2026

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 35.77%. Comparing base (845b798) to head (a580d14).
⚠️ Report is 44 commits behind head on main.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #200      +/-   ##
==========================================
+ Coverage   35.60%   35.77%   +0.16%     
==========================================
  Files          29       29              
  Lines        2533     2549      +16     
==========================================
+ Hits          902      912      +10     
- Misses       1505     1511       +6     
  Partials      126      126              
Flag Coverage Δ
unittests 35.77% <ø> (+0.16%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: YaoZengzeng <yaozengzeng@huawei.com>
@YaoZengzeng
Copy link
Member Author

@hzxuzhonghu ptal

@acsoto
Copy link
Contributor

acsoto commented Feb 5, 2026

One more place to consider: go.mod still pins sigs.k8s.io/agent-sandbox v0.1.0 (and go.sum matches).

@YaoZengzeng
Copy link
Member Author

One more place to consider: go.mod still pins sigs.k8s.io/agent-sandbox v0.1.0 (and go.sum matches).

Yes, I notice this one as well. But seems not influence all the functions according to the test result. So decide to update in the future if necessary.

@acsoto
Copy link
Contributor

acsoto commented Feb 5, 2026

FYI there is a typo in agent-sandbox v0.1.0 ("SanboxPodNameAnnotation"). It is fixed upstream in v0.1.1. I opened a quick follow-up to bump the dependency and update our usages: #201. Please take a look when you have a chance.

@YaoZengzeng
Copy link
Member Author

ping @hzxuzhonghu

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

Labels

kind/enhancement New feature or request size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Concurrent Sandbox creation times out when Warmpool is exhausted; Sandbox status stuck in Pending while Pod is Ready

4 participants