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

+25 -17
View File
@@ -16,7 +16,7 @@ by its `windows` job once a Windows runner is registered (`WINDOWS_RUNNER`), and
| 8 Release readiness | Release pipeline end to end (installers, portable and server zips, SHA256SUMS, release notes, optional signing, server image in the Gitea container registry, optional separate releases repository), update check with verified download, scrubbed diagnostics bundles (desktop and server), performance gates, 38 cultures (`en`, `it` and 36 machine translations with glossaries and independent reviews), RTL pass (`ar`, `he`: mirrored windows, left-to-right islands for media, charts, numbers and paths; any right-to-left culture added later follows), accessibility pass (names, live regions, keyboard paths for charts and the curve editor). The installer test (silent install of the packed installers, run, upgrade in place, uninstall: files, Add/Remove Programs, shortcuts, file type, user data kept, exit codes) runs in CI's `windows` job on a Windows runner. Pending: the interactive install on a real PC, Unraid template validation on a real server. |
| 8.1 Owner review 1 | In progress (request, answers and plan: `docs/requests/2026-10-15-owner-review-1.md`). Phase 1 done: stalled thumbnail and proxy jobs no longer fail and stay Running (frame-counted progress, bounded time left, final state always written); the editor's cancelled decodes stay in their tasks (no debugger stops in `WicDecoderProvider.cs`); WIC decodes RAW only through the Raw Image Extension and never DNG; GoPro DNGs converted by Adobe software are DNGs, developed natively for videos, read through their embedded preview for analyses and previews, and reclassified in existing archives by the next light analysis. Phase 2 done: jobs run one at a time on the desktop and the server; Parallelism is how many photos the running job processes at once (thumbnail and proxy passes, tier probes, deep analysis, render decodes); pausing the running job starts the next; an optional priority queue by job kind (Settings › Rendering, admin panel › Settings › Jobs, `CHRONOS_PRIORITY_QUEUE`) pauses lower jobs and resumes them by themselves; `CHRONOS_PARALLELISM` replaces `CHRONOS_WORKERS`. Phase 3a done: the rail is 200 px and collapses to icons with ≡ or Ctrl+B (tooltips then name the sections, the choice saved at once); the admin panel's sidebar is 256 px and collapses the same way. Phase 3b done: the Sequence section is now Edit, one sequence at a time chosen in a picker inside the section (Change sequence, Ctrl+O; the sequence edited last selected first), and the editor's tabs are the steps of a guided, freely navigable path from a new Analysis step (every finding with the step that deals with it) to Export, each step showing where it stands, with Previous and Next. Next, after owner review 2 (the owner's order): phase 4, the visual crop locked to the output's proportions (R5) and mirroring, 90° rotations, straightening and colour filters (R6). |
| 8.2 Chronos on Gitea | Done (request: `docs/requests/2026-10-23-chronos-gitea.md`): Titano renamed Chronos everywhere, translations' grammar included; repository, update check, links, issue forms and registry moved to the self-hosted Gitea; Gitea Actions CI, release, nightly image and performance workflows for the Linux runner, with the Windows programs cross-compiled and checked (`pe-check`); new `Chronos.Tools` commands `zip`, `gitea-release`, `postgres-ci`, `pe-check`. Pre-releases `v0.1.0-rc.1` and `v0.1.0-rc.2` (the update check builds its links from `ChronosReleasesUrl`, since Gitea's use its LAN ROOT_URL) published; `REGISTRY_TOKEN` is set and the `v0.1.0-rc.2` server image is in the registry. |
| 8.3 Owner review 2 | In progress (request, answers and plan: `docs/requests/2026-10-26-owner-review-2.md`). Phase 1 done and released as `v0.1.0-rc.3` (one adversarial review round, 19 findings fixed; strings in all 38 languages): `:latest` follows the highest stable release, or the highest pre-release while none is stable (`Chronos.Tools release-channels`), `:nightly` stays the nightly build of `main` (R1); `CHRONOS_SPACE_PATH` and the Unraid template's *Array view* (`/mnt/user0/<share>` read-only at `/space`) make the admin panel show the array's free space, the cache apart as *Write volume*, the file system in the tooltip, and completing an upload checks the archive volume first (507, resumable) (R2); the Settings icon is a toothed gear and the admin panel docks Settings at the foot of its sidebar (R4); About is the last page of Settings on the desktop and the last group of Settings on the admin panel (R5); Import › Folder… › *Whole folder* imports a folder as one sequence per format, titled after the folder (R9). Next: phase 2, log settings (R11) and scheduled jobs (R10). |
| 8.3 Owner review 2 | In progress (request, answers and plan: `docs/requests/2026-10-26-owner-review-2.md`). Phase 1 done and released as `v0.1.0-rc.3` (one adversarial review round, 19 findings fixed; strings in all 38 languages): `:latest` follows the highest stable release, or the highest pre-release while none is stable (`Chronos.Tools release-channels`), `:nightly` stays the nightly build of `main` (R1); `CHRONOS_SPACE_PATH` and the Unraid template's *Array view* (`/mnt/user0/<share>` read-only at `/space`) make the admin panel show the array's free space, the cache apart as *Write volume*, the file system in the tooltip, and completing an upload checks the archive volume first (507, resumable) (R2); the Settings icon is a toothed gear and the admin panel docks Settings at the foot of its sidebar (R4); About is the last page of Settings on the desktop and the last group of Settings on the admin panel (R5); Import › Folder… › *Whole folder* imports a folder as one sequence per format, titled after the folder (R9). Phase 2 done and released as `v0.1.0-rc.4` (one adversarial review round, 35 findings fixed; strings in all 38 languages): scheduled jobs (R10) — schedules (migration 0007) with an in-house recurrence form, one scheduler per host claiming runs by compare-and-set with catch-up, and Jobs › Scheduled on the desktop and the admin panel (`/api/v1/schedules`, `scheduleChanged`); every timer that queued work is a visible system schedule (server: archive scan, upload clean-up every 6 h, index backup at 03:00, job history and audit log clean-ups; desktop: archive scan, daily index backup, housekeeping with cache trim), the archive still scanned at start; new Backup and Clean-up jobs, duplicates and orphans reports as jobs, one backup retention, the trash only reported; log settings (R11) — file and console levels, retention, file and total size limits, daily or hourly rotation, audit retention (the audit clean-up schedule's) and the diagnostics share in the admin panel's Settings › Logs (`CHRONOS_LOG_*`, `lockedBy`) and the desktop's Settings › Advanced; the server's files take Debug and Trace again, and logging never fails a job. |
| 9 Monetization | Not started: requires explicit approval (§22). |
## Verification (2026-10-12)
@@ -68,7 +68,16 @@ src/Chronos.App/bin/Release/net10.0-windows/Chronos.exe --capture out/screenshot
server-only sequence from the Library to edit it with proxies; *Render* runs on the server or a render node.
- Language: Settings › General › *Language* switches at once; Arabic and Hebrew mirror every window.
- Settings: Import, Analysis and Formats pages; Archive rows edit the open archive's `archive.json`; Advanced ›
*Restore* picks a daily backup, compares it with the index and restores it at the next start.
*Restore* picks a copy of the index (made by the *Index backup* schedule or *Back up now*), compares it with the
index and restores it at the next start.
- Scheduled jobs: Jobs › *Scheduled* (desktop) or admin panel › Jobs › *Scheduled* lists the system schedules (three
on the desktop; five on the server, four on PostgreSQL). *New schedule* › Integrity check, Weekly Mon and Thu 02:30,
create it, then *Run now*: the job appears in the Queue tab with a *Scheduled* pill; select the schedule (the panel:
its name) for its runs. Turn *Archive scan* off and restart: no scan runs at start.
- Logs: admin panel › Settings › *Logs* › File level Debug, Rotation Hourly › Save, then watch `/data/logs` get
`server-yyyyMMdd-HH.log` with Debug lines, no restart; with `CHRONOS_LOG_LEVEL` set the two levels are read-only
and their tooltip names the variable. Desktop: Settings › Advanced › *Log level* Debug, *Rotation* Hourly, then
*Logs* › *Open*.
- Project files: Export › *Save project file* writes a `.chronos` file; opening it (double-click or `Chronos.exe <file>`)
opens the sequence with those settings in the running Chronos.
- Notifications: minimise Chronos and insert a card or finish a job: a Windows notification appears; Ctrl+1…6 and
@@ -82,31 +91,30 @@ src/Chronos.App/bin/Release/net10.0-windows/Chronos.exe --capture out/screenshot
Owner reviews, in the owner's order (owner review 2 first, then the rest of owner review 1); each phase ends with a
release (owner review 2, R12):
1. Owner review 2, phase 2: R11 log settings, R10 scheduled jobs (migration 0007).
2. Owner review 2, phase 3: R6 library on the admin panel, photo delete and trash (migration 0008), R3 upload from the
1. Owner review 2, phase 3: R6 library on the admin panel, photo delete and trash (migration 0008), R3 upload from the
admin panel.
3. Owner review 2, phase 4a: R7 Reorganize after import.
4. Owner review 2, phase 4b: R7 mass conversion.
5. Owner review 2, phase 5a: R8 workspace and projects with a local home (migration 0009).
6. Owner review 2, phase 5b: R8 server home.
7. Owner review 2, phase 5c: R8 originals, local render, clean-up, Workspace settings.
8. Owner review 1, phase 4: R5 visual crop locked to the output's proportions, R6 mirroring, 90° rotations,
2. Owner review 2, phase 4a: R7 Reorganize after import.
3. Owner review 2, phase 4b: R7 mass conversion.
4. Owner review 2, phase 5a: R8 workspace and projects with a local home (migration 0009).
5. Owner review 2, phase 5b: R8 server home.
6. Owner review 2, phase 5c: R8 originals, local render, clean-up, Workspace settings.
7. Owner review 1, phase 4: R5 visual crop locked to the output's proportions, R6 mirroring, 90° rotations,
straightening and colour filters (project settings in the workspace).
9. Owner review 1, phase 5: R3 export panel and Render menu, R8 export options, R9 videos library.
10. Owner review 1, phase 6: Docker, Unraid and deploy docs, BRIEF §24 amendments, full verification.
8. Owner review 1, phase 5: R3 export panel and Render menu, R8 export options, R9 videos library.
9. Owner review 1, phase 6: Docker, Unraid and deploy docs, BRIEF §24 amendments, full verification.
Phase 8 gate:
11. Visibility: make the `BalboSoft` organisation (and its packages) public, or publish to a public `RELEASES_REPO`, so
10. Visibility: make the `BalboSoft` organisation (and its packages) public, or publish to a public `RELEASES_REPO`, so
that people without an account can download releases, get update notices and pull the image.
12. Windows runner: register an act_runner in host mode on a Windows PC (.NET SDK, Git for Windows, PowerShell 7) and
11. Windows runner: register an act_runner in host mode on a Windows PC (.NET SDK, Git for Windows, PowerShell 7) and
set the repository variable `WINDOWS_RUNNER` to its label. Then arm the screenshot diff: from the `ci-screenshots`
commit of the first green `windows` job of a pull request, run `dotnet run --project src/Chronos.Tools --
screenshots accept <dir>` and commit the PNGs to `tests/visual/baselines` (its README says how). From then on a
visual change, or a screen without a baseline, fails the `windows` job.
13. On Windows: install the latest pre-release's setup, upgrade over the previous version, uninstall (with and without
12. On Windows: install the latest pre-release's setup, upgrade over the previous version, uninstall (with and without
user data), silent mode.
14. Unraid: install the template as a user template (README › Server image, Compose and Unraid) with the official
13. Unraid: install the template as a user template (README › Server image, Compose and Unraid) with the official
PostgreSQL template, check that its icon (the SVG of `branding/`) shows, reach the WebUI, and that the Dashboard
shows the array's free space through *Array view*.
15. Native-speaker review of the machine translations where users report wording (`i18n export` per language).
14. Native-speaker review of the machine translations where users report wording (`i18n export` per language).