Repository navigation
chore(deps): update launchdarkly/gh-actions/actions/contract-tests requirement to 2715574e04448246bc529a23a81766491bbc4aae - #599
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit ab191af. Configure here.
| 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@2715574e04448246bc529a23a81766491bbc4aae |
There was a problem hiding this comment.
Contract-tests action silently downgraded
High Severity
This Dependabot change pins contract-tests to 2715574 (v1.1.0) from 5adb11f (v1.3.0). enable_persistence_tests only exists since v1.2.0, so on v1.1.0 that input is ignored and the harness never gets -enable-persistence-tests (default false). With extra_params limited to -run=persistent.data.store, Redis/DynamoDB persistence suites stop running while CI can still go green.
Additional Locations (1)
Triggered by learned rule: Persistence contract-test CI needs a live store, not just a harness flag
Reviewed by Cursor Bugbot for commit ab191af. Configure here.
|
@dependabot rebase |
…quirement to 2715574e04448246bc529a23a81766491bbc4aae Updates the requirements on [launchdarkly/gh-actions/actions/contract-tests](https://github.com/launchdarkly/gh-actions) to permit the latest version. - [Release notes](https://github.com/launchdarkly/gh-actions/releases) - [Commits](https://github.com/launchdarkly/gh-actions/commits/2715574e04448246bc529a23a81766491bbc4aae) --- updated-dependencies: - dependency-name: launchdarkly/gh-actions/actions/contract-tests dependency-version: 2715574e04448246bc529a23a81766491bbc4aae dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
ab191af to
f3aef08
Compare
|
Closing: |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
…ion (#605) ## Summary Point every `launchdarkly/gh-actions/actions/contract-tests` usage at the floating `contract-tests-v1` tag instead of a SHA pin, and drop the now-redundant release-link comments. - Dependabot can't resolve versions for this monorepo action and proposed a *downgrade* (#599: `5adb11f`/v1.3.0 → `2715574`/v1.1.0, which silently drops the `enable_persistence_tests` input). Closed that PR; the floating tag stops the bad suggestions. - `client.yml`, `server.yml`, `sse.yml` were still on v1.1.0 and effectively move to v1.3.0. - `sse.yml` sets `enable_persistence_tests: false` — the sse-contract-tests harness has no `-enable-persistence-tests` flag and exits 2 when passed it (v1.3.0 defaults the input to true). <details> <summary>Implementation details</summary> `contract-tests-v1` is force-updated to each new release by gh-actions' release-please workflow, so it currently points at `5adb11f` (contract-tests-v1.3.0). v1.3.0 vs v1.1.0 for the workflows that were behind: - adds `enable_persistence_tests` (default `true`) → harness gets `-enable-persistence-tests`. Handled for SSE as above; for the server jobs the test service only advertises `persistent-data-store-{redis,dynamodb}` when built with `use_redis`/`use_dynamodb`, which those jobs don't do, so no additional suites run there. - adds `stop_service` (default `true`), matching v1.1.0's hardcoded `-stop-service-at-end`. Tradeoff: a floating tag is mutable, so this gives up SHA pinning for this first-party action. </details> Link to Devin session: https://app.devin.ai/sessions/01bce0d0f3894fccba4fe3fc117ff8b1 Open in Devin Desktop: https://app.devin.ai/desktop/session/01bce0d0f3894fccba4fe3fc117ff8b1?variant=devin Requested by: @kinyoklion <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Overview** > Switches all contract-test CI jobs to the floating **`contract-tests-v1`** ref on `launchdarkly/gh-actions/actions/contract-tests` instead of mixed SHA pins (v1.1.0 / v1.3.0), and removes the redundant release-link comments above those steps. > > Workflows that were still on v1.1.0 (**client**, **server**, **sse**) effectively pick up v1.3.0 behavior via the tag. **sse.yml** explicitly sets **`enable_persistence_tests: false`** on both contract-test jobs so the harness is not passed `-enable-persistence-tests` (unsupported for SSE; v1.3.0 defaults that input to true). Redis/DynamoDB server jobs keep **`enable_persistence_tests: true`**; only the action ref changes there. > > **Tradeoff:** the floating tag is mutable, so SHA pinning for this first-party action is dropped in favor of simpler Dependabot/version alignment. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit b674b86. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>


Updates the requirements on launchdarkly/gh-actions/actions/contract-tests to permit the latest version.
Commits
Note
Overview
Pins
launchdarkly/gh-actions/actions/contract-teststo commit2715574ein the DynamoDB and Redis server SDK contract-test workflows, replacing the previous SHA5adb11fd.No workflow inputs or job structure change—only the reusable action reference. Persistence contract tests (
enable_persistence_tests, harness matrix,extra_params) run the same way against the updated action version.Reviewed by Cursor Bugbot for commit f3aef08. Bugbot is set up for automated code reviews on this repo. Configure here.