using System; using System.Collections.Generic; using GitHub.Actions.RunService.WebApi; using GitHub.DistributedTask.WebApi; using GitHub.Runner.Common.Util; using GitHub.Runner.Worker.Container; using Newtonsoft.Json.Linq; using Sdk.RSWebApi.Contracts; namespace GitHub.Runner.Worker { public sealed class GlobalContext { public ContainerInfo Container { get; set; } public List Endpoints { get; set; } public IDictionary EnvironmentVariables { get; set; } public PlanFeatures Features { get; set; } public IList FileTable { get; set; } public IDictionary> JobDefaults { get; set; } public List StepsTelemetry { get; set; } public List StepsResult { get; set; } public List JobAnnotations { get; set; } public List JobTelemetry { get; set; } public TaskOrchestrationPlanReference Plan { get; set; } public List PrependPath { get; set; } public List ServiceContainers { get; set; } public StepsContext StepsContext { get; set; } public Variables Variables { get; set; } public bool WriteDebug { get; set; } public string InfrastructureFailureCategory { get; set; } public JObject ContainerHookState { get; set; } public bool HasTemplateEvaluatorMismatch { get; set; } public bool HasActionManifestMismatch { get; set; } } }