[Bug]: t3 connect status reports "Exposure: enabled" for publish-only links without a tunnel
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- node.js, typescript
- 领域
- cli
调研方向
阅读 apps/server/src/cli/connect.ts,尤其是报告中指出的行上的 formatStatus,并将其易读输出与 JSON 状态字段进行比较。首先检查格式化器如何确定开放范围以及如何处理 linkMode。完成标准是:仅发布状态明确报告没有可用的托管隧道,并且对于远程访问已禁用这一点,与 t3 status 一致。
由索引模型根据 Issue 内容生成。
描述
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- Use a running CLI/background-service environment linked in publish-only mode. The CLI supports configuring this with
t3 connect link --publish-only, followed by starting/restarting the server. - Run
t3 status --json. - Run
t3 connect status. - Run
t3 connect status --json.
Steps 2–4 were run against an existing affected environment. Fresh authorization and service restart were not repeated.
Expected behavior
The human-readable Connect status distinguishes activity publishing from a managed tunnel. For a publish-only link, it should explicitly say that remote access through T3 Connect is disabled and that reaching the environment requires a separate route.
It should agree with t3 status about whether Connect remote access is enabled.
Actual behavior
t3 status --json reports connect.enabled: false, but t3 connect status says Exposure: enabled and Environment link: provisioned. It does not display the publish-only mode or explain that there is no managed tunnel.
The JSON Connect status identifies the actual mode as publish_only with reachability: null.
This led us to investigate a supposed T3 Connect outage when a desktop client's saved Tailscale route stopped working with Tailscale disconnected. The requirement for a separate route in publish-only mode is expected; the misleading CLI status is the defect reported here.
Impact
Minor bug or occasional failure
Version or commit
Observed CLI/server: 0.1.8-nightly.20261109.4433.
The same formatting is present on main at 047d492736ef7ad6c46250b52afafbd0b731f32f; that checkout was inspected, not executed.
Environment
Host: Ubuntu 26.04 LTS, Linux x86_64, T3 background service. Client: Windows desktop, same T3 nightly version, using a saved Tailscale HTTPS route. No provider/model invocation is involved.
Logs or stack traces
Relevant output, with unrelated fields omitted:
$ t3 status --json
{
"connect": {
"enabled": false,
"revoked": false
}
}
$ t3 connect status
T3 Connect
Exposure: enabled
Authorization: stored credential
Environment link: provisioned
Relay: https://relay.t3.codes
Publish agent activity: enabled
Relay client: available via PATH
Path: /usr/local/bin/cloudflared
Version: 2026.7.3
$ t3 connect status --json
{
"desired": true,
"authenticated": true,
"linked": true,
"revoked": false,
"linkMode": "publish_only",
"reachability": null
}
Source inspection: formatStatus in apps/server/src/cli/connect.ts derives the exposure label solely from status.desired. The same formatter omits the entire reachability section when status.linkMode !== "managed", leaving no human-readable explanation of the missing tunnel.
Screenshots, recordings, or supporting files
CLI output is included above.
Workaround
Use t3 connect status --json to inspect linkMode, and t3 status to check whether Connect remote access is enabled. Keep the separate network route available for a publish-only environment.
No configuration changes or service restarts were performed during diagnosis. Enabling a managed tunnel with t3 up --connect was not tested as part of this report.
Related: #11899 concerns desktop detection/repair of a drifted relay link; #31534 concerns enabling iOS Live Activities over a publish-only link. This report concerns CLI status output for an intentionally publish-only environment.
Report prepared by GPT-6.1 Sol via the Codex harness in T3 Code.
- 主要语言
- TypeScript
- 星标
- 24.8k
- 派生
- 6.4k
- 平均合并
- 13 小时 9 分钟
- 30 天内合并 PR
- 187
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pingdotgg/t3code 的其他 Issue
-
via-triage
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
via-triage
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
via-triage
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
[Bug]: Shows "Open in Zed" when the ZFS Event Daemon is installed as可能已有人在做 @danjdewhurst 于 1 天前认领。 未关闭bug needs-triage
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
[Bug]: A child run started with `t3 thread send` from a shell never notifies the parent可能已有人在做 @juliusmarminge 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 83/100
awslabs/visual-asset-management-system#1278 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
mifi/lossless-cut#3213 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 83/100
plasma-umass/scalene#1123 ·
维护者通常 1 天内回复
-
Bug: Cloudflare Pages static _redirects identity rule causes RSC Flight to reload as HTML可能已有人在做 @Donvero 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
Mantitup-Org/vista#210 ·