Skip to content

Conversation

@hahn-kev
Copy link
Collaborator

@hahn-kev hahn-kev commented Oct 30, 2024

related to #1127

  • uses the new harmony version to put a commit id on each object
  • creates a new UpdateEntry(Entry entry) api for updating using the version to ensure we don't stomp on changes
  • write some fuzzing tests using randomly generated entries for create and update tests

hahn-kev and others added 25 commits October 17, 2024 14:54
was current/previous now before after
# Conflicts:
#	backend/FwLite/FwDataMiniLcmBridge/Api/UpdateProxy/UpdateSenseProxy.cs
#	backend/FwLite/FwLiteProjectSync.Tests/UpdateDiffTests.cs
#	backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs
#	backend/FwLite/MiniLcm/Models/Entry.cs
# Conflicts:
#	.idea/.idea.LexBox/.idea/dataSources.xml
#	backend/FwLite/FwLiteProjectSync.Tests/Fixtures/SyncFixture.cs
@github-actions
Copy link

github-actions bot commented Oct 30, 2024

C# Unit Tests

75 tests  ±0   75 ✅ ±0   5s ⏱️ ±0s
13 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 9a315be. ± Comparison against base commit 85f9555.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@myieye myieye left a comment

Choose a reason for hiding this comment

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

Made a bit of progress

@hahn-kev
Copy link
Collaborator Author

hahn-kev commented Nov 4, 2024

had a chat with Tim, and we realized this approach won't work using version numbers and such, otherwise since updates could come from before that version was made, we can't reliably get that version, if we didn't then we could overwrite someone elses changes.

# Conflicts:
#	backend/FwLite/FwDataMiniLcmBridge/Api/FwDataMiniLcmApi.cs
#	backend/FwLite/FwLiteProjectSync.Tests/Fixtures/SyncFixture.cs
#	backend/FwLite/FwLiteProjectSync.Tests/UpdateDiffTests.cs
#	backend/FwLite/FwLiteProjectSync/CrdtFwdataProjectSyncService.cs
#	backend/FwLite/FwLiteProjectSync/DryRunMiniLcmApi.cs
#	backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs
#	backend/FwLite/LcmCrdt/LcmCrdtKernel.cs
#	backend/FwLite/MiniLcm/IMiniLcmWriteApi.cs
#	backend/FwLite/MiniLcm/InMemoryApi.cs
#	backend/FwLite/MiniLcm/SyncHelpers/EntrySync.cs
…hen an entry is created, fix issue with ordering of adding complex forms to an entry
@hahn-kev hahn-kev marked this pull request as ready for review November 12, 2024 02:57
@hahn-kev hahn-kev requested a review from myieye November 12, 2024 02:57
Copy link
Collaborator

@myieye myieye left a comment

Choose a reason for hiding this comment

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

This looks good to me.
The commit removing object versions was a bit sad to look at 😢

@hahn-kev hahn-kev merged commit b188a5d into develop Nov 14, 2024
16 checks passed
@hahn-kev hahn-kev deleted the minilcm-diff-apis branch November 14, 2024 02:13
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.

4 participants