Skip to content

chore: Track the latest v3 contract test release instead of a pinned alpha - #433

Open
jsonbailey wants to merge 1 commit into
v7from
jb/sdk-2922/float-v3-contract-tests
Open

chore: Track the latest v3 contract test release instead of a pinned alpha#433
jsonbailey wants to merge 1 commit into
v7from
jb/sdk-2922/float-v3-contract-tests

Conversation

@jsonbailey

@jsonbailey jsonbailey commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

What

Change the FDv2 contract test job from version: v3.0.0-alpha.6 to version: v3.

Why

The pin means every sdk-test-harness release needs a manual bump in this repo. It went stale: v3.0.0-alpha.6 shipped 2026-04-29, so this job has been skipping every v3.1.x and v3.2.x test since.

The harness downloader already handles this. downloader/run.sh resolves a partial version by querying the Releases API, filtering tag_name on the prefix, and taking the newest match. That endpoint includes prereleases, so partials land on alphas:

VERSION resolves to (checked 2026-08-14)
v2 v2.39.0
v3 v3.2.0-alpha.7

This is not new ground. The FDv1 job in this repo already floats on the action default of version: v2 and has never pinned a patch. js-core floats v3 for server-node, browser, vue, and node-client today, through the same launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 action and the same downloader path.

Notes

The branch input is deliberately left alone. origin/v2:downloader/run.sh and origin/v3:downloader/run.sh are the same blob (df4fe4b), so setting branch: v3 would change nothing.

This jumps from an April harness build to current, so CI on this PR is the real verification. If new test cases fail, the follow-up is a --skip-from suppression file rather than restoring the pin.

SDK-2922


Note

Overview
Updates the Run SDK contract test v3 step in common_ci.yml so version is v3 instead of the pinned v3.0.0-alpha.6.

That aligns the FDv2 job with how v2 contract tests already float on a major version prefix and lets the harness downloader pick the newest matching release (including prereleases), avoiding manual bumps after each sdk-test-harness release.

Reviewed by Cursor Bugbot for commit 66b3bf2. Bugbot is set up for automated code reviews on this repo. Configure here.

@jsonbailey
jsonbailey requested a review from a team as a code owner August 14, 2026 22:09
…alpha

The FDv2 contract test job pinned sdk-test-harness to v3.0.0-alpha.6, which
means every harness release needs a manual bump here. In practice the pin went
stale and the job skipped all v3.1.x and v3.2.x tests.

The harness downloader resolves a partial version against the Releases API and
includes prereleases, so "v3" selects the newest v3 release. The FDv1 job in
this repo already floats the same way on the action default of "v2".
@jsonbailey
jsonbailey force-pushed the jb/sdk-2922/float-v3-contract-tests branch from 7126469 to 66b3bf2 Compare August 14, 2026 22:10
@jsonbailey jsonbailey changed the title ci: Track the latest v3 contract test release instead of a pinned alpha chore: Track the latest v3 contract test release instead of a pinned alpha Aug 14, 2026
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