-
Notifications
You must be signed in to change notification settings - Fork 42
feat: conform FDv1 streaming and polling data sources to the RETRY spec #2059
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
f1af537
feat: conform FDv1 streaming and polling data sources to the RETRY spec
tanderson-ld b0e5aff
test: cover retry interruptibility, transport errors, and self-close …
tanderson-ld 4fffdfb
Merge remote-tracking branch 'origin/main' into ta/SDK-2790/retry-wiring
tanderson-ld 9fbd27a
fix: default the browser EventSource backoff bounds now that they are…
tanderson-ld a8579fb
fix: restore built-in streaming backoff defaults and address review f…
tanderson-ld 54ba5dd
build: preapprove launchdarkly-eventsource for the npm minimum-age gate
tanderson-ld File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| name: sdk/server-node nightly | ||
|
|
||
| on: | ||
| schedule: | ||
| - cron: '0 3 * * *' | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| contract-tests: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| - uses: ./actions/setup-yarn | ||
| with: | ||
| node-version: 22 | ||
| registry-url: 'https://registry.npmjs.org' | ||
| - id: shared | ||
| name: Shared CI Steps | ||
| uses: ./actions/ci | ||
| with: | ||
| workspace_name: '@launchdarkly/node-server-sdk' | ||
| workspace_path: packages/sdk/server-node | ||
| - name: Install contract test service dependencies | ||
| env: | ||
| ELECTRON_SKIP_BINARY_DOWNLOAD: '1' | ||
| run: yarn workspace @launchdarkly/node-server-sdk-contract-tests install --no-immutable | ||
| - name: Build shared contract test utils (server) | ||
| run: yarn workspace @launchdarkly/js-contract-test-utils build:server | ||
| - name: Build the test service | ||
| run: yarn workspace @launchdarkly/node-server-sdk-contract-tests build | ||
| - name: Launch the test service in the background | ||
| run: yarn workspace @launchdarkly/node-server-sdk-contract-tests start 2>&1 & | ||
| # The retry-conformance suite is long-running (real backoff waits), so it | ||
| # runs here nightly rather than on every PR. | ||
| - name: Run contract tests (long-running) | ||
| uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 | ||
| with: | ||
| test_service_port: 8000 | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
| stop_service: 'false' | ||
| extra_params: '--enable-long-running-tests --skip-from=./packages/sdk/server-node/contract-tests/testharness-suppressions.txt' |
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.