release orchestrator v1 draft and build fixes

This commit is contained in:
master
2026-01-12 12:24:17 +02:00
parent f3de858c59
commit 9873f80830
1598 changed files with 240385 additions and 5944 deletions

View File

@@ -8,6 +8,7 @@ using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
using StellaOps.AdvisoryAI.Runs;
using StellaOps.Determinism;
namespace StellaOps.AdvisoryAI.WebService.Endpoints;
@@ -407,6 +408,8 @@ public static class RunEndpoints
string runId,
[FromBody] AddArtifactRequestDto request,
[FromServices] IRunService runService,
[FromServices] TimeProvider timeProvider,
[FromServices] IGuidProvider guidProvider,
[FromHeader(Name = "X-Tenant-Id")] string? tenantId,
CancellationToken ct)
{
@@ -416,11 +419,11 @@ public static class RunEndpoints
{
var run = await runService.AddArtifactAsync(tenantId, runId, new RunArtifact
{
ArtifactId = request.ArtifactId ?? Guid.NewGuid().ToString("N"),
ArtifactId = request.ArtifactId ?? guidProvider.NewGuid().ToString("N"),
Type = request.Type,
Name = request.Name,
Description = request.Description,
CreatedAt = DateTimeOffset.UtcNow,
CreatedAt = timeProvider.GetUtcNow(),
ContentDigest = request.ContentDigest,
ContentSize = request.ContentSize,
MediaType = request.MediaType,