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
fix: run all stale button (#1657)
Akshay Agrawald38db83c9481
diff --git a/frontend/src/core/cells/cells.ts b/frontend/src/core/cells/cells.tsindex f53b7722dc..382d61d233 100644--- a/frontend/src/core/cells/cells.ts+++ b/frontend/src/core/cells/cells.ts@@ -895,7 +895,10 @@ export function staleCellIds(state: NotebookState) {(cellId) =>isUninstantiated(autoInstantiate,- cellData[cellId].lastExecutionTime,+ // runElapstedTimeMs is what we've seen in this session+ cellRuntime[cellId].runElapsedTimeMs ??+ // lastExecutionTime is what was seen on session start/resume+ cellData[cellId].lastExecutionTime,cellRuntime[cellId].status,cellRuntime[cellId].errored,cellRuntime[cellId].interrupted,diff --git a/frontend/src/core/cells/types.ts b/frontend/src/core/cells/types.tsindex 30a0125f01..ff2f8f2d01 100644--- a/frontend/src/core/cells/types.ts+++ b/frontend/src/core/cells/types.ts@@ -67,7 +67,7 @@ export interface CellData {edited: boolean;/** snapshot of code that was last run */lastCodeRun: string | null;- /** last execution time */+ /** execution time on session start / resume */lastExecutionTime: number | null;/** cell configuration */config: CellConfig;