Skip to content

feat: [FD-5561] implement FDv2 polling endpoint GET /sdk/poll - #700

Closed
hkotian wants to merge 1 commit into
hkotian/FD-5510/adding-payload-id-version-dev-serverfrom
hkotian/FD-5561/v2-poll-support
Closed

feat: [FD-5561] implement FDv2 polling endpoint GET /sdk/poll#700
hkotian wants to merge 1 commit into
hkotian/FD-5510/adding-payload-id-version-dev-serverfrom
hkotian/FD-5561/v2-poll-support

Conversation

@hkotian

@hkotian hkotian commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Adds the FDv2 flag-delivery-v2 polling endpoint. The endpoint only does full transfers here because since this is a dev server and it would be an overkill to track all changes in the first iteration.

Requirements

  • I have added test coverage for new or changed functionality
  • I have followed the repository's pull request submission guidelines
  • I have validated my changes against all supported platform versions

Related issues

Provide links to any issues in this repository or elsewhere relating to this pull request.

Describe the solution you've provided

Provide a clear and concise description of what you expect to happen.

Describe alternatives you've considered

Provide a clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context about the pull request here.


Related Jira issue: FD-5561: Implement poll server side endpoint handling in Launchdarkly dev server

Adds the FDv2 flag-delivery-v2 polling endpoint used by Go SDK v7.13+.
The endpoint handles three cases:
- No basis: full transfer with payload-missing reason
- Up-to-date basis: none intent with up-to-date reason
- Stale basis: full transfer with cant-catchup reason (no delta history stored)

Defines own wire-format types matching the SDK's expected JSON tags
(json:"event", json:"intentCode") instead of using the SDK's internal
subsystems types which are explicitly marked as unstable.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@launchdarkly-upra launchdarkly-upra Bot changed the title feat: implement FDv2 polling endpoint GET /sdk/poll feat: [FD-5561] implement FDv2 polling endpoint GET /sdk/poll Apr 27, 2026
@hkotian hkotian closed this Apr 27, 2026
@hkotian
hkotian deleted the hkotian/FD-5561/v2-poll-support branch April 27, 2026 17:27
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