A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
chore: Prevent noisy health calls in wasm situations (#5510)
Dylan Madisetti7ae4a637f23a
diff --git a/frontend/src/core/runtime/runtime.ts b/frontend/src/core/runtime/runtime.tsindex 2cc4a3d311..4e9063e54a 100644--- a/frontend/src/core/runtime/runtime.ts+++ b/frontend/src/core/runtime/runtime.ts@@ -3,7 +3,9 @@import { Deferred } from "@/utils/Deferred";import { Logger } from "@/utils/Logger";import { KnownQueryParams } from "../constants";+import { isIslands } from "../islands/utils";import { getSessionId, type SessionId } from "../kernel/session";+import { isWasm } from "../wasm/utils";import type { RuntimeConfig } from "./types";export class RuntimeManager {@@ -155,6 +157,11 @@ export class RuntimeManager {}async isHealthy(): Promise<boolean> {+ // Always healthy if WASM+ if (isWasm() || isIslands()) {+ return true;+ }+try {const response = await fetch(this.healthURL().toString());// If there is a redirect, update the URL in the config