From 6432d4a98fe412b64a865c099395115a8b8bc9ce Mon Sep 17 00:00:00 2001 From: alefcastelo Date: Mon, 30 Nov 2026 21:18:52 -0600 Subject: [PATCH 1/2] Run the e2e on broker 0.6.0 and CLI 0.5.1 Co-Authored-By: Claude Opus 5.5 --- tests/e2e/compose.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/compose.yaml b/tests/e2e/compose.yaml index 425af9b..c799821 100644 --- a/tests/e2e/compose.yaml +++ b/tests/e2e/compose.yaml @@ -14,7 +14,7 @@ services: retries: 15 broker: - image: ghcr.io/bidirekt/broker:0.5.0 + image: ghcr.io/bidirekt/broker:0.6.0 environment: BIDIREKT_DATABASE_URL: postgres://broker:broker@postgres:5432/broker?sslmode=disable BIDIREKT_PUBLIC_URL: http://localhost:8080 @@ -48,7 +48,7 @@ services: - work:/work cli: - image: ghcr.io/bidirekt/cli:0.5.0 + image: ghcr.io/bidirekt/cli:0.5.1 profiles: [cli] network_mode: service:broker working_dir: /work From dda881c9c9c2ae55ce8c4a1b750dd4efeed43f43 Mon Sep 17 00:00:00 2001 From: alefcastelo Date: Mon, 30 Nov 2026 21:28:17 -0600 Subject: [PATCH 2/2] Drop the Broker: line CLI 0.5.1 no longer prints Co-Authored-By: Claude Opus 5.5 --- tests/scenarios/cross-service/steps.txt | 13 ------------- tests/scenarios/mistake-path-parameter/steps.txt | 2 -- 2 files changed, 15 deletions(-) diff --git a/tests/scenarios/cross-service/steps.txt b/tests/scenarios/cross-service/steps.txt index 8126933..c45fa85 100644 --- a/tests/scenarios/cross-service/steps.txt +++ b/tests/scenarios/cross-service/steps.txt @@ -48,21 +48,16 @@ schemas: type: enum members: ["available", "pending", "sold"] petstore-api$ bidirekt create-participant petstore_api -Broker: http://localhost:8080 (from BIDIREKT_BROKER_URL) petstore_api participant created petstore-api$ bidirekt validate contracts/generated.yaml --participant petstore_api --environment production -Broker: http://localhost:8080 (from BIDIREKT_BROKER_URL) petstore_api local contract can be deployed to production nothing deployed in production to compare with petstore-api$ bidirekt publish contracts/generated.yaml --participant petstore_api --version 1 -Broker: http://localhost:8080 (from BIDIREKT_BROKER_URL) petstore_api contract publish successful petstore-api$ bidirekt can-i-deploy petstore_api --version 1 --environment production -Broker: http://localhost:8080 (from BIDIREKT_BROKER_URL) petstore_api 1 can be deployed to production nothing deployed in production to compare with petstore-api$ bidirekt record-deployment petstore_api --version 1 --environment production -Broker: http://localhost:8080 (from BIDIREKT_BROKER_URL) petstore_api deployment recorded to production storefront$ vendor/bin/php-sdk generate storefront$ cat contracts/generated.yaml @@ -94,21 +89,16 @@ schemas: items: ref: Pet storefront$ bidirekt create-participant storefront -Broker: http://localhost:8080 (from BIDIREKT_BROKER_URL) storefront participant created storefront$ bidirekt validate contracts/generated.yaml --participant storefront --environment production -Broker: http://localhost:8080 (from BIDIREKT_BROKER_URL) storefront local contract can be deployed to production compared with: petstore_api storefront$ bidirekt publish contracts/generated.yaml --participant storefront --version 1 -Broker: http://localhost:8080 (from BIDIREKT_BROKER_URL) storefront contract publish successful storefront$ bidirekt can-i-deploy storefront --version 1 --environment production -Broker: http://localhost:8080 (from BIDIREKT_BROKER_URL) storefront 1 can be deployed to production compared with: petstore_api storefront$ bidirekt record-deployment storefront --version 1 --environment production -Broker: http://localhost:8080 (from BIDIREKT_BROKER_URL) storefront deployment recorded to production petstore-api$ patch -p1 < ../rename-pet-name.patch patching file src/Pet.php @@ -117,7 +107,6 @@ petstore-api$ vendor/bin/php-sdk generate --check [1] petstore-api$ vendor/bin/php-sdk generate petstore-api$ bidirekt validate contracts/generated.yaml --participant petstore_api --environment production -Broker: http://localhost:8080 (from BIDIREKT_BROKER_URL) petstore_api local contract cannot be deployed to production storefront (1, deployed): @@ -128,10 +117,8 @@ storefront (1, deployed): ยท GET /pets/* response 200 at "$.name" (storefront: Pet.name) [1] petstore-api$ bidirekt publish contracts/generated.yaml --participant petstore_api --version 2 -Broker: http://localhost:8080 (from BIDIREKT_BROKER_URL) petstore_api contract publish successful petstore-api$ bidirekt can-i-deploy petstore_api --version 2 --environment production -Broker: http://localhost:8080 (from BIDIREKT_BROKER_URL) petstore_api 2 cannot be deployed to production storefront (1, deployed): diff --git a/tests/scenarios/mistake-path-parameter/steps.txt b/tests/scenarios/mistake-path-parameter/steps.txt index 429d3a0..adb57d5 100644 --- a/tests/scenarios/mistake-path-parameter/steps.txt +++ b/tests/scenarios/mistake-path-parameter/steps.txt @@ -17,10 +17,8 @@ schemas: adopter: type: string pet-adoptions$ bidirekt create-participant pet_adoptions -Broker: http://localhost:8080 (from BIDIREKT_BROKER_URL) pet_adoptions participant created pet-adoptions$ bidirekt validate contracts/generated.yaml --participant pet_adoptions --environment production -Broker: http://localhost:8080 (from BIDIREKT_BROKER_URL) contract validation failed - contracts/generated.yaml: invalid endpoint "/adoptions/{petId}" in provides, write "/adoptions/*" (dynamic path segments must use *) [1]