[Flaky test] TestA2AServer_MultipleRequests
维护者通常 1 天内回复
@dgageot 已经在做这个了。
开始于 2026年10月22日。
评估
这个 Issue 还没有评估数据。
描述
TestA2AServer_MultipleRequests (e2e/a2a_test.go:89) failed once during a full local task test run, then passed 3/3 when run alone and on a full rerun.
Where: startA2AServer, which the test calls at a2a_test.go:93. The agent-card request returned 404 instead of 200:
--- FAIL: TestA2AServer_MultipleRequests (2.57s)
a2a_test.go:93:
Error Trace: e2e/a2a_test.go:209
e2e/a2a_test.go:93
Error: Not equal:
expected: 200
actual : 404
Environment: macOS (darwin), task test with .env.test, upstream main at e7f1ec394 plus test-only changes in unrelated packages (pkg/modelsdev, pkg/runtime, pkg/model/provider/anthropic; PR #4686). Nothing touching A2A, the server or e2e/.
Observation:
- The server listens on
:0(all interfaces), and the test requestshttp://localhost:<port>/.well-known/agent-card.jsonright after startinga2aserver.Runin a goroutine. - A 404 means some HTTP server answered. A server that isn't ready yet would give a refused or hanging connection instead.
Hypotheses, not verified:
- The request reached another server.
localhostcan resolve to::1or127.0.0.1, and a parallel test may own the same port number on the other address family. Runserves before the agent-card route is registered.
Listening on and requesting an explicit 127.0.0.1 would rule out the first. Polling the card until it answers 200, with a deadline, would make the test robust to the second.
- 主要语言
- Go
- 星标
- 4.6k
- 派生
- 529
- 平均合并
- 13 小时 1 分钟
- 30 天内合并 PR
- 180
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
docker/docker-agent 的其他 Issue
-
area/config area/models
难度 2/5 1-3 小时 新手友好度 72/100
docker/docker-agent#4714 ·
维护者通常 1 天内回复
-
Error when trying to run sandbox example?可能已有人在做 @dgageot 于 4 天前认领。 未关闭area/cli
难度 2/5 1-3 小时 新手友好度 62/100
docker/docker-agent#4672 · 1 条评论 · 1 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
-
pkg/hooks tests fail with a misleading assertion when jq is not installed可能已有人在做 @dwin-gharibi 于 62 天前认领。 未关闭area/testing
难度 2/5 1-3 小时 新手友好度 86/100
docker/docker-agent#4052 ·
维护者通常 1 天内回复
-
`remove_directory` and `create_directory` hide work they already did when a later path fails可能已有人在做 @dwin-gharibi 于 80 天前认领。 未关闭area/tools
难度 2/5 1-3 小时 新手友好度 85/100
docker/docker-agent#3933 ·
维护者通常 1 天内回复
-
`edit_file` silently edits the first match when `oldText` occurs more than once可能已有人在做 @dwin-gharibi 于 80 天前认领。 未关闭area/tools
难度 2/5 1-3 小时 新手友好度 78/100
docker/docker-agent#3929 · 2 条评论 ·
维护者通常 1 天内回复
查看 docker/docker-agent 的全部 Issue
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 61/100
维护者通常 1 天内回复
-
stage-fail
难度 1/5 1 小时以内 新手友好度 72/100
siyuan-note/bazaar#2405 ·
维护者通常 1 天内回复
-
bug priority: high workstream:cache
难度 2/5 1-3 小时 新手友好度 76/100
rossoctl/context-guru#707 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 73/100
prime-radiant-inc/evener#5028 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
维护者通常 1 天内回复