Module boot isolation
Modules boot after the runtime builds SdkContext. The loader isolates failures so a broken module does not take down the rest of wp-admin.
Safe mode controls
The runtime exposes top-level WP-CLI commands to inspect and control safe mode state.
wp meteorack status
wp meteorack safe-mode status
wp meteorack safe-mode enable
wp meteorack safe-mode disableReact-side isolation
Wrap risky widgets in ErrorBoundary so a broken section falls back locally instead of crashing the entire page.
import { ErrorBoundary, Card } from '@meteorack/modules-sdk-ui';
function RiskyWidget() {
throw new Error('Malformed payload');
}
export function SafeWidget() {
return (
<ErrorBoundary fallback={<Card>Widget failed to render.</Card>}>
<RiskyWidget />
</ErrorBoundary>
);
}