Skip to content

ci: travar o contrato da API no painel - #32

Merged
puppe1990 merged 2 commits into
mainfrom
feat/api-contract-ci
Oct 2, 2026
Merged

puppe1990 merged 2 commits into
mainfrom
feat/api-contract-ci

Conversation

@puppe1990

Copy link
Copy Markdown
Collaborator

Fecha #31.

O painel (priv/api_contract.json) é a fonte canônica. O CI do CLI agora
faz checkout desse arquivo em cleat-deploy main e falha se
test/fixtures/api_contract.json divergir.

Localmente: scripts/check_panel_contract.sh ou um checkout irmão em
cleat-web. Fluxo de mudança compatível vs breaking está no README.

Panel priv/api_contract.json is canonical (#31). Compare the CLI fixture
against a sibling checkout, CLEAT_DEPLOY_CONTRACT, or a fetched copy.
Checkout the panel contract in CI and document compatible vs breaking
updates (#31).
@puppe1990
puppe1990 merged commit dc2d1af into main Oct 2, 2026
2 checks passed
@puppe1990
puppe1990 deleted the feat/api-contract-ci branch October 2, 2026 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant