feat(logging): build-config debug logging + task traceability #8

Open
claude wants to merge 8 commits from feature/debug-logging-traceability into main
Showing only changes of commit 075b6d13af - Show all commits

View File

@@ -1,5 +1,6 @@
using System.Text.Json;
using ClaudeDo.Data;
using Serilog.Context;
using ClaudeDo.Data.Models;
using ClaudeDo.Data.Repositories;
using ClaudeDo.Worker.Config;
@@ -46,6 +47,7 @@ public sealed class TaskRunner
public async Task RunAsync(TaskEntity task, string slot, CancellationToken ct)
{
using var _taskScope = LogContext.PushProperty("TaskId", task.Id);
string? mcpToken = null;
string? mcpConfigPath = null;
try
@@ -170,6 +172,7 @@ public sealed class TaskRunner
public async Task ContinueAsync(string taskId, string followUpPrompt, string slot, CancellationToken ct)
{
using var _taskScope = LogContext.PushProperty("TaskId", taskId);
TaskEntity task;
TaskRunEntity lastRun;
ListEntity list;