INNER CODE UNIT · JavaScript

alerts

microsoft/pai · src/alert-manager/src/job-status-change-notification/index.js:82

    const alerts = infos.map((info) =>
      getJobStatusChangeAlert(
        framework.jobName,
        framework.userName,
        info.stateToNotify,
        framework.retries
      )
    );
    await sendAlerts(alerts);

    // update Framework table for one job
    const updateInfos = {};
    infos.forEach((info) => {
      updateInfos[info.fieldToUpdate] = info.valToUpdate;
    });
    await updateFrameworkTable(framework, updateInfos);
  } catch (error) {
    logger.error(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…