Skip to content

Feature/v0.1/wasm instances config limits - #4

Merged
mavdol merged 8 commits into
mainfrom
feature/v0.1/wasm-instances-config-limits
Dec 10, 2025
Merged

mavdol merged 8 commits into
mainfrom
feature/v0.1/wasm-instances-config-limits

Conversation

@mavdol

@mavdol mavdol commented Dec 10, 2025

Copy link
Copy Markdown
Member

Limits: Basic Fuel metering for CPU protection.

This PR introduces improved resource-limiting mechanisms for Wasm execution, enabling fine-grained CPU control and more resilient runtime behavior.

  • Custom fuel limits for Wasm instances
    Previously, users could only choose preset levels (Low, Medium, High).
    This PR adds support for specifying an exact custom fuel value, offering precise CPU metering and better protection against abusive workloads.

  • Full timeout management
    Adds complete handling of execution timeouts within a Wasm instance, ensuring tasks cannot exceed their allocated runtime.

  • Retry policy management
    Introduces robust retry handling when a Wasm instance crashes.
    max_retries is now fully configurable and defaults to 0 (no retries).

  • Enhanced CI/CD pipeline
    The CI now runs:

    • clippy for linting
    • rustfmt for formatting
    • Unit test suites across Rust crates

@mavdol
mavdol merged commit d7fff10 into main Dec 10, 2025
4 checks passed
@mavdol
mavdol deleted the feature/v0.1/wasm-instances-config-limits branch December 10, 2025 13:40
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.

1 participant