{"record":{"id":"5c6ab06fb8ce5d5e","repo":"dagger/dagger","slug":"missing-result-call-frame-for-shared-result-d","errorCode":null,"errorMessage":"missing result call frame for shared result %d","messagePattern":"missing result call frame for shared result (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"dagql/result_call_frame.go","lineNumber":680,"sourceCode":"\treturn frame.refCall(c, frame.Receiver)\n}\n\nfunc (frame *ResultCall) refCall(c *Cache, ref *ResultCallRef) (*ResultCall, error) {\n\tif err := ref.Validate(); err != nil {\n\t\treturn nil, err\n\t}\n\tif ref.Call != nil {\n\t\treturn ref.Call, nil\n\t}\n\tif target := ref.loadSharedCall(); target != nil {\n\t\treturn target, nil\n\t}\n\tif c == nil {\n\t\treturn nil, fmt.Errorf(\"cannot resolve result ref %d without cache\", ref.ResultID)\n\t}\n\ttarget := c.resultCallByResultID(sharedResultID(ref.ResultID))\n\tif target == nil {\n\t\treturn nil, fmt.Errorf(\"missing result call frame for shared result %d\", ref.ResultID)\n\t}\n\treturn target, nil\n}\n\nfunc (frame *ResultCall) recipeDigestWithVisiting(c *Cache, visiting map[sharedResultID]struct{}) (digest.Digest, error) {\n\tif frame == nil {\n\t\treturn \"\", nil\n\t}\n\n\tframe.recipeDigestOnce.Do(func() {\n\t\tfield, err := resultCallIdentityField(frame)\n\t\tif err != nil {\n\t\t\tframe.recipeDigestErr = err\n\t\t\treturn\n\t\t}\n\t\tif frame.Type == nil {\n\t\t\tframe.recipeDigestErr = fmt.Errorf(\"missing call type\")\n\t\t\treturn","sourceCodeStart":662,"sourceCodeEnd":698,"githubUrl":"https://github.com/dagger/dagger/blob/82ba2681dbe30d3547a1dc50ea495900ab5b6047/dagql/result_call_frame.go#L662-L698","documentation":"Returned by ResultCall.refCall when a ref's ResultID was found in the cache map but the entry has no result-call frame attached. The shared result exists (e.g. loaded from persistence) yet its call metadata was never recorded, so the ref cannot be expanded into a callable frame.","triggerScenarios":"Thrown at dagql/result_call_frame.go:680 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Ensure the shared result was created via a dagql call so loadResultCall returns a frame","Re-run the original call to re-attach a call frame to the shared result","Check persistence/restore paths that load results without their call frames"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"82ba2681dbe30d3547a1dc50ea495900ab5b6047","analyzedAt":"2026-09-05T07:21:37.930Z","contentChangedAt":"2026-09-05T07:21:37.930Z","schemaVersion":2},"datasetVersion":"2026-09-12T12:17:11.808Z"}