merge: proxy and decode-tier fixes (V-1, V-24, V-25, V-26, V-27, V-28)
Merge branch fix2/proxies-tiers into the verification branch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
28 files changed
+1049
-92
No files matched your search
@@ -32,10 +32,14 @@ public sealed class RemoteEditingTests(TestContext context)
|
||||
var sequence = (await server.Database.Sequences.GetAsync(frame.SequenceId))!;
|
||||
var path = new ArchivePaths(server.Options.ArchivePath).Sequence(sequence.Folder).AnalysisPath;
|
||||
Directory.CreateDirectory(Path.GetDirectoryName(path)!);
|
||||
const string report = """{"version":1,"frameCount":1}""";
|
||||
var report = Reports.Minimal(1).ToJson();
|
||||
await File.WriteAllTextAsync(path, report, context.Cancellation);
|
||||
Assert.Equal(report, await client.GetAnalysisReportAsync(frame.SequenceId, context.Cancellation));
|
||||
|
||||
// One made for other frames is not this sequence's report.
|
||||
await File.WriteAllTextAsync(path, Reports.Minimal(2).ToJson(), context.Cancellation);
|
||||
Assert.Null(await client.GetAnalysisReportAsync(frame.SequenceId, context.Cancellation), "another frame count");
|
||||
|
||||
var gone = await Assert.ThrowsAsync<TitanoApiException>(() => client.GetAnalysisReportAsync(Guid.CreateVersion7(), context.Cancellation));
|
||||
Assert.Equal(HttpStatusCode.NotFound, gone.Status);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user