fix(copies): close the third verification round and add the match baselines
Integrate trashes a server photo only for the sequence's owner or an admin, a Details stage stops instead of overwriting a server change the user had kept this PC's value against, a merge retried after a stop plans again when work reached the other sequence, detection keeps pairs answered while it ran, and a sync row whose match the server deleted offers Keep here, Upload again and To trash. The Integrate and merge logs say in the UI language why a version was kept. The edit-picker-twins capture scene showed no Twin chip, since a capture has no workspace: it now lists sample workspace projects of the sample matches. The screenshot baselines gain the 38 Matches screens and take the Matches chip, the three Settings > Server rows, the longer priority list and 1.2.0. Refs #73 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3e6110d329
commit
3c99badcfe
96 files changed
+910
-147
No files matched your search
@@ -70,6 +70,23 @@ public abstract class FoundCopyStoreTests(TestContext context) : RepositoryTest(
|
||||
return job;
|
||||
}
|
||||
|
||||
[Test]
|
||||
public async Task ThePruneOfAStaleCandidateLeavesARowAnsweredMeanwhile()
|
||||
{
|
||||
var (db, _, s) = await SetupAsync(2);
|
||||
var store = new FoundCopyStore(db);
|
||||
var stale = await store.UpsertFoundAsync(Remote(s[0].Id, Guid.CreateVersion7()), Ct);
|
||||
var answered = await store.UpsertFoundAsync(Remote(s[1].Id, Guid.CreateVersion7()), Ct);
|
||||
// Detection read both as candidates; the user keeps one apart before the prune runs.
|
||||
Assert.True(await store.SetStateAsync(answered.Id, CopyState.Candidate, CopyState.KeptApart, Answer(), Ct));
|
||||
|
||||
Assert.True(await store.DeleteCandidateAsync(stale.Id, Ct));
|
||||
Assert.False(await store.DeleteCandidateAsync(answered.Id, Ct));
|
||||
|
||||
Assert.Null(await store.GetAsync(stale.Id, Ct));
|
||||
Assert.Equal(CopyState.KeptApart, (await store.GetAsync(answered.Id, Ct))!.State);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public async Task AnUpsertUpdatesScoresAndKeepsTheStateAndTheStrongerEvidence()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user