feat: log tailnet tunnels to the connection log (#27423)

Co-authored-by: Chris DiGiamo <cd@anthropic.com>
Co-authored-by: Chris DiGiamo <cdigiamo@anthropic.com>
This commit is contained in:
Jon Ayers
2026-07-28 15:30:12 -05:00
committed by GitHub
co-authored by Chris DiGiamo Chris DiGiamo
parent 8cc7f2bb0e
commit 1a6a8be96c
21 changed files with 381 additions and 30 deletions
+5 -3
View File
@@ -18461,7 +18461,7 @@ const docTemplate = `{
"$ref": "#/definitions/codersdk.ConnectionType"
},
"web_info": {
"description": "WebInfo is only set when ` + "`" + `type` + "`" + ` is one of:\n- ` + "`" + `ConnectionTypePortForwarding` + "`" + `\n- ` + "`" + `ConnectionTypeWorkspaceApp` + "`" + `",
"description": "WebInfo is only set when ` + "`" + `type` + "`" + ` is one of:\n- ` + "`" + `ConnectionTypePortForwarding` + "`" + `\n- ` + "`" + `ConnectionTypeWorkspaceApp` + "`" + `\n- ` + "`" + `ConnectionTypeTunnel` + "`" + `",
"allOf": [
{
"$ref": "#/definitions/codersdk.ConnectionLogWebInfo"
@@ -18554,7 +18554,8 @@ const docTemplate = `{
"jetbrains",
"reconnecting_pty",
"workspace_app",
"port_forwarding"
"port_forwarding",
"tunnel"
],
"x-enum-varnames": [
"ConnectionTypeSSH",
@@ -18562,7 +18563,8 @@ const docTemplate = `{
"ConnectionTypeJetBrains",
"ConnectionTypeReconnectingPTY",
"ConnectionTypeWorkspaceApp",
"ConnectionTypePortForwarding"
"ConnectionTypePortForwarding",
"ConnectionTypeTunnel"
]
},
"codersdk.ConvertLoginRequest": {
+5 -3
View File
@@ -16667,7 +16667,7 @@
"$ref": "#/definitions/codersdk.ConnectionType"
},
"web_info": {
"description": "WebInfo is only set when `type` is one of:\n- `ConnectionTypePortForwarding`\n- `ConnectionTypeWorkspaceApp`",
"description": "WebInfo is only set when `type` is one of:\n- `ConnectionTypePortForwarding`\n- `ConnectionTypeWorkspaceApp`\n- `ConnectionTypeTunnel`",
"allOf": [
{
"$ref": "#/definitions/codersdk.ConnectionLogWebInfo"
@@ -16760,7 +16760,8 @@
"jetbrains",
"reconnecting_pty",
"workspace_app",
"port_forwarding"
"port_forwarding",
"tunnel"
],
"x-enum-varnames": [
"ConnectionTypeSSH",
@@ -16768,7 +16769,8 @@
"ConnectionTypeJetBrains",
"ConnectionTypeReconnectingPTY",
"ConnectionTypeWorkspaceApp",
"ConnectionTypePortForwarding"
"ConnectionTypePortForwarding",
"ConnectionTypeTunnel"
]
},
"codersdk.ConvertLoginRequest": {