Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[FEATURE REQUEST] Scripts to make updating ref images easy

Đang mở
#2,182 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp, github-actions
Lĩnh vực
computer-graphics, testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?

Ngôn ngữ chính
C++
Star
2.3k
Fork
414
Merge trung bình
4 ngày 2 giờ
Pull request đã merge (30 ngày)
19

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của AcademySoftwareFoundation/OpenShadingLanguage

Tất cả issue của AcademySoftwareFoundation/OpenShadingLanguage

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.