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

Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #68.
This commit is contained in:
Alby96 authored and Alby96 committed 2026-11-15 18:11:43 +01:00
1 parent 988068ee8e
commit 20d64af4a4
793 files changed
+23882 -2096

No files matched your search

@@ -386,6 +386,35 @@ public sealed class RemoteSequenceSourceTests(TestContext context)
Assert.True(api.Disposed, "closing the editor closes its connection");
}
[Test]
public async Task TheServersJobSaysWhatItDoesNow()
{
Loc.SetCulture(System.Globalization.CultureInfo.GetCultureInfo("en"));
var (source, api, _) = Open();
await using (source)
{
await source.LoadAsync(context.Cancellation);
var seen = new List<Job>();
source.JobChanged += job =>
{
lock (seen) seen.Add(job);
};
var id = Guid.CreateVersion7();
api.Jobs[id] = api.Job(id, "render", "running");
api.Publish(new JobStateEvent(id, "running", null));
await WaitAsync(() => Last(seen).Id == id);
// Owner review 5, #65: the progress event carries the step, and an older server's event without one keeps it.
api.Publish(new JobProgressEvent(id, 40, 300, 11.3, 20, new JobDetailDto("encode", null, 40, 300)));
await WaitAsync(() => Last(seen).ProgressDone == 40);
Assert.Equal(new JobDetail(JobStep.Encode, null, 40, 300), Last(seen).Detail);
Assert.Contains("Encoding frame 40 of 300", EditorText.ServerJobDetail(Last(seen), "Studio NAS"));
api.Publish(new JobProgressEvent(id, 41, 300, 11.3, 19));
await WaitAsync(() => Last(seen).ProgressDone == 41);
Assert.Equal(JobStep.Encode, Last(seen).Detail?.Step);
}
}
[Test]
public async Task ASequenceGoneFromTheServerReadsAsMissing()
{