Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[FEATURE REQUEST] Scripts to make updating ref images easy

未关闭
#2,182 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
cpp, github-actions

调研方向

Start by reviewing the CI workflow and its failed-test artifacts, then locate the tests’ ref/ directories and how reference-image comparisons are handled. The request is exploratory and does not identify specific files or a chosen implementation; first clarify whether this should be a script, agent skill, or agent-assisted tool. Done means automating artifact collection and reference-image updates while showing proposed image changes for human approval.

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

描述

build / testing / port / CI

(Summarize discussion that happened at the TSC meeting)

Sometimes you make a change that might alter output images, and CI jobs fail.

If it's just one or two jobs, and they fail on the same test or two, usually it's just a matter of downloading the "failed test" artifacts from that job, unzipping it locally, checking the image visually, and if it looks correct, copying it to the ref/ subdirectory of that test, an pushing the amendment.

But sometimes it's a whole bunch of tests, or different tests fail for different jobs in the CI workflow, or they produced different changes per platform and need multiple reference tests. Then it gets really tedious.

So we fantasized that something that automates the following would be really helpful:

  • Figure out which jobs / configurations failed across the CI workflow, download all the relevant artifacts.
  • Figure out if each test failed in the same way across all the job variants (replace one ref image?), or in different ways (maybe it needs multiple ref images, or needs a wider comparison threshold?).
  • Sort it all out and replace or add ref images.
  • VISUALLY show the human all the before/after images of the proposed changes, either interactively, or as a web page, get confirmation that a "bad image" isn't sneaking in.
  • Commit the changes.

Maybe it's an agent skill? Maybe it's just just using agents to write the complicated script that does the above, which we've all been too lazy to do ourselves?

主要语言
C++
星标
2.3k
派生
414
平均合并
4 天 16 小时
30 天内合并 PR
20

环境准备

从这里开始

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

AcademySoftwareFoundation/OpenShadingLanguage 的其他 Issue

查看 AcademySoftwareFoundation/OpenShadingLanguage 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

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