feat: expose mapped raw and uns data through grpc adapters
This commit is contained in:
@@ -66,6 +66,9 @@ public interface IScriptRunner
|
||||
IReadOnlyCollection<string> QuarantinedKeys(ScriptContextKind kind);
|
||||
}
|
||||
|
||||
/// <summary>A runner that owns invocation physical leases until underlying execution actually completes.</summary>
|
||||
public interface IPhysicalScriptRunner : IScriptRunner { }
|
||||
|
||||
/// <summary>Which script context (and result type) a script compiles against.</summary>
|
||||
public enum ScriptContextKind
|
||||
{
|
||||
@@ -86,13 +89,15 @@ public enum ScriptContextKind
|
||||
/// <param name="Inputs">The read cache: dependency snapshots by path. Not mutated until the run completes.</param>
|
||||
/// <param name="Timeout">The soft budget <c>T</c>.</param>
|
||||
/// <param name="ScriptLogger">The per-evaluation script logger <c>ctx.Logger</c> writes through; null ⇒ a silent logger.</param>
|
||||
/// <param name="PhysicalLease">Retained input ownership transferred to a physical-lifetime-aware runner.</param>
|
||||
public sealed record ScriptInvocation(
|
||||
string Key,
|
||||
ScriptContextKind Kind,
|
||||
string Source,
|
||||
IReadOnlyDictionary<string, DataValueSnapshot> Inputs,
|
||||
TimeSpan Timeout,
|
||||
Serilog.ILogger? ScriptLogger = null);
|
||||
Serilog.ILogger? ScriptLogger = null,
|
||||
IDisposable? PhysicalLease = null);
|
||||
|
||||
/// <summary>How an evaluation ended.</summary>
|
||||
public enum ScriptRunStatus
|
||||
|
||||
Reference in New Issue
Block a user