ci: add bounded complete release gate

This commit is contained in:
Erik 2026-08-18 09:09:38 +02:00
parent 0a934cf578
commit 2ac054864d
11 changed files with 772 additions and 102 deletions

View file

@ -750,7 +750,18 @@ public sealed class LauncherProcessSupervisorTests
{
try
{
last = await File.ReadAllTextAsync(path);
// This is a live-file poll, not a post-close read. Match
// the production status tailer's sharing contract so the
// assertion cannot transiently deny the stderr callback's
// final append and make the no-throw capture sink latch
// itself off before the expected line arrives.
using var stream = new FileStream(
path,
FileMode.Open,
FileAccess.Read,
FileShare.ReadWrite | FileShare.Delete);
using var reader = new StreamReader(stream);
last = await reader.ReadToEndAsync();
if (last.Contains(expectedFragment, StringComparison.Ordinal))
{
return last;