From dce2a3beaf9fc99405a4f469b078e1604c105f78 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 8 Sep 2026 22:48:12 +0000 Subject: [PATCH 1/2] ci: use the floating contract-tests-v1 tag for the contract tests action Co-Authored-By: rlamb@launchdarkly.com <4955475+kinyoklion@users.noreply.github.com> --- .github/workflows/client.yml | 6 ++---- .github/workflows/server-dynamodb.yml | 3 +-- .github/workflows/server-redis.yml | 3 +-- .github/workflows/server.yml | 12 ++++-------- .github/workflows/sse.yml | 6 ++---- 5 files changed, 10 insertions(+), 20 deletions(-) diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml index dacb3c889..c024f6a91 100644 --- a/.github/workflows/client.yml +++ b/.github/workflows/client.yml @@ -29,8 +29,7 @@ jobs: run_tests: false - name: 'Launch test service as background task' run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 & - # https://github.com/launchdarkly/gh-actions/releases/tag/contract-tests-v1.1.0 - - uses: launchdarkly/gh-actions/actions/contract-tests@2715574e04448246bc529a23a81766491bbc4aae + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 with: # Inform the test harness of test service's port. test_service_port: ${{ env.TEST_SERVICE_PORT }} @@ -52,8 +51,7 @@ jobs: use_curl: true - name: 'Launch test service as background task' run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 & - # https://github.com/launchdarkly/gh-actions/releases/tag/contract-tests-v1.1.0 - - uses: launchdarkly/gh-actions/actions/contract-tests@2715574e04448246bc529a23a81766491bbc4aae + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 with: # Inform the test harness of test service's port. test_service_port: ${{ env.TEST_SERVICE_PORT }} diff --git a/.github/workflows/server-dynamodb.yml b/.github/workflows/server-dynamodb.yml index 2554c1661..64d0c179b 100644 --- a/.github/workflows/server-dynamodb.yml +++ b/.github/workflows/server-dynamodb.yml @@ -44,8 +44,7 @@ jobs: use_dynamodb: true - name: 'Launch test service as background task' run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 & - # https://github.com/launchdarkly/gh-actions/releases/tag/contract-tests-v1.3.0 - - uses: launchdarkly/gh-actions/actions/contract-tests@5adb11fd6953e1bc35d9cf1fc1b4374c464e3a8b + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 with: test_service_port: ${{ env.TEST_SERVICE_PORT }} token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/server-redis.yml b/.github/workflows/server-redis.yml index 113934023..0a80bdb26 100644 --- a/.github/workflows/server-redis.yml +++ b/.github/workflows/server-redis.yml @@ -42,8 +42,7 @@ jobs: use_redis: true - name: 'Launch test service as background task' run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 & - # https://github.com/launchdarkly/gh-actions/releases/tag/contract-tests-v1.3.0 - - uses: launchdarkly/gh-actions/actions/contract-tests@5adb11fd6953e1bc35d9cf1fc1b4374c464e3a8b + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 with: test_service_port: ${{ env.TEST_SERVICE_PORT }} token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/server.yml b/.github/workflows/server.yml index 1b79cc26f..2817eb737 100644 --- a/.github/workflows/server.yml +++ b/.github/workflows/server.yml @@ -29,8 +29,7 @@ jobs: run_tests: false - name: 'Launch test service as background task' run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 & - # https://github.com/launchdarkly/gh-actions/releases/tag/contract-tests-v1.1.0 - - uses: launchdarkly/gh-actions/actions/contract-tests@2715574e04448246bc529a23a81766491bbc4aae + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 with: # Inform the test harness of test service's port. test_service_port: ${{ env.TEST_SERVICE_PORT }} @@ -50,8 +49,7 @@ jobs: run_tests: false - name: 'Launch test service as background task' run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 & - # https://github.com/launchdarkly/gh-actions/releases/tag/contract-tests-v1.1.0 - - uses: launchdarkly/gh-actions/actions/contract-tests@2715574e04448246bc529a23a81766491bbc4aae + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 with: test_service_port: ${{ env.TEST_SERVICE_PORT }} token: ${{ secrets.GITHUB_TOKEN }} @@ -76,8 +74,7 @@ jobs: use_curl: true - name: 'Launch test service as background task' run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 & - # https://github.com/launchdarkly/gh-actions/releases/tag/contract-tests-v1.1.0 - - uses: launchdarkly/gh-actions/actions/contract-tests@2715574e04448246bc529a23a81766491bbc4aae + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 with: # Inform the test harness of test service's port. test_service_port: ${{ env.TEST_SERVICE_PORT }} @@ -98,8 +95,7 @@ jobs: use_curl: true - name: 'Launch test service as background task' run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 & - # https://github.com/launchdarkly/gh-actions/releases/tag/contract-tests-v1.1.0 - - uses: launchdarkly/gh-actions/actions/contract-tests@2715574e04448246bc529a23a81766491bbc4aae + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 with: test_service_port: ${{ env.TEST_SERVICE_PORT }} token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/sse.yml b/.github/workflows/sse.yml index a7c318cda..969984a3d 100644 --- a/.github/workflows/sse.yml +++ b/.github/workflows/sse.yml @@ -45,8 +45,7 @@ jobs: run_tests: false - name: 'Launch test service as background task' run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 & - # https://github.com/launchdarkly/gh-actions/releases/tag/contract-tests-v1.1.0 - - uses: launchdarkly/gh-actions/actions/contract-tests@2715574e04448246bc529a23a81766491bbc4aae + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 with: repo: 'sse-contract-tests' branch: 'main' @@ -69,8 +68,7 @@ jobs: use_curl: true - name: 'Launch test service as background task' run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 & - # https://github.com/launchdarkly/gh-actions/releases/tag/contract-tests-v1.1.0 - - uses: launchdarkly/gh-actions/actions/contract-tests@2715574e04448246bc529a23a81766491bbc4aae + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 with: repo: 'sse-contract-tests' branch: 'main' From b674b86568ac8bc2ce87ba57a3d0629c9986107a Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 8 Sep 2026 22:57:26 +0000 Subject: [PATCH 2/2] ci: disable persistence tests for the sse contract tests Co-Authored-By: rlamb@launchdarkly.com <4955475+kinyoklion@users.noreply.github.com> --- .github/workflows/sse.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/sse.yml b/.github/workflows/sse.yml index 969984a3d..a53171df8 100644 --- a/.github/workflows/sse.yml +++ b/.github/workflows/sse.yml @@ -51,6 +51,8 @@ jobs: branch: 'main' test_service_port: ${{ env.TEST_SERVICE_PORT }} token: ${{ secrets.GITHUB_TOKEN }} + # The SSE test harness doesn't support persistence tests. + enable_persistence_tests: false contract-tests-curl: runs-on: ubuntu-22.04 @@ -74,3 +76,5 @@ jobs: branch: 'main' test_service_port: ${{ env.TEST_SERVICE_PORT }} token: ${{ secrets.GITHUB_TOKEN }} + # The SSE test harness doesn't support persistence tests. + enable_persistence_tests: false