feat: harden control-plane deployment
Build web service image / build (push) Successful in 48s

This commit is contained in:
2026-09-12 11:09:42 +08:00
parent 13c31fc902
commit 0d29b828bb
22 changed files with 1213 additions and 71 deletions
@@ -38,8 +38,7 @@ public sealed class RemoteAgentHostedService(
}
var remote = configuredRemote;
using var http = new HttpClient { Timeout = TimeSpan.FromSeconds(15) };
using var client = new RemoteControlClient(remote, http);
using var client = new RemoteControlClient(remote);
var ledger = new RemoteTaskLedger(Path.Combine(options.DataDirectory, "remote-task-ledger.json"));
var eventQueue = remoteQueue ?? new RemoteEventQueue(Path.Combine(options.DataDirectory, "remote-event-queue.json"));
var retry = RetryDelay;