Brittle API Canary Test

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

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

@planetchili đang làm issue này rồi.

Từ ngày 8/4/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

We need a test that will warn us if any changes to the API (whether it be the binary/static C-api or the dynamic API as exposed through metadata introspection and query validation) potentially break existing clients developed against prior versions.

Test should cover full spectrum of metrics, all query types, all stats. Use integral values instead of enum symbols to prevent inadvertent changes via find-replace-all or LLM.

Test will also service to define the contract with clients in terms of what they are expected to adjust to dynamically vs what they can depend on (i.e. they CANNOT depend on availability of any metric, nor which device IDs it will be available for and must use introspection, but they can depend on stat options for any given metric to not change (at least not without a deprecation period of minimum 1 release cycle).

Ngôn ngữ chính
C++
Star
2.6k
Fork
201
Merge trung bình
2 ngày 21 giờ
Pull request đã merge (30 ngày)
16

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 GameTechDev/PresentMon

Tất cả issue của GameTechDev/PresentMon

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.