style: apply dotnet format whitespace to the phase 5c files
CI / Build and test (pull_request) Successful in 8m52s
CI / PostgreSQL 16 integration (pull_request) Successful in 9m21s
CI / Docker image (pull_request) Successful in 1m48s
CI / YAML check (pull_request) Successful in 7s
CI / Windows tests and installer (pull_request) Skipped
CI / PostgreSQL 17 integration (pull_request) Successful in 8m59s
CI / Build and test (pull_request) Successful in 8m52s
CI / PostgreSQL 16 integration (pull_request) Successful in 9m21s
CI / Docker image (pull_request) Successful in 1m48s
CI / YAML check (pull_request) Successful in 7s
CI / Windows tests and installer (pull_request) Skipped
CI / PostgreSQL 17 integration (pull_request) Successful in 8m59s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e65d10ead2
commit
99ae344c0d
3 files changed
+7
-3
No files matched your search
@@ -803,7 +803,8 @@ public sealed partial class WorkspaceHost
|
|||||||
var conflict = status.Conflict is not null || project.OpenConflict() is not null;
|
var conflict = status.Conflict is not null || project.OpenConflict() is not null;
|
||||||
var (unsentRenders, lastOriginals) = await RemovalMediaAsync(project, cancellationToken).ConfigureAwait(false);
|
var (unsentRenders, lastOriginals) = await RemovalMediaAsync(project, cancellationToken).ConfigureAwait(false);
|
||||||
return new WorkspaceRemovalPlan(projectId, name, files, bytes, status.Ahead + status.Damaged, status.Modified, conflict, status.Offline,
|
return new WorkspaceRemovalPlan(projectId, name, files, bytes, status.Ahead + status.Damaged, status.Modified, conflict, status.Offline,
|
||||||
status.State == WorkspaceState.Gone) { UnsentRenders = unsentRenders, LastOriginals = lastOriginals };
|
status.State == WorkspaceState.Gone)
|
||||||
|
{ UnsentRenders = unsentRenders, LastOriginals = lastOriginals };
|
||||||
}, cancellationToken);
|
}, cancellationToken);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ public sealed class DesktopScheduleHostTests(TestContext context)
|
|||||||
// Chronos was closed for two days: the missed copy is made once at start (catch-up, as the housekeeping's run; the
|
// Chronos was closed for two days: the missed copy is made once at start (catch-up, as the housekeeping's run; the
|
||||||
// scan has none and just moves on; the workspace clean-up, with catch-up too, runs once as well).
|
// scan has none and just moves on; the workspace clean-up, with catch-up too, runs once as well).
|
||||||
fx.Clock.Advance(TimeSpan.FromDays(2.5));
|
fx.Clock.Advance(TimeSpan.FromDays(2.5));
|
||||||
Assert.Equal(3,await scheduler.RunDueAsync());
|
Assert.Equal(3, await scheduler.RunDueAsync());
|
||||||
var job = (await fx.Db.Jobs.ListByScheduleAsync(backup.Id)).Single();
|
var job = (await fx.Db.Jobs.ListByScheduleAsync(backup.Id)).Single();
|
||||||
Assert.Equal((JobKind.Backup, JobPriority.Background, JobState.Queued), (job.Kind, job.Priority, job.State));
|
Assert.Equal((JobKind.Backup, JobPriority.Background, JobState.Queued), (job.Kind, job.Priority, job.State));
|
||||||
Assert.Equal(0, await scheduler.RunDueAsync());
|
Assert.Equal(0, await scheduler.RunDueAsync());
|
||||||
|
|||||||
@@ -74,7 +74,10 @@ public sealed class WorkspaceOpenPolicyTests(TestContext context)
|
|||||||
UiLanguage.Apply("en");
|
UiLanguage.Apply("en");
|
||||||
var settings = new AppSettings
|
var settings = new AppSettings
|
||||||
{
|
{
|
||||||
Language = "en", FirstRunCompleted = true, CheckForUpdates = false, WorkspaceDefaultMedia = BundleMedia.Originals,
|
Language = "en",
|
||||||
|
FirstRunCompleted = true,
|
||||||
|
CheckForUpdates = false,
|
||||||
|
WorkspaceDefaultMedia = BundleMedia.Originals,
|
||||||
};
|
};
|
||||||
var services = new AppServices(environment, settings, () => { }, new NoDialogs());
|
var services = new AppServices(environment, settings, () => { }, new NoDialogs());
|
||||||
await services.AttachAsync(await ChronosDatabase.OpenAsync(DatabaseOptions.Sqlite(environment.DatabasePath)), startEngine: true);
|
await services.AttachAsync(await ChronosDatabase.OpenAsync(DatabaseOptions.Sqlite(environment.DatabasePath)), startEngine: true);
|
||||||
|
|||||||
Reference in new issue
Block a user