@@ -2,7 +2,6 @@ import { clickhouseTest } from "@internal/testcontainers";
22import { z } from "zod" ;
33import { ClickhouseClient } from "./client/client.js" ;
44import { getTaskRunsQueryBuilder , insertRawTaskRunPayloads , insertTaskRuns } from "./taskRuns.js" ;
5- import { readFile } from "node:fs/promises" ;
65
76describe ( "Task Runs V2" , ( ) => {
87 clickhouseTest ( "should be able to insert task runs" , async ( { clickhouseContainer } ) => {
@@ -62,6 +61,8 @@ describe("Task Runs V2", () => {
6261 root_run_id : "root_run_1234" ,
6362 parent_run_id : "parent_run_1234" ,
6463 depth : 1 ,
64+ concurrency_key : "concurrency_key_1234" ,
65+ bulk_action_group_ids : [ "bulk_action_group_id_1234" , "bulk_action_group_id_1235" ] ,
6566 _version : "1" ,
6667 } ,
6768 ] ) ;
@@ -76,6 +77,8 @@ describe("Task Runs V2", () => {
7677 schema : z . object ( {
7778 environment_id : z . string ( ) ,
7879 run_id : z . string ( ) ,
80+ concurrency_key : z . string ( ) ,
81+ bulk_action_group_ids : z . array ( z . string ( ) ) ,
7982 } ) ,
8083 params : z . object ( {
8184 run_id : z . string ( ) ,
@@ -90,6 +93,8 @@ describe("Task Runs V2", () => {
9093 expect . objectContaining ( {
9194 environment_id : "env_1234" ,
9295 run_id : "run_1234" ,
96+ concurrency_key : "concurrency_key_1234" ,
97+ bulk_action_group_ids : [ "bulk_action_group_id_1234" , "bulk_action_group_id_1235" ] ,
9398 } ) ,
9499 ] )
95100 ) ;
0 commit comments