Skip to content

Expose filesystem limits in Python SDK - #214

Merged
jsturtevant merged 1 commit into
mainfrom
filesystem-limits-python
Sep 11, 2026
Merged

Expose filesystem limits in Python SDK#214
jsturtevant merged 1 commit into
mainfrom
filesystem-limits-python

Conversation

@jsturtevant

Copy link
Copy Markdown
Contributor

Expose the writable filesystem limit configuration through the Python SDK and its WASM/JavaScript backends, with Python coverage for the new configuration and validation behavior.

Stacked on #213.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The limits are consistently validated, forwarded, and covered across the Python SDK and both backends.

Pull request overview

Exposes writable filesystem quota controls through the stable Python API and both native backends.

Changes:

  • Adds configurable size/count limits and unlimited mode.
  • Forwards limits through sandbox environments and backend builders.
  • Adds validation and forwarding tests.
File summaries
File Description
src/sdk/python/wasm_backend/src/lib.rs Applies limits to Wasm sandboxes.
src/sdk/python/pyo3_common/src/lib.rs Parses and validates quota arguments.
src/sdk/python/hyperlight_js_backend/src/lib.rs Applies limits to JavaScript sandboxes.
src/sdk/python/core/tests/test_filesystem_limits.py Tests validation and forwarding.
src/sdk/python/core/hyperlight_sandbox/__init__.py Exposes the public Python configuration.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 0
  • Review effort level: Balanced

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

Base automatically changed from filesystem-limits-core to main September 11, 2026 19:00
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
@jsturtevant
jsturtevant force-pushed the filesystem-limits-python branch from 7b5b027 to 7c78068 Compare September 11, 2026 19:00
@jsturtevant
jsturtevant merged commit c2e058c into main Sep 11, 2026
29 checks passed
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