Brittle API Canary Test

Aberta
#620 0 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 2 dias

@planetchili já está trabalhando nisso.

Desde 8/4/2026.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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

Linguagem predominante
C++
Estrelas
2.6k
Forks
201
Merge médio
2d 21h
PRs com merge (30d)
16

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de GameTechDev/PresentMon

Todas as issues de GameTechDev/PresentMon

Issues semelhantes

Mais issues de C++

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.