WEFT_OS/crates
Marco Allegretti cbc984eef6
fix(runtime): limit a component's memory in total and end IPC on failed sends
The memory limit applied to each linear memory separately, so a
component made of several core modules could multiply it. A limiter now
accounts all memories together, and bounds table elements, memories,
tables and core instances.

IPC fixes:
- A failed or timed-out send (10 seconds) ends the connection, since
  part of the line may already have been written.
- A line over the limit ends the connection, also when its newline
  arrives in the same read.
- A line that is not UTF-8 is dropped and logged.

TasksMax is raised to 512, since the runtime runs a few threads per CPU.

Counter and Notes still run under the limits (check_counter.py and
check_notes.py), and check_grants.py passes.
2026-10-09 18:39:05 +00:00
..
weft-app-shell Merge remote-tracking branch 'origin/fix/confine-app-renderer' into fix/resolve-verified-package 2026-10-09 10:29:32 +00:00
weft-appd fix(runtime): limit a component's memory in total and end IPC on failed sends 2026-10-09 18:39:05 +00:00
weft-build-meta Initialize Rust workspace and repository metadata 2026-03-10 18:47:06 +01:00
weft-compositor fix(compositor): collapse nested submit condition in winit backend 2026-10-09 08:09:41 +00:00
weft-file-portal fix(runtime): enforce effective capability grants per session 2026-10-09 08:08:58 +00:00
weft-ipc-types test(appd): launch complete packages in the supervisor tests 2026-10-09 10:18:36 +00:00
weft-mount-helper fix(appd): resolve each launch to one package and fail closed on images 2026-10-09 10:03:40 +00:00
weft-pack test(appd): launch complete packages in the supervisor tests 2026-10-09 10:18:36 +00:00
weft-runtime fix(runtime): limit a component's memory in total and end IPC on failed sends 2026-10-09 18:39:05 +00:00
weft-servo-shell build(servo): trace pending classic scripts instead of rooting them 2026-10-09 10:29:24 +00:00