chore(test): semantic acceptance cases have no second reader

未关闭
#266 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
50/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
活跃
技术栈
go, json, markdown
领域
testing-qa

调研方向

Start with step 3 of "Acceptance review" in testdata/semantic/README.md, then open the 10 case.json files under testdata/semantic/heldout/ and compare each fact with the matching src/ directory. Read the case before looking at any CodeGraph output. Where an expectation is wrong, fix it, increase expectationRevision, and explain the change in the pull request. Done when all 10 cases have been reviewed and any corrections are recorded.

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

描述

area:ci chore priority:low
What kind of chore?

Test infrastructure

What needs doing?

Have a second reviewer read the 10 acceptance cases under testdata/semantic/heldout/ against their src/ directories. The review covers the facts in each case.json, not the CodeGraph result.

Step 3 of "Acceptance review" in testdata/semantic/README.md requires this review for each new acceptance revision. The reviewer must not look at CodeGraph output for a case before reading it. If an expectation is wrong, change it, increase expectationRevision and record the reason in the pull request.

Why now?

#264 added these cases and merged, and the same author wrote all of them. The pull request listed this as a known limit. The gate reports these cases as acceptance evidence, so an error in an expectation can pass in the gate with nothing to show it.

Does this touch anything load-bearing?
  • The release pipeline (release.yml, .goreleaser.yaml, signing)
  • The upgrade identity (internal/upgrade/verify.go)
  • The perf baseline (tools/bench/baseline.json)
  • The graph schema / meta-key layout
  • None of these
Before submitting
  • I searched existing issues and this is not a duplicate
主要语言
Go
星标
0
派生
0
平均合并
7 小时 42 分钟
30 天内合并 PR
111

环境准备

从这里开始

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

seanb4t/codegraph-go 的其他 Issue

查看 seanb4t/codegraph-go 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

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