feat: harden isolated Tornado test workflow
This commit is contained in:
@@ -25,6 +25,16 @@ public static class PlayoutOptionsLoader
|
||||
return options;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Loads only the specified JSON file and deliberately ignores all environment
|
||||
/// overrides. Intended for explicit, reproducible diagnostic commands.
|
||||
/// </summary>
|
||||
public static PlayoutOptions LoadFileOnly(string path)
|
||||
{
|
||||
ArgumentException.ThrowIfNullOrWhiteSpace(path);
|
||||
return LoadJson(path);
|
||||
}
|
||||
|
||||
internal static bool IsLiveAuthorizedForThisLaunch() =>
|
||||
string.Equals(
|
||||
Environment.GetEnvironmentVariable(LiveAuthorizationEnvironmentVariable),
|
||||
|
||||
Reference in New Issue
Block a user