System.IO.IOException: Illegal byte sequence : '/Users/runner/actions-runner/cached/_diag/Worker_20260727-145623-utc.log'
at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset)
at System.IO.Strategies.OSFileStreamStrategy.Write(ReadOnlySpan`1 buffer)
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.Diagnostics.TextWriterTraceListener.Flush()
at GitHub.Runner.Common.HostTraceListener.WriteLine(String message)
at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String message)
at GitHub.Runner.Common.HostContext.GetDirectory(WellKnownDirectory directory)
at GitHub.Runner.Common.HostContext.GetDirectory(WellKnownDirectory directory)
at GitHub.Runner.Common.HostContext.GetDirectory(WellKnownDirectory directory)
at GitHub.Runner.Common.PagingLogger.Initialize(IHostContext hostContext)
at GitHub.Runner.Common.HostContext.CreateService[T]()
at GitHub.Runner.Worker.ExecutionContext.CreateChild(Guid recordId, String displayName, String refName, String scopeName, String contextName, ActionRunStage stage, Dictionary`2 intraActionState, Nullable`1 recordOrder, IPagingLogger logger, Boolean isEmbedded, List`1 embeddedIssueCollector, CancellationTokenSource cancellationTokenSource, Guid embeddedId, String siblingScopeName, Nullable`1 timeout, Boolean isBackground, String backgroundControlType, String[] backgroundControlStepIds, String parallelGroupId)
at GitHub.Runner.Worker.JobExtension.FinalizeJob(IExecutionContext jobContext, AgentJobRequestMessage message, DateTime jobStartTimeUtc)
at GitHub.Runner.Worker.JobRunner.RunAsync(AgentJobRequestMessage message, CancellationToken jobRequestCancellationToken)
at GitHub.Runner.Worker.JobRunner.RunAsync(AgentJobRequestMessage message, CancellationToken jobRequestCancellationToken)
at GitHub.Runner.Worker.Worker.RunAsync(String pipeIn, String pipeOut)
at GitHub.Runner.Worker.Program.MainAsync(IHostContext context, String[] args)
System.IO.IOException: Illegal byte sequence : '/Users/runner/actions-runner/cached/_diag/Worker_20260727-145623-utc.log'
at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset)
at System.IO.Strategies.OSFileStreamStrategy.Write(ReadOnlySpan`1 buffer)
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.Diagnostics.TextWriterTraceListener.Flush()
at GitHub.Runner.Common.HostTraceListener.WriteLine(String message)
at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String message)
at GitHub.Runner.Common.Tracing.Error(Exception exception)
at GitHub.Runner.Worker.Program.MainAsync(IHostContext context, String[] args)