Skip to content

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.

fix: home page lazy loading (#7689)

Myles Scolnick4c66a0e7a17e
diff --git a/frontend/src/core/network/requests-lazy.ts b/frontend/src/core/network/requests-lazy.ts
index 5821b23a30..e17ee19813 100644
--- a/frontend/src/core/network/requests-lazy.ts
+++ b/frontend/src/core/network/requests-lazy.ts
@@ -10,7 +10,21 @@ import type { EditRequests, RunRequests } from "./types";
type AllRequests = EditRequests & RunRequests;
const SKIP_REQUESTS = new Set<keyof AllRequests>([
+ // These are requests that don't require an active session.
"sendRestart",
+ "getDependencyTree",
+ "getPackageList",
+ // Homepage requests - called before session exists
+ "getRecentFiles",
+ "getWorkspaceFiles",
+ "getRunningNotebooks",
+ "shutdownSession",
+ "openTutorial",
+ // Local operations that don't need runtime
+ "sendFormat",
+ // Config operations that work without current session
+ "saveUserConfig",
+ // This does need an active session, but we don't want to wait for it.
"sendCodeCompletionRequest",
]);