feat(m0.6-r2): isolated plugin worker transport
- add a hidden __plugin-worker mode that loads one native library in a child process and serves length-prefixed JSON invoke frames - add host WorkerPlugin with ready handshake, export cross-check, per-call timeout and crash/EOF propagation - route kind: worker without in-process trust; native still requires explicit trust; wasm is rejected explicitly - report worker_processes=true while keeping strict OS isolation unavailable - test successful worker calls and worker crash isolation - update plugin ABI spec and R2 status
This commit is contained in:
1 parent
4ce37afb39
commit
44c2df2361
12 files changed
+661
-47
No files matched your search
@@ -198,6 +198,11 @@ static int32_t solver_add(MqCallContext *ctx, MqBytes args_wire,
|
||||
}
|
||||
free(json);
|
||||
|
||||
#ifdef MQ_SOLVER_CRASH
|
||||
/* Test-only crash injection for isolated-worker crash tests. */
|
||||
abort();
|
||||
#endif
|
||||
|
||||
if (__builtin_add_overflow(a, b, &sum)) {
|
||||
return emit_error("integer_overflow", "solver.add overflowed i64",
|
||||
error_wire, MQ_ERR_INTERNAL);
|
||||
|
||||
Reference in new issue
Block a user