{"record":{"id":"93b65ac6a14204a2","repo":"juanfont/headscale","slug":"s-w","errorCode":null,"errorMessage":"%s: %w","messagePattern":"%s: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"integration/tsic/tsic.go","lineNumber":965,"sourceCode":"\t\t}\n\t}\n\n\tpanic(\"no ipv6 found\")\n}\n\n// execJSON runs command on the Tailscale instance, unmarshals the stdout into a\n// fresh T, and returns the value alongside the raw JSON for callers that persist\n// it. stderr is printed when the command fails. execErr and unmarshalErr provide\n// the error context used in test diagnostics.\nfunc execJSON[T any](\n\tt *TailscaleInContainer,\n\tcommand []string,\n\texecErr, unmarshalErr string,\n) (*T, string, error) {\n\tresult, stderr, err := t.Execute(command)\n\tif err != nil {\n\t\tfmt.Printf(\"stderr: %s\\n\", stderr)\n\t\treturn nil, \"\", fmt.Errorf(\"%s: %w\", execErr, err)\n\t}\n\n\tvar v T\n\n\terr = json.Unmarshal([]byte(result), &v)\n\tif err != nil {\n\t\treturn nil, \"\", fmt.Errorf(\"%s: %w\", unmarshalErr, err)\n\t}\n\n\treturn &v, result, nil\n}\n\n// Status returns the [ipnstate.Status] of the Tailscale instance.\nfunc (t *TailscaleInContainer) Status(save ...bool) (*ipnstate.Status, error) {\n\tcommand := []string{\n\t\ttailscaleBin,\n\t\t\"status\",\n\t\t\"--json\",","sourceCodeStart":947,"sourceCodeEnd":983,"githubUrl":"https://github.com/juanfont/headscale/blob/565fd254d06c4c7f9a8cad1714a43445c79ba420/integration/tsic/tsic.go#L947-L983","documentation":"Error \"%s: %w\" thrown in juanfont/headscale.","triggerScenarios":"Thrown at integration/tsic/tsic.go:965 when the library encounters an invalid state.","commonSituations":"A namespaced client operation failed with the wrapped error. Read the prefix to identify the node and the inner error for the cause.","solutions":["Inspect the wrapped error for the underlying cause and correct the failing condition (); retry the operation after fixing the input, configuration, or environment."],"exampleFix":"Inspect the wrapped error for the underlying cause and correct the failing condition (); retry the operation after fixing the input, configuration, or environment.","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"565fd254d06c4c7f9a8cad1714a43445c79ba420","analyzedAt":"2026-08-15T13:12:30.133Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}