This commit is contained in:
StellaOps Bot
2025-12-26 21:43:56 +02:00
354 changed files with 354 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ public sealed class BundleIngestionStepExecutorTests
public async Task ExecuteAsync_MissingChecksum_Fails()
{
using var temp = new TempDirectory();
using StellaOps.TestKit;
var source = Path.Combine(temp.Path, "bundle.tgz");
var ct = TestContext.Current.CancellationToken;
await File.WriteAllTextAsync(source, "bundle-data", ct);

View File

@@ -25,6 +25,7 @@ public sealed class FilesystemPackRunArtifactReaderTests
public async Task ListAsync_ParsesManifestAndSortsByName()
{
using var temp = new TempDir();
using StellaOps.TestKit;
var runId = "run-1";
var manifestPath = Path.Combine(temp.Path, "run-1", "artifact-manifest.json");
Directory.CreateDirectory(Path.GetDirectoryName(manifestPath)!);

View File

@@ -30,6 +30,7 @@ public sealed class PackRunProvenanceWriterTests
Assert.True(File.Exists(path));
using var document = JsonDocument.Parse(await File.ReadAllTextAsync(path, ct));
using StellaOps.TestKit;
var root = document.RootElement;
Assert.Equal("run-test", root.GetProperty("runId").GetString());
Assert.Equal("tenant-alpha", root.GetProperty("tenantId").GetString());

View File

@@ -59,6 +59,7 @@ public sealed class TaskRunnerClientTests
""";
using var stream = new MemoryStream(Encoding.UTF8.GetBytes(ndjson));
using StellaOps.TestKit;
var entries = await StreamingLogReader.CollectAsync(stream, ct);
Assert.Equal(2, entries.Count);