hunk.code_window:             dataTree = dataTreeResponse.evalTree;
               jsUpdates = dataTreeResponse.jsUpdates;
               // We need to clean it to remove any possible functions inside the tree.
               // If functions exist, it will crash the web worker
               dataTree = dataTree && JSON.parse(JSON.stringify(dataTree));
             } else {
               dataTree = {};
               if (shouldReplay) {
                 replayMap[CANVAS]?.update(widgets);
               }
  
hunk.labels: keep keep keep keep add keep keep keep keep keep
hunk.after_edit:           } else if (dataTreeEvaluator.hasCyclicalDependency) {
               if (shouldReplay) {
                 replayMap[CANVAS]?.update(widgets);
               }
               dataTreeEvaluator = new DataTreeEvaluator(widgetTypeConfigMap);
               const dataTreeResponse = dataTreeEvaluator.createFirstTree(
                 unevalTree,
               );
               evaluationOrder = dataTreeEvaluator.sortedDependencies;
               dataTree = dataTreeResponse.evalTree;
               jsUpdates = dataTreeResponse.jsUpdates;
               dataTree = dataTree && JSON.parse(JSON.stringify(dataTree));
  
hunk.file_path: app/client/src/workers/evaluation.worker.ts
hunk.type: add
file: set -o errexit
  set -o pipefail
  set -o xtrace
  
  {
  
  wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | apt-key add -
  echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" \
  	| tee /etc/apt/sources.list.d/mongodb-org-4.4.list
  
  add-apt-repository --yes ppa:redislabs/redis
  
  apt-get update --yes
  
  time apt-get install --yes maven mongodb-org-{server,shell} redis
  
  mkdir -p "$CODEBUILD_SRC_DIR/logs"
  
  # Start a MongoDB server.
  mkdir -p /data/db
  nohup mongod > "$CODEBUILD_SRC_DIR/logs/mongod.log" 2>&1 & disown $!
  
  # Start a Redis server.
  nohup redis-server > "$CODEBUILD_SRC_DIR/logs/redis.log" 2>&1 & disown $!
  
  } 2>&1 | tee -a "ci/logs/$CODEBUILD_BATCH_BUILD_IDENTIFIER.log"
  