src/vs/workbench/api/common/extHostNotebookDocument.ts/ExtHostNotebookDocument/_changeCellInternalMetadata
class ExtHostNotebookDocument:	private _changeCellInternalMetadata(index: number, newInternalMetadata: notebookCommon.NotebookCellInternalMetadata): void {
		const cell = this._cells[index];

		const originalInternalMetadata = cell.internalMetadata;
		cell.setInternalMetadata(newInternalMetadata);

		if (originalInternalMetadata.runState !== newInternalMetadata.runState) {
			const executionState = newInternalMetadata.runState ?? extHostTypes.NotebookCellExecutionState.Idle;
			this._emitter.emitCellExecutionStateChange(deepFreeze({ document: this.apiNotebook, cell: cell.apiCell, state: executionState }));
		}
	}