0
Fork 0
mirror of https://github.com/oblien/openship.git synced 2026-11-18 06:55:56 +00:00
openship/packages/contracts/test
Saim Shafique 057d65de7a
fix(deploy): let webhook and CLI deploys approve reviewed Compose changes (#1675)
* fix(deploy): let webhooks and CLI accept reviewed Compose changes

Webhook and CLI deploys hit COMPOSE_REVIEW_REQUIRED with no way through the gate, and the refusal hid what changed. Accept the current Compose source explicitly per deploy (--accept-compose-changes, or acceptComposeChanges on the hook), and surface the added/changed/removed services in the CLI error and the webhook delivery record.

* test(contracts): include acceptComposeChanges in deployment schema flags

The Compose review gate added acceptComposeChanges to
CreateDeploymentSchema without updating the contract test that
enumerates the schema's public flags, so the contracts suite failed
on CI. Add the flag to the expected list.

* docs(cli): list --accept-compose-changes in the deploy reference

The new deploy flag was missing from the generated CLI reference,
so docs:check failed with a stale reference. Add the row in
declaration order.

* Retain explicit Compose approval through shared deployment admission

---------

Co-authored-by: Hydra <abdelhamedmo59@gmail.com>
History 2026-11-11 18:57:58 +02:00
..
billing-build-limits.test.ts fix: finish recovered validation and error reporting 2026-10-12 14:44:50 +03:00
cluster-runtime-fixtures.ts add k3s support 2026-09-21 17:12:56 +03:00
deployments.test.ts fix(deploy): let webhook and CLI deploys approve reviewed Compose changes (#1675) 2026-11-11 18:57:58 +02:00
fixtures.ts feat(domains): complete automatic and manual wildcard HTTPS 2026-09-26 13:42:27 +03:00
managed-network-fixtures.ts add cluster network setup 2026-09-17 09:45:39 +03:00
project-inputs.test.ts fix(routing): make static 404 responses opt-in (#1626) 2026-11-06 10:36:34 +02:00
server-cluster-fixtures.ts scale features networking add 2026-09-16 14:19:24 +03:00
swarm-fixture.ts feat(swarm): inspect existing clusters and protect scheduler-owned workloads 2026-10-21 01:34:28 +03:00
validation.test.ts fix(gpu): preserve device selection and safe adoption across deploy and sync 2026-10-14 15:33:57 +03:00