File tree Expand file tree Collapse file tree 5 files changed +10
-7
lines changed
Expand file tree Collapse file tree 5 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 3232 "nesbot/carbon" : " ^2.72.6 || ^3.8.4" ,
3333 "psr/log" : " ^2.0 || ^3.0.2" ,
3434 "ramsey/uuid" : " ^4.7.6" ,
35- "roadrunner-php/roadrunner-api-dto" : " ^1.13 .0" ,
36- "roadrunner-php/version-checker" : " ^1.0.1 " ,
35+ "roadrunner-php/roadrunner-api-dto" : " ^1.14 .0" ,
36+ "roadrunner-php/version-checker" : " ^1.0.2 " ,
3737 "spiral/attributes" : " ^3.1.8" ,
38- "spiral/roadrunner" : " ^2025.1.3 " ,
38+ "spiral/roadrunner" : " ^2025.1.5 " ,
3939 "spiral/roadrunner-cli" : " ^2.6" ,
4040 "spiral/roadrunner-kv" : " ^4.3.1" ,
4141 "spiral/roadrunner-worker" : " ^3.6.2" ,
Original file line number Diff line number Diff line change 44 temp-dir =" ./runtime"
55>
66 <actions >
7- <download software =" rr" version =" ^2025.1.3 " />
7+ <download software =" rr" version =" ^2025.1.5 " />
88 <download software =" temporal" version =" ^1.4-fairness@dev" />
99 <download software =" temporal-tests-server" />
1010 </actions >
Original file line number Diff line number Diff line change 1717use Temporal \Activity ;
1818use Temporal \Client \ActivityCompletionClientInterface ;
1919use Temporal \Common \Priority ;
20+ use Temporal \Common \RetryOptions ;
2021use Temporal \Common \Uuid ;
2122use Temporal \Internal \Marshaller \Meta \Marshal ;
2223use Temporal \Internal \Marshaller \Type \DateIntervalType ;
@@ -108,6 +109,9 @@ final class ActivityInfo
108109 #[Marshal(name: 'Priority ' )]
109110 public Priority $ priority ;
110111
112+ #[Marshal(name: 'RetryPolicy ' )]
113+ public ?RetryOptions $ retryOptions = null ;
114+
111115 /**
112116 * ActivityInfo constructor.
113117 */
Original file line number Diff line number Diff line change @@ -22,12 +22,10 @@ public static function retryPolicy(
2222 #[Stub('Extra_Activity_ActivityInfo ' , args: [TestWorkflow::ARG_RETRY_OPTIONS ])]
2323 WorkflowStubInterface $ stub ,
2424 ): void {
25- self ::markTestSkipped ('See https://github.com/temporalio/sdk-php/issues/602 ' );
26-
2725 $ result = $ stub ->getResult (type: 'array ' );
2826 self ::assertSame ([
2927 "initial_interval " => ['seconds ' => 1 , 'nanos ' => 0 ],
30- "backoff_coefficient " => 3 ,
28+ "backoff_coefficient " => 3.0 ,
3129 "maximum_interval " => ['seconds ' => 120 , 'nanos ' => 0 ],
3230 "maximum_attempts " => 20 ,
3331 "non_retryable_error_types " => [],
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ public function testMarshalling(): void
4242 'fairness_key ' => '' ,
4343 'fairness_weight ' => 0.0 ,
4444 ],
45+ 'RetryPolicy ' => null ,
4546 ];
4647
4748 $ this ->assertSame ($ expected , $ this ->marshal ($ dto ));
You can’t perform that action at this time.
0 commit comments