Say in the diary where the server runs, as Settings does
ci / test (postgres) (push) Successful in 5m31s
ci / test (sqlite) (push) Successful in 4m24s
ci / test (postgres) (pull_request) Successful in 5m12s
ci / test (sqlite) (pull_request) Successful in 4m43s
ci / image (push) Successful in 2m16s
ci / image (pull_request) Successful in 1m4s

Outside a container the diary said "in Docker": it now says
"fuori dal container (sviluppo)", from the same options as Settings
(ADR 0022). Found by the second independent review.

refs #114

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-12-03 17:45:27 +01:00
1 parent e9ac6dccc9
commit c27e8194d3
3 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -192,7 +192,7 @@ internal sealed record SystemView(
.Select(u => new PlannedJob(JobTime(u.DueUtc, now, zone), u.Description)).ToList();
var since = host.Status.Since;
var platform = host.IsDemo ? "in modalità dimostrativa" : "in Docker";
var platform = host.IsDemo ? "in modalità dimostrativa" : host.InContainer ? "in Docker" : "fuori dal container (sviluppo)";
var localSince = TimeZoneInfo.ConvertTime(since, zone);
var days = (int)Math.Floor((now - since).TotalDays);
var running = days >= 1