feat: single setup, mass-pass progress, per-server homes, Desktop shares its library (owner review 5, v1.1.0) (#68)
CI / Build and test (push) Successful in 11m36s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 12s
Release / Build, test and publish (push) Successful in 14m56s
CI / PostgreSQL 16 integration (push) Successful in 10m11s
CI / PostgreSQL 17 integration (push) Successful in 10m15s
CI / Docker image (push) Successful in 45s
Release / Server image (push) Successful in 4m55s
CI / Build and test (push) Successful in 11m36s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 12s
Release / Build, test and publish (push) Successful in 14m56s
CI / PostgreSQL 16 integration (push) Successful in 10m11s
CI / PostgreSQL 17 integration (push) Successful in 10m15s
CI / Docker image (push) Successful in 45s
Release / Server image (push) Successful in 4m55s
Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #68.
This commit is contained in:
1 parent
988068ee8e
commit
20d64af4a4
793 files changed
+23882
-2096
No files matched your search
@@ -50,7 +50,7 @@ public sealed class WorkspaceEditorTests(TestContext context)
|
||||
|
||||
Assert.True(session.Edit(p => Exposure(p, 0.4)));
|
||||
Assert.True(await session.FlushAsync());
|
||||
var folder = host.Store.Find(projectId)!;
|
||||
var folder = host.Find(projectId)!;
|
||||
Assert.Equal(0.4, folder.ReadBundle().Project.Exposure.ExposureOffsetEv);
|
||||
Assert.Equal(libraryBefore, (await bed.RowAsync()).SettingsJson, "editing never writes the library");
|
||||
Assert.Equal(WorkspaceState.Modified, (await host.StatusAsync(projectId)).State);
|
||||
@@ -72,12 +72,12 @@ public sealed class WorkspaceEditorTests(TestContext context)
|
||||
await using var bed = await WorkspaceTestBed.CreateAsync(context, frames: 3);
|
||||
var host = bed.Host();
|
||||
var projectId = await bed.CheckoutAsync(host);
|
||||
var impatient = new WorkspaceSync(host.Store, "Chronos test") { LockWait = TimeSpan.FromMilliseconds(200) };
|
||||
var impatient = new WorkspaceSync(host.Find(projectId)!.Store, "Chronos test") { LockWait = TimeSpan.FromMilliseconds(200) };
|
||||
var source = new WorkspaceSequenceSource(impatient, projectId, bed.Db, DecoderFactory.CreateClient(null), bed.Engine);
|
||||
await using (source)
|
||||
{
|
||||
// A long sync or copy holds the project: the editor says so in words, and nothing was read.
|
||||
using (await host.Store.Find(projectId)!.LockAsync(TimeSpan.FromSeconds(TestTiming.Budget(5)), bed.Ct))
|
||||
using (await host.Find(projectId)!.LockAsync(TimeSpan.FromSeconds(TestTiming.Budget(5)), bed.Ct))
|
||||
{
|
||||
var busy = await Assert.ThrowsAsync<EditorException>(() => source.LoadAsync(bed.Ct));
|
||||
Assert.Equal(Loc.L("Errors.Workspace.Busy"), busy.Message);
|
||||
@@ -328,7 +328,7 @@ public sealed class WorkspaceEditorTests(TestContext context)
|
||||
Assert.Equal(excluded, session.Content.Frames[3].Id);
|
||||
Assert.True(session.Edit(p => Exposure(p, 0.2)));
|
||||
Assert.True(await session.FlushAsync(), "saves go on over the new frames");
|
||||
Assert.SequenceEqual([3], host.Store.Find(projectId)!.ReadBundle().Project.ExcludedFrames);
|
||||
Assert.SequenceEqual([3], host.Find(projectId)!.ReadBundle().Project.ExcludedFrames);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user