We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 715f8e6 commit a3c55bbCopy full SHA for a3c55bb
packages/evals/src/cli/runEvals.ts
@@ -42,12 +42,12 @@ export const runEvals = async (runId: number) => {
42
await queue.addAll(
43
tasks
44
.filter((task) => task.finishedAt === null)
45
- .map((task) => () => {
+ .map((task) => async () => {
46
try {
47
if (containerized) {
48
- processTaskInContainer({ taskId: task.id, logger })
+ await processTaskInContainer({ taskId: task.id, logger })
49
} else {
50
- processTask({ taskId: task.id, logger })
+ await processTask({ taskId: task.id, logger })
51
}
52
} catch (error) {
53
logger.error("error processing task", error)
0 commit comments