Replace Probe with Agent across node runtime, Fleet contracts, backend state, API and storage. Report incoming sessions and outgoing link health through each Agent uplink, and retain directed link controls and retry. Update protocol fixtures and end-to-end coverage for the unified model; accept requested cancellation during the Fleet timeout test cleanup.
11 lines
377 B
C#
11 lines
377 B
C#
using MoShiro.Backend;
|
|
|
|
WebApplication app = BackendHost.Build(args);
|
|
// 启动时打一行构建信息:版本、tag、提交、构建时间(和 Agent 启动时打的是同一组)
|
|
if (app.Logger.IsEnabled(LogLevel.Information))
|
|
{
|
|
app.Logger.LogInformation("moshiro backend starting: version {BuildInfo}", MoShiro.Protocol.BuildInfo.Summary);
|
|
}
|
|
|
|
await app.RunAsync();
|