File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
packages/common/chirp-workflow/core/src/ctx Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ impl WorkflowCtx {
379
379
380
380
/// Creates a new workflow run with one more depth in the location.
381
381
/// - **Not to be used directly by workflow users. For implementation uses only.**
382
- /// - **Remember to validate history after this branch is used.**
382
+ /// - **Remember to validate latent history after this branch is used.**
383
383
#[ tracing:: instrument( skip_all) ]
384
384
pub ( crate ) async fn branch ( & mut self ) -> WorkflowResult < Self > {
385
385
self . custom_branch ( self . input . clone ( ) , self . version ) . await
@@ -400,7 +400,7 @@ impl WorkflowCtx {
400
400
. commit_workflow_branch_event (
401
401
self . workflow_id ,
402
402
& location,
403
- self . version ,
403
+ version,
404
404
self . loop_location . as_ref ( ) ,
405
405
)
406
406
. await ?;
@@ -409,6 +409,7 @@ impl WorkflowCtx {
409
409
Ok ( self . branch_inner ( input, version, location) )
410
410
}
411
411
412
+ /// `custom_branch` with no history validation.
412
413
pub ( crate ) fn branch_inner (
413
414
& mut self ,
414
415
input : Arc < Box < serde_json:: value:: RawValue > > ,
You can’t perform that action at this time.
0 commit comments