feat: owner review 2 phase 2: scheduled jobs and log settings (#10)
CI / Build and test (push) Successful in 7m0s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 6s
Release / Build, test and publish (push) Successful in 13m28s
CI / PostgreSQL 16 integration (push) Successful in 5m52s
CI / PostgreSQL 17 integration (push) Successful in 4m50s
CI / Docker image (push) Successful in 1m4s
Release / Server image (push) Successful in 1m35s

- Jobs > Scheduled on the desktop and the admin panel. Every timer that queued work is now a visible system schedule: archive scan, upload clean-up, index backup, job-history and audit clean-ups, desktop housekeeping. New actions: verify, thumbnails, proxies, analysis, maintenance, backup, clean-ups, reports.
- The scheduler: migration 0007, in-house recurrence, compare-and-set claim, catch-up, scan at start.
- Log settings: levels, retention, size parts, total limit, daily or hourly rotation, audit retention, diagnostics share; the server writes Debug/Trace to its files again; logging never fails a job.

Upgrade: CHRONOS_LOG_LEVEL set in an existing container locks both levels; migration 0007 is one-way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #10.
This commit is contained in:
Alby96andClaude Opus 5.5 authored and Alby96 committed 2026-10-27 11:19:26 +01:00
1 parent 1f089888e8
commit af9eeaab9b
349 files changed
+28341 -1304

No files matched your search

+20
View File
@@ -223,9 +223,24 @@ svg.chart .label { fill: var(--text-muted); }
.table.nodes.fit-1 .col-owner, .table.nodes.fit-1 .col-heartbeat { display: none; }
.table.audit.fit-1 { grid-template-columns: max-content minmax(70px, .8fr) minmax(90px, max-content) minmax(100px, 2fr); }
.table.audit.fit-1 .col-from { display: none; }
/* Scheduled jobs (owner review 2, R10): name, action, when, next run, last result, switch, actions. */
.table.schedules { grid-template-columns: minmax(130px, 1.3fr) minmax(80px, max-content) minmax(110px, 1fr) max-content minmax(90px, max-content) max-content max-content; }
.table.schedules.fit-1 { grid-template-columns: minmax(130px, 1.3fr) minmax(110px, 1fr) max-content minmax(90px, max-content) max-content max-content; }
.table.schedules.fit-1 .col-action { display: none; }
.table.schedules.fit-2 { grid-template-columns: minmax(120px, 1.3fr) minmax(100px, 1fr) max-content max-content max-content; }
.table.schedules.fit-2 .col-last { display: none; }
.table-foot { display: flex; align-items: center; gap: 16px; padding: 10px 18px; font-size: 12px; }
.table-foot a { white-space: nowrap; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
/* A name with a pill after it (a system schedule, a job a schedule queued). */
.name-cell { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pill { flex: none; display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border: 1px solid var(--stroke); border-radius: 12px; font-size: 11px; color: var(--text-muted); white-space: nowrap; text-decoration: none; }
a.pill:hover { border-color: var(--accent); color: var(--accent); }
/* The runs of a schedule, under its row: kind, state, time and a link to the job. */
.runs { display: grid; grid-template-columns: minmax(0, max-content) max-content max-content max-content; gap: 6px 18px; align-items: center; padding: 10px 18px; background: var(--bg); border-top: 1px solid var(--stroke); }
.runs .run { display: contents; }
.runs .more { grid-column: 1 / -1; justify-self: start; }
.table .row.log-row .empty { background: var(--bg); border-top: 1px solid var(--stroke); }
.person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.stack { display: flex; flex-direction: column; min-width: 0; }
.stack small { font-size: 11px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@@ -253,6 +268,11 @@ pre.log.tall { max-height: 60vh; border-top: 0; }
.form legend { color: var(--text-muted); margin-bottom: 8px; padding: 0; }
.form h2 { font-size: 16px; }
.inline { display: flex; align-items: center; gap: 8px; }
.form-group { display: grid; gap: 12px; }
.form-group:empty { display: none; }
.days { display: flex; flex-wrap: wrap; gap: 8px 14px; }
/* Each tab of a page draws into its own body; its children lay out as the page's own. */
.tab-body { display: contents; }
.buttons { display: flex; gap: 8px; justify-content: flex-end; }
.error { color: var(--error); min-height: 18px; }
.settings { display: grid; gap: 20px; }