Dial timeout error should say how long it waited and name the timeout setting

未关闭 适合新手
#408 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@jay23606 已经在做这个了。

开始于 2026年11月16日。

  • #663 来自 @jay23606 —— 未关闭

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
冷清
技术栈
go
领域
cli

调研方向

找到 CLI 首次连接的超时处理及其单元测试,然后阅读 probe.yaml 中 --dial-timeout 和 agent.dial_timeout 的设置定义。更新错误文本,使其报告等待时长和两个设置名称,同时保持 30s 默认值和重试逻辑不变。添加错误文本单元测试,并在 CHANGELOG 中添加一条补充记录。

由索引模型根据 Issue 内容生成。

描述

area/cli bug

Summary

On a loaded host (for example a parallel app build), the agent can take longer than the default 30s to start listening after a fresh install. The CLI then fails with a bare error such as unexpected EOF or i/o timeout, which reads like a protocol fault.

Acceptance criteria

  • When the first connect gives up, the error says how long the CLI waited and names --dial-timeout and agent.dial_timeout in probe.yaml.
  • The default stays at 30s and the retry logic is unchanged.
  • Covered by a unit test on the error text.
  • CHANGELOG entry (additive).

Notes

Idle-host reproduction attempts (4 fresh installs) all connected on the first attempt, so this is a message and docs fix, not a retry fix.

主要语言
Go
星标
6
派生
3
平均合并
6 小时 28 分钟
30 天内合并 PR
362

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

AlphaWaveSystems/flutter-probe 的其他 Issue

查看 AlphaWaveSystems/flutter-probe 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。