Add queued FFmpeg conversion and finish splitting the window from the host.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-25 01:49:50 +02:00
parent 48d03f794f
commit 6fc7506eb7
85 changed files with 3394 additions and 512 deletions

View File

@@ -61,6 +61,21 @@ public class OperationProfileServiceTests
Assert.Empty(ctx.Queue.Snapshot());
}
[Fact]
public async Task Convert_auto_run_is_ignored()
{
await using var ctx = await ProfileHarness.CreateAsync();
ctx.Profile.DoConvert = true;
ctx.Profile.AutoRun = true;
await ctx.Profiles.SaveAsync(ctx.Profile);
Assert.False((await ctx.Store.OperationProfiles.GetAsync(ctx.Profile.Id))!.CanAutoRun);
ctx.Volumes.Reachable = false;
await ctx.Profiles.TryAutoRunAsync();
ctx.Volumes.Reachable = true;
await ctx.Profiles.TryAutoRunAsync();
Assert.Empty(ctx.Queue.Snapshot());
}
private static async Task WaitUntil(Func<bool> condition)
{
var limit = DateTime.UtcNow + TimeSpan.FromSeconds(4);
@@ -119,7 +134,8 @@ public class OperationProfileServiceTests
enumerator,
git,
new NeverHydrate(),
new FakeArchiveExecutor());
new FakeArchiveExecutor(),
new FakeConversionExecutor());
return new ProfileHarness
{
Profiles = profiles,