Brittle API Canary Test

Offen
#620 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

@planetchili arbeitet bereits daran.

Seit 08.4.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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

Vorherrschende Sprache
C++
Sterne
2.6k
Forks
201
Ø Merge
2 T. 21 Std.
Gemergte PRs (30 T.)
16

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus GameTechDev/PresentMon

Alle Issues in GameTechDev/PresentMon

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.