Skip to content

feat(id): define per-world resource profiles - #226

Closed
dezren39 wants to merge 1 commit into
platform-world-provenancefrom
platform-world-resource-profile
Closed

dezren39 wants to merge 1 commit into
platform-world-provenancefrom
platform-world-resource-profile

Conversation

@dezren39

Copy link
Copy Markdown
Member

Summary

  • Add an optional per-world resource request for Wasm fuel/memory/message size and native memory/CPU/deadline.
  • Resolve requests only beneath the server's hard limits: omitted values inherit and oversized requests clamp; module-size ceilings, import policy, and native enablement remain separate.
  • Keep runtime profiles separate from capabilities. This first slice does not persist profiles or mutate already-running instances.

Validation

  • Focused runtime-limit tests passed (8 tests), including inheritance, clamping, lower values, invalid limits, and serde defaults.
  • cargo check --manifest-path pkgs/id/Cargo.toml --no-default-features --features world passed.
  • Changed Rust file passes rustfmt; git diff --check passed.

Stacked on PR #225 (platform-world-provenance).

@dezren39
dezren39 requested a review from a team as a code owner October 16, 2026 09:11
@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b985b888-f21a-41bf-92a3-256299e4ae57

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@dezren39
dezren39 force-pushed the platform-world-resource-profile branch from d611fb4 to 36a0c8c Compare October 16, 2026 09:11
@dezren39
dezren39 force-pushed the platform-world-provenance branch from 5889047 to fd66aa0 Compare October 16, 2026 10:45
@dezren39

Copy link
Copy Markdown
Member Author

Merged into main through #234 (merge commit 228019a). Every commit of this branch is in main by patch; this branch was the lower layer of that stack. Closing as merged. The branch is left in place.

@dezren39 dezren39 closed this Oct 18, 2026
@dezren39
dezren39 deleted the platform-world-resource-profile branch October 27, 2026 16:02
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