{"record":{"id":"707f6c3de1539bd6","repo":"temporalio/temporal","slug":"s-w-707f6c","errorCode":null,"errorMessage":"%s: %w","messagePattern":"%s: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"common/persistence/visibility/store/sql/visibility_store.go","lineNumber":99,"sourceCode":"\t\tchasmRegistry:                  chasmRegistry,\n\t\tmetricsHandler:                 metricsHandler,\n\t\tlogger:                         logger,\n\n\t\tenableUnifiedQueryConverter: enableUnifiedQueryConverter,\n\t}, nil\n}\n\nfunc (s *VisibilityStore) Close() {\n\ts.sqlStore.Close()\n}\n\nfunc (s *VisibilityStore) GetName() string {\n\treturn s.sqlStore.GetName()\n}\n\nfunc convertSQLError(message string, err error) error {\n\tif errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) {\n\t\treturn fmt.Errorf(\"%s: %w\", message, err)\n\t}\n\treturn serviceerror.NewUnavailable(fmt.Sprintf(\"%s: %v\", message, err))\n}\n\nfunc (s *VisibilityStore) GetIndexName() string {\n\treturn s.sqlStore.GetDbName()\n}\n\nfunc (s *VisibilityStore) ValidateCustomSearchAttributes(\n\tsearchAttributes map[string]any,\n) (map[string]any, error) {\n\treturn searchAttributes, nil\n}\n\nfunc (s *VisibilityStore) RecordWorkflowExecutionStarted(\n\tctx context.Context,\n\trequest *store.InternalRecordWorkflowExecutionStartedRequest,\n) error {","sourceCodeStart":81,"sourceCodeEnd":117,"githubUrl":"https://github.com/temporalio/temporal/blob/bde624efd13fbd3843654058db6d9c716166318b/common/persistence/visibility/store/sql/visibility_store.go#L81-L117","documentation":"Error \"%s: %w\" thrown in temporalio/temporal.","triggerScenarios":"Thrown at common/persistence/visibility/store/sql/visibility_store.go:99 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"bde624efd13fbd3843654058db6d9c716166318b","analyzedAt":"2026-09-01T07:18:39.080Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}