src/vs/workbench/contrib/notebook/browser/notebookExecutionServiceImpl.ts/NotebookExecutionService/resolveSourceActions
class NotebookExecutionService:	private async resolveSourceActions(notebook: INotebookTextModel) {
		let kernel: INotebookKernel | undefined;
		const info = this._notebookKernelService.getMatchingKernel(notebook);
		if (info.all.length === 0) {
			// no kernel at all
			const sourceActions = this._notebookKernelService.getSourceActions();
			if (sourceActions.length === 1) {
				await sourceActions[0].runAction();
				kernel = this._notebookKernelService.getSelectedOrSuggestedKernel(notebook);
			}
		}

		return kernel;
	}