fix: allow safe fresh-clone DryRun builds

This commit is contained in:
2026-07-24 14:03:29 +09:00
parent b050f2f06c
commit 68a41194c9
15 changed files with 420 additions and 40 deletions

View File

@@ -22,8 +22,17 @@ public static class PlayoutOptionsLoader
public static PlayoutOptions Load(
string? path = null,
string? operatorSceneDirectory = null,
string? operatorBackgroundDirectory = null)
string? operatorBackgroundDirectory = null,
bool forceSafeDryRun = false)
{
// Source-only builds are for code/UI review on machines without the
// approved runtime tree. Do not consume a previous machine-local playout
// profile or process override in that build flavor.
if (forceSafeDryRun)
{
return new PlayoutOptions();
}
var options = LoadJson(path ?? DefaultPath);
ApplyOperatorAssetOverrides(
options,