File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ func (e *Engine) UpdateComponent(
190190 updateFn func (chasm.MutableContext , chasm.Component ) error ,
191191 _ ... chasm.TransitionOption ,
192192) ([]byte , error ) {
193- execution , err := e .mustExecutionForRef (ref )
193+ execution , err := e .executionForRef (ref )
194194 if err != nil {
195195 return nil , err
196196 }
@@ -203,7 +203,7 @@ func (e *Engine) ReadComponent(
203203 readFn func (chasm.Context , chasm.Component ) error ,
204204 _ ... chasm.TransitionOption ,
205205) error {
206- execution , err := e .mustExecutionForRef (ref )
206+ execution , err := e .executionForRef (ref )
207207 if err != nil {
208208 return err
209209 }
@@ -272,7 +272,7 @@ func (e *Engine) newExecution(key chasm.ExecutionKey) *execution {
272272 }
273273}
274274
275- func (e * Engine ) mustExecutionForRef (ref chasm.ComponentRef ) (* execution , error ) {
275+ func (e * Engine ) executionForRef (ref chasm.ComponentRef ) (* execution , error ) {
276276 execution , ok := e .executions [newExecutionKey (ref .ExecutionKey )]
277277 if ! ok {
278278 return nil , serviceerror .NewNotFound (
Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ func (l *mockNexusCompletionGetterLibrary) Components() []*chasm.RegistrableComp
8080 }
8181}
8282
83-
8483// Test the full executeInvocationTask flow with direct handler calls
8584func TestExecuteInvocationTaskNexus_Outcomes (t * testing.T ) {
8685 cases := []struct {
You can’t perform that action at this time.
0 commit comments