Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
- Added approvals orchestration with persistence and workflow scaffolding. - Integrated notifications insights and staged resume hooks. - Introduced approval coordinator and policy notification bridge with unit tests. - Added approval decision API with resume requeue and persisted plan snapshots. - Documented the Excitor consensus API beta and provided JSON sample payload. - Created analyzers to flag usage of deprecated merge service APIs. - Implemented logging for artifact uploads and approval decision service. - Added tests for PackRunApprovalDecisionService and related components.
9 lines
339 B
C#
9 lines
339 B
C#
namespace StellaOps.Scheduler.WebService.GraphJobs;
|
|
|
|
public readonly record struct GraphJobUpdateResult<TJob>(bool Updated, TJob Job) where TJob : class
|
|
{
|
|
public static GraphJobUpdateResult<TJob> UpdatedResult(TJob job) => new(true, job);
|
|
|
|
public static GraphJobUpdateResult<TJob> NotUpdated(TJob job) => new(false, job);
|
|
}
|