Skip to content

Conversation

@tanderson-ld
Copy link
Contributor

@tanderson-ld tanderson-ld commented Jan 15, 2026

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
    Still need to validate this

Related issues

SDK-1608

Describe the solution you've provided

Porting related Dotnet sdk changes to Java SDK. Finding new homes for various helper functionality.


Note

Introduces FDv2 transactional update flow and supporting APIs.

  • Adds TransactionalDataSourceUpdateSink and DataSourceUpdateSinkV2 (status access + updateStatus) for FDv2 data sources
  • Extends DataSourceUpdatesImpl to implement V2 and handle apply(ChangeSet):
    • Transactional path for TransactionalDataStore.apply with dependency/event handling and status updates
    • Legacy path maps full changesets to init and partial to ordered upserts
    • Generates flag change events and maintains dependency graph for both paths
  • Adds DataModelDependencies.sortChangeset to order updates by dependencies and data kind
  • Updates tests to cover sorting, transactional/legacy paths, events, and environment/selector metadata; test helpers now support V2 sink
  • Minor: version file comment markers added around SDK_VERSION

Written by Cursor Bugbot for commit f3b09f5. This will update automatically on new commits. Configure here.

@tanderson-ld tanderson-ld requested a review from a team as a code owner January 15, 2026 21:31
Copy link
Contributor Author

@tanderson-ld tanderson-ld Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For reviewers: I had accidentally removed these previously.

@kinyoklion
Copy link
Member

bugbot review

}

// Calling Apply implies that the data source is now in a valid state.
updateStatus(State.VALID, null);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might be duplicating this notification, but we can sort the correct layering once we have things connected together.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no bugs!

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.

3 participants