feat: owner review 2 phase 5c: originals, local render, clean-up and the workspace settings (#18)
CI / Build and test (push) Successful in 9m26s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 8s
Release / Build, test and publish (push) Successful in 14m31s
CI / PostgreSQL 16 integration (push) Successful in 9m53s
CI / PostgreSQL 17 integration (push) Successful in 9m22s
CI / Docker image (push) Successful in 44s
Release / Server image (push) Successful in 1m36s
CI / Build and test (push) Successful in 9m26s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 8s
Release / Build, test and publish (push) Successful in 14m31s
CI / PostgreSQL 16 integration (push) Successful in 9m53s
CI / PostgreSQL 17 integration (push) Successful in 9m22s
CI / Docker image (push) Successful in 44s
Release / Server image (push) Successful in 1m36s
Originals in the workspace, local render and send home with provenance, the workspace clean-up, size limit and trash, moving the workspace folder, and the complete Settings › Workspace page (owner review 2, R8, phase 5c). One adversarial review round (35 findings, 32 fixed), a copy-cancel race fixed, 184 strings in all 38 languages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #18.
This commit is contained in:
1 parent
81c303f484
commit
db389a54f2
364 files changed
+17417
-595
No files matched your search
@@ -91,6 +91,24 @@ public sealed class SequenceJobsTests
|
||||
Assert.Null(jobs.Active(JobKind.LightAnalyse));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TheServerHeaderNeverShowsAWorkspaceRenderOrSendOfThisPc()
|
||||
{
|
||||
var jobs = new SequenceJobs(Sunset);
|
||||
var now = DateTimeOffset.UtcNow;
|
||||
var local = Job(JobKind.WorkspaceRender, JobState.Running) with { Started = now };
|
||||
var send = Job(JobKind.WorkspaceSend, JobState.Queued);
|
||||
jobs.Track(local);
|
||||
jobs.Track(send);
|
||||
Assert.Equal(local.Id, jobs.Shown!.Id, "the editor follows it");
|
||||
Assert.Null(jobs.ShownAtHome, "the server header and its Cancel do not");
|
||||
var atHome = Job(JobKind.DeepAnalyse, JobState.Queued) with { Created = now.AddMinutes(-3) };
|
||||
jobs.Track(atHome);
|
||||
Assert.Equal(atHome.Id, jobs.ShownAtHome!.Id, "a job at the home waits behind the local render, and is the one shown");
|
||||
Assert.True(SequenceJobs.IsLocalKind(JobKind.WorkspaceSend));
|
||||
Assert.False(SequenceJobs.IsLocalKind(JobKind.Render));
|
||||
}
|
||||
|
||||
private static Job Job(JobKind kind, JobState state, Guid? target = null) => new()
|
||||
{
|
||||
Id = Guid.CreateVersion7(),
|
||||
|
||||
Reference in new issue
Block a user