Brittle API Canary Test

オープン
#620 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

@planetchili がすでに取り組んでいます。

2026年4月8日 から。

評価

この issue はまだ評価されていません。

説明

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).

主要言語
C++
スター
2.6k
フォーク
201
平均マージ
2日 21時間
マージ済み PR(30日)
16

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

GameTechDev/PresentMon のほかの issue

GameTechDev/PresentMon の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。