fix(editor): a superseded export plan or estimate never replaces the current one
Undo and redo bring back the same project instance, so a cancelled planning request passed the 'still current' check and published an empty plan (Render disabled) or blank preset estimates. Only requests that ran now publish. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
3 files changed
+11
-2
No files matched your search
@@ -125,6 +125,7 @@ public sealed class EditorSmokeTests
|
||||
editor.RedoCommand.Execute(null);
|
||||
Assert.Equal(0.5, editor.Session.Project.Exposure.ExposureOffsetEv);
|
||||
await editor.Session.FlushAsync();
|
||||
Assert.True(await editor.WhenIdleAsync(TimeSpan.FromSeconds(60)));
|
||||
Assert.NotNull(editor.Plan, "the export is planned");
|
||||
}
|
||||
finally
|
||||
|
||||
Reference in new issue
Block a user