Repository navigation
ci: Disable persistence tests for the SSE contract test harness - #103
Merged
Merged
Conversation
There was a problem hiding this comment.
Risk: low. Approved under SDK rules 1–3: this is not a release PR, the author is on the allowed SDK team list, and the one-line CI action change is outside .github/workflows/ so the workflow-only restriction does not apply. Cursor Bugbot completed successfully with no findings that require human review.
Sent by Cursor Approval Agent: SDK - Pull Request Router and Approver
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


The
launchdarkly/gh-actionscontract-tests action added anenable_persistence_testsinput in v1.3.0 that defaults totrueand passes-enable-persistence-teststo the harness.sse-contract-testsdoesn't define that flag and exits with a usage error, so contract tests fail once the action resolves to v1.3 or later. That will happen with #102, which moves to thecontract-tests/v1slash tag.This sets
enable_persistence_tests: false, matching the other SSE implementations. On the currently pinned v1.1.0 the input is unknown and only produces a warning.Note
Overview
Adds
enable_persistence_tests: falseto the shared CI composite action’slaunchdarkly/gh-actionscontract-tests step when running againstsse-contract-tests.That opts out of persistence tests so the harness isn’t passed
-enable-persistence-tests(whichsse-contract-testsdoesn’t support). This avoids contract-test failures when the action moves to v1.3+, where that input defaults totrue, while staying compatible with the pinned v1.1.0 (unknown input → warning only).Reviewed by Cursor Bugbot for commit b2f9990. Bugbot is set up for automated code reviews on this repo. Configure here.