src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.ts/CodeCellRenderer/updateForInternalMetadata
class CodeCellRenderer:	private updateForInternalMetadata(element: CodeCellViewModel, templateData: CodeCellRenderTemplate): void {
		if (!this.notebookEditor.hasModel()) {
			return;
		}

		const internalMetadata = element.internalMetadata;
		this.updateExecutionOrder(internalMetadata, templateData);

		if (internalMetadata.runState === NotebookCellExecutionState.Executing) {
			templateData.progressBar.infinite().show(500);
		} else {
			templateData.progressBar.hide();
		}
	}