@@ -61,6 +61,9 @@ public function testRunningFlowsUseConfiguredRunSummaryModel(): void
6161 'class ' => 'WorkflowClass ' ,
6262 'workflow_type ' => 'workflow.test ' ,
6363 'business_key ' => 'configured-list-business ' ,
64+ 'search_attributes ' => [
65+ 'customer_tier ' => 'gold ' ,
66+ ],
6467 'status ' => RunStatus::Waiting->value ,
6568 'status_bucket ' => 'running ' ,
6669 'started_at ' => $ startedAt ,
@@ -77,6 +80,7 @@ public function testRunningFlowsUseConfiguredRunSummaryModel(): void
7780 ->assertJsonPath ('data.0.id ' , $ run ->id )
7881 ->assertJsonPath ('data.0.business_key ' , 'configured-list-business ' )
7982 ->assertJsonPath ('data.0.workflow_type ' , 'workflow.test ' )
83+ ->assertJsonPath ('data.0.search_attributes.customer_tier ' , 'gold ' )
8084 ->assertJsonPath ('data.0.actionability.schema ' , 'waterline.actionability ' )
8185 ->assertJsonPath ('data.0.actionability.repair_state ' , 'unknown ' )
8286 ->assertJsonPath ('visibility_filters.actionability_contract.version ' , 1 )
@@ -1156,6 +1160,7 @@ private function createConfiguredSummaryTable(): void
11561160 $ table ->string ('class ' );
11571161 $ table ->string ('workflow_type ' );
11581162 $ table ->string ('business_key ' )->nullable ();
1163+ $ table ->json ('search_attributes ' )->nullable ();
11591164 $ table ->string ('declared_entry_mode ' )->nullable ();
11601165 $ table ->string ('declared_contract_source ' )->nullable ();
11611166 $ table ->boolean ('repair_attention ' )->default (false );
0 commit comments