Skip to content

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

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

chore: Track the latest v3 contract test release instead of a pinned alpha#492
jsonbailey wants to merge 1 commit into
mainfrom
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
The Run contract tests v3 step in ci.yml changes version from v3.0.0-alpha.6 to v3, so the shared contract-test action resolves the newest matching harness release via the downloader instead of staying on an April 2026 alpha.

That aligns v3 with how Run contract tests v2 already floats (no patch pin) and with other SDK repos that use partial v3. CI on this PR is the check that newer harness tests still pass; failures would be handled with skip/suppression config rather than re-pinning.

Reviewed by Cursor Bugbot for commit bd9f14c. 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 598242d to bd9f14c 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.

2 participants