Flaky Evidence test: normalized runtime startup sees Transit unavailable under CI load

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

从 crates/registry-evidence/src/normalized_tests.rs 开始,重点查看第 1296 行附近的 fixture 和启动顺序;检查 Unix socket Transit fake 如何接受连接,以及 attemptTimeoutMilliseconds 如何配置。在并行负载下反复运行指定名称的测试。完成的标准是:测试会等待 fake 接受连接,并使用一个在 runner 负载下仍然可靠的截止时间。

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

描述

normalized_tests::normalized_authority_without_profile_actor_retains_definition_actor_ceiling in crates/registry-evidence failed once in the Rust tests (evidence) job and passed when the job was re-run. It also passes five times in a row locally.

The panic is at crates/registry-evidence/src/normalized_tests.rs:1296:

normalized runtime initializes: Signing(Transit(Unavailable))

At startup the runtime probes the signing key through the test's Unix-socket Transit fake. Unavailable means that request failed to send or hit its timeout. The fixture sets attemptTimeoutMilliseconds: 2000, so the likely cause is the fake answering too slowly while the test job runs at full parallelism. This matches earlier fixed-deadline flakes under CI load.

The pull request that hit it does not change registry-evidence or registry-platform-crypto.

Done when the fixture's Transit probe cannot fail on runner load. For example, wait for the fake to accept a connection before startup and give the test a deadline that load cannot reach.

主要语言
Rust
星标
2
派生
0
平均合并
9 小时 48 分钟
30 天内合并 PR
151

环境准备

从这里开始

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

registrystack/registry-stack 的其他 Issue

查看 registrystack/registry-stack 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

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