{"version":3,"file":"SweepPage-8nfN73UO.js","sources":["../../src/components/AgentTable.tsx","../../src/state/graphql/sweepPageQuery.ts","../../src/pages/SweepPage.styles.ts","../../src/pages/SweepPage.tsx"],"sourcesContent":["import {Icon} from '@wandb/weave/components/Icon';\nimport React from 'react';\nimport TimeAgo from 'react-timeago';\n// eslint-disable-next-line wandb/no-deprecated-imports\nimport {Table} from 'semantic-ui-react';\n\nimport {AgentData} from '../state/graphql/sweepPageQuery';\n\ntype AgentTableProps = {\n agents: AgentData[];\n};\n\nconst AgentTable = React.memo(({agents}: AgentTableProps) => {\n return (\n
\n To change your sweep configuration,{' '}\n \n download your configuration file\n {' '}\n and save it as sweep.yaml.\n
\n\n Modify it as you like then run the command below to upload\n the new configuration.\n
\n\n Check out our{' '}\n
\n You can also edit your configuration in the editor below:\n
\n >\n )}\n{sweep.config}\n )}\n
\n This will kill all runs in this sweep and stop running new runs.\n
\n\n \n Create a launch agent on queue:{' '}\n \n {launchScheduler.queue}\n {' '}\n to start your sweep. You can't reconfigure the sweep once it\n has started.\n \n
\n ) : state === 'RUNNING' ? (\n\n \n This sweep is running on launch queue:{' '}\n \n {launchScheduler.queue}\n {' '}\n \n
\n ) : null}\n >\n ) : (\n\n \n Create an agent to start your sweep. You can't reconfigure the\n sweep once it has started.\n \n
\n )}\n\n \n {state === 'PAUSED' && resumeMsg}\n {state === 'RUNNING' && launchScheduler\n ? pauseLaunchMsg\n : pauseMsg}\n \n
\n\n
\n {finishMsg}\n
\n\n
\n {cancelMsg}\n
\n\n