refactor(render): keep render remarks in the Export localisation area

Plan, render and encoder remarks now share the Export area with the
preset names; setups reject metadata that does not match the source.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-02 11:30:10 +00:00
1 parent 82f10a053e
commit e5026ca72e
9 files changed
+24 -23

No files matched your search

@@ -158,7 +158,7 @@ public sealed class RenderPipelineTests
{
var project = Plain with { ExcludedFrames = [.. Enumerable.Range(0, 12)] };
var error = await Assert.ThrowsAsync<RenderException>(() => Pipeline().RenderAsync(Input(Source(), project), Target(_context.CreateTempDirectory(), Preset("png-sequence"))));
Assert.Equal("Render.Error.NoFrames", error.ReasonKey);
Assert.Equal("Export.Render.NoFrames", error.ReasonKey);
}
[Test]
@@ -168,7 +168,7 @@ public sealed class RenderPlanTests
Assert.Empty(ease.Warnings);
var bad = RenderPlan.Build(Regular(60), Timing(TimingMode.Remapped, curve: [new(1, 1), new(0, 0.1), new(0.4, 0.8), new(0.6, 0.3)]), new Rational(24, 1));
Assert.Contains("Render.Plan.RemapNotMonotonic", bad.Warnings);
Assert.Contains("Export.Plan.RemapNotMonotonic", bad.Warnings);
AssertExactDurations(bad);
Assert.Approximately(0.1 * 60, bad.Frames[0].SourcePosition, 1e-9);
}
@@ -179,7 +179,7 @@ public sealed class RenderPlanTests
var plan = RenderPlan.Build(Regular(3), Timing(TimingMode.Constant, excluded: [0, 1, 2]), new Rational(30, 1));
Assert.Empty(plan.Frames);
Assert.Equal(0L, plan.Duration90k);
Assert.Contains("Render.Plan.NoFrames", plan.Warnings);
Assert.Contains("Export.Plan.NoFrames", plan.Warnings);
}
[Test]
@@ -187,7 +187,7 @@ public sealed class RenderPlanTests
{
var plan = RenderPlan.Build(new DateTime?[12], Timing(TimingMode.Adaptive), new Rational(30, 1));
Assert.Equal(12, plan.Frames.Count);
Assert.Contains("Render.Plan.NoCaptureTimes", plan.Warnings);
Assert.Contains("Export.Plan.NoCaptureTimes", plan.Warnings);
AssertExactDurations(plan);
}
}