Skip to content

Project only the latest snapshot of each entity in a single batch #101

Project only the latest snapshot of each entity in a single batch

Project only the latest snapshot of each entity in a single batch #101

Triggered via pull request January 30, 2025 09:21
Status Failure
Total duration 2m 21s
Artifacts

test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Tests.DataModelSimpleChanges.Writing2ChangesAtOnceWithMergedHistory
VerifyException : Directory: /home/runner/work/harmony/harmony/src/SIL.Harmony.Tests NotEqual: - Received: DataModelSimpleChanges.Writing2ChangesAtOnceWithMergedHistory.received.txt Verified: DataModelSimpleChanges.Writing2ChangesAtOnceWithMergedHistory.verified.txt FileContent: NotEqual: Received: DataModelSimpleChanges.Writing2ChangesAtOnceWithMergedHistory.received.txt Verified: DataModelSimpleChanges.Writing2ChangesAtOnceWithMergedHistory.verified.txt Compare Result: [ { $type: Commit, Snapshots: [ { $type: ObjectSnapshot, Id: Guid_1, TypeName: Word, Entity: { $type: Word, Text: first, Id: Guid_2 }, EntityId: Guid_2, EntityIsDeleted: false, CommitId: Guid_3, IsRoot: true } ], Hash: Hash_1, ParentHash: Hash_Empty, ChangeEntities: [ { $type: ChangeEntity<IChange>, CommitId: Guid_3, EntityId: Guid_2, Change: { $type: SetWordTextChange, Text: first, EntityId: Guid_2, EntityType: Word } } ], CompareKey: { $type: ValueTuple<DateTimeOffset, long, Item1: DateTimeOffset_1, Item3: Guid_3 }, Id: Guid_3, HybridDateTime: { $type: HybridDateTime, DateTime: DateTimeOffset_1 }, DateTime: DateTimeOffset_1, Metadata: { $type: CommitMetadata }, ClientId: Guid_4 }, { $type: Commit, - Snapshots: [ - { - $type: ObjectSnapshot, - Id: Guid_5, - TypeName: Word, - Entity: { - $type: Word, - Text: first, - Note: a word note, - Id: Guid_2 - }, - EntityId: Guid_2, - EntityIsDeleted: false, - CommitId: Guid_6, - IsRoot: false - } - ], Hash: Hash_2, ParentHash: Hash_1, ChangeEntities: [ { $type: ChangeEntity<IChange>, - CommitId: Guid_6, + CommitId: Guid_5, EntityId: Guid_2, Change: { $type: SetWordNoteChange, Note: a word note, EntityId: Guid_2, EntityType: Word } } ], CompareKey: { $type: ValueTuple<DateTimeOffset, long, Item1: DateTimeOffset_2, - Item3: Guid_6 + Item3: Guid_5 }, - Id: Guid_6, + Id: Guid_5, HybridDateTime: { $type: HybridDateTime, DateTime: DateTimeOffset_2 }, DateTime: DateTimeOffset_2, Metadata: { $type: CommitMetadata }, ClientId: Guid_4 }, { $type: Commit, Snapshots: [ { $type: ObjectSnapshot, - Id: Guid_7, + Id: Guid_6, TypeName: Word, Entity: { $type: Word, Text: second, Id: Guid_2 }, EntityId: Guid_2, EntityIsDeleted: false, - CommitId: Guid_8, + CommitId: Guid_7, IsRoot: false } ], Hash: Hash_3, ParentHash: Hash_2, ChangeEntities: [ { $type: ChangeEntity<IChange>, - CommitId: Guid_8, + CommitId: Guid_7, EntityId: Guid_2, Change: { $type: SetWordTextChange, Text: second, EntityId: Guid_2, EntityType: Word } } ], CompareKey: { $type: ValueTuple<DateTimeOffset, long, Item1: DateTimeOffset_3, - Item3: Guid_8 + Item3: Guid_7 }, - Id: Guid_8, + Id: Guid_7, HybridDateTime: { $type: HybridDateTime, DateTime: DateTimeOffset_3 }, DateTime: DateTimeOffset_3, Metadata: { $type: CommitMetadata }, ClientId: Guid_4 }, { $type: Commit, Snapshots: [ { $type: ObjectSnapshot, -
build
Process completed with exit code 1.