feat: screenshot baselines from the development PC, fixed capture values, ports strings in all languages
The owner chose to capture the baselines on the development PC (owner review 3, R2): 156 screens go to tests/visual/baselines and CI no longer pushes a ci-screenshots branch. While --capture freezes AppClock, free space, a server's latency and the last sync are fixed sample values; they moved the Server and Import screens past the diff tolerance at random. The 22 new or changed Admin strings are translated into the 36 other languages, and the request file records the owner's text and answers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2585b5d45f
commit
7273eec2bb
276 files changed
+893
-121
No files matched your search
+4
-2
@@ -88,7 +88,7 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-02 | Automatic output stops at 4K UHD; no automatic stacking advice. | 8K / temporal-median denoise | 8K stays a manual choice; a median erases moving stars and stillness cannot be verified reliably. |
|
||||
| 2026-10-02 | Apply records a missing-data reason only where no advice exists; Optimise returns modules to Auto and only adds to the user's hero, exclusions, offset or output cap; a preset's own choices are stored as manual values, content-derived values stay Auto. | Overwrite | Manual values stay in force; re-analysis does not undo a chosen preset. |
|
||||
| 2026-10-02 | Advisor namespace is `Chronos.Core.Advice` (class `Advisor`). | `Chronos.Core.Advisor` | A class named like its namespace needed an alias in every `Chronos.Core.*` caller. |
|
||||
| 2026-10-02 | CI also force-pushes each same-repository PR run's screenshots as one commit to the `ci-screenshots` branch (separate job, only it has `contents: write`). | Artifact only | Artifacts need an authenticated download; a branch can be fetched with plain git for visual review. The branch never merges and holds a single commit. |
|
||||
| 2026-10-02 | (Superseded by the 2026-11-04 baselines row: the baselines are captured on the development PC and the `ci-screenshots` branch is gone.) CI also force-pushes each same-repository PR run's screenshots as one commit to the `ci-screenshots` branch (separate job, only it has `contents: write`). | Artifact only | Artifacts need an authenticated download; a branch can be fetched with plain git for visual review. The branch never merges and holds a single commit. |
|
||||
| 2026-10-02 | Export fps is the encoded grid; `Timing.FrameRate` is the playback rate (source frames per video second, default = export fps). Durations are quantised to output periods on rounded 90 kHz boundaries; whole frames are sampled at the period centre. | One fps / free durations | Presets keep their meaning, Interpolated can synthesise slow motion, AVI and image sequences stay exact. |
|
||||
| 2026-10-02 | Adaptive timing is proportional up to 3× the median interval; longer gaps show for 3 + log2(r/3) frames (max 5); pauses ≥ 20× median and ≥ 120 s become a 0.2 s cut. Interpolated fills gaps of up to 3 missing/excluded frames. | Fixed clamps | Bursts stay faithful and long gaps cannot stall the video. |
|
||||
| 2026-10-02 | A non-monotonic time-remap curve is repaired (sorted, clamped, made non-decreasing) with a warning; virtual-camera keyframes are keyed to source frame positions. | Reject the curve / output frame index | The remap is always monotone; keyframes stay on the content when timing or fps change. |
|
||||
@@ -265,7 +265,7 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-12 | Container entrypoint: an archive root that PUID:PGID cannot write is given to them (that folder only, `chown` without `-R`) when it is empty or owned by root, as Docker creates a missing bind source. Any other unwritable root, and any existing `.chronos` folder or subfolder they cannot write, stops the container with a one-line error and is never chowned. The data folder is `${CHRONOS_DATA_PATH:-/data}`. This amends the 2026-10-02 row '/archive only checked for write access'. | Recursive chown, or a warning followed by a crash loop | A fresh install never became healthy. The archive may hold terabytes, so its contents are never chowned. |
|
||||
| 2026-10-12 | Screenshot diff (`Chronos.Tools screenshots diff`): a pixel differs when one RGBA channel moves by more than 8 of 255; a screen fails when more than 0.05 % of its pixels differ, when its size changed, when it cannot be read, or when its baseline has no screenshot; differing pixels are drawn magenta over the faded baseline in `<screen>-diff.png` | Exact pixel equality; a perceptual metric (SSIM) | Anti-aliased edges move a few levels between runs; 0.05 % (about 650 pixels of 1440×900) absorbs the measured latency and last-sync time while a moved control, a new colour or a missing picture exceed it; a per-pixel rule is easy to explain and to check by eye in the diff image. |
|
||||
| 2026-10-12 | A screenshot without a baseline fails as soon as `tests/visual/baselines` holds any PNG; before the first baselines the step passes with a warning and a bold job-summary line saying it compared nothing | Always only warn; always fail; a `--require-baselines` switch in ci.yml | Warn-only left every screen, and any screen added later, ungated for good; failing before any baseline exists would keep CI red until a Windows run produced them; a rule that arms itself needs no switch to remember. |
|
||||
| 2026-10-12 | Baselines are accepted only from CI's `ci-screenshots` branch (`screenshots accept`), never from a local capture; the first set is accepted from the first green `windows-latest` run whose code captures at `SampleData.Now`, after the review-fix branches merge, so this change commits none | Commit the current `ci-screenshots` pictures now; capture locally | Fonts, scaling and time zone differ per machine and Linux cannot run the WPF capture; the current `ci-screenshots` commit (of 261ab46) predates the fixed clock, so its times and dates ("12:18 AM", sequences dated from the capture day) would fail every such screen, and parallel branches still change screens. |
|
||||
| 2026-10-12 | (Superseded by the 2026-11-04 baselines row: the baselines are captured on the development PC and the `ci-screenshots` branch is gone.) Baselines are accepted only from CI's `ci-screenshots` branch (`screenshots accept`), never from a local capture; the first set is accepted from the first green `windows-latest` run whose code captures at `SampleData.Now`, after the review-fix branches merge, so this change commits none | Commit the current `ci-screenshots` pictures now; capture locally | Fonts, scaling and time zone differ per machine and Linux cannot run the WPF capture; the current `ci-screenshots` commit (of 261ab46) predates the fixed clock, so its times and dates ("12:18 AM", sequences dated from the capture day) would fail every such screen, and parallel branches still change screens. |
|
||||
| 2026-10-12 | `--capture` runs on a fixed clock (`SampleData.Now`, 2026-10-02 10:18 UTC; `AppClock.Today` frozen for screens laid out around today), English formats and `Motion` off (indeterminate bars stand still) | Mask the changing regions per screen in the diff | The same code then draws the same pixels on any day, so the diff needs no masks; only a measured latency and the last sync time remain, a few dozen pixels. |
|
||||
| 2026-10-12 | Media Foundation playback (BRIEF §20.2) is checked by separate tests: MediaPlayer opens the software H.264 output (and the hardware HEVC Main10 output where an encoder and an HEVC decoder exist), skipped with the reason where Windows Media Player is missing or WPF reports it unusable; a Media Foundation source reader decodes the first frame to the encoded picture on every Windows with Media Foundation | One test that logs and passes without Windows Media Player; playback only in the manual release test | Windows Server runners may lack wmp.dll; a skip shows that the MediaPlayer layer did not run, and the source reader still proves the file decodes. |
|
||||
| 2026-10-12 | CI `installer` job on a clean `windows-latest`: packs 1.0.0 and 1.0.1 installers from the published programs and checks silent install, run, the Add/Remove Programs entry, shortcuts and the .chronos file type, upgrade in place (a file only in 1.0.0 must go, user data kept), the Uploader-only installer, uninstall and the documented exit codes (`.github/scripts/installer-test.ps1`) | Leave it to the manual release test | BRIEF §18 behaviour can only be proven by running the real installers; a clean runner is the closest thing to a user's PC. |
|
||||
@@ -624,3 +624,5 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-11-04 | In a container, the first save of the settings removes `HttpPort` and `HttpsPort` from `server.json` (also when nothing else changed); the start-up warning says so. | Remove them at load | Load only reads; the panel cannot edit locked ports, so without this the warning came back at every start. |
|
||||
| 2026-11-04 | Host networking: the guide, README and compose comments say the port mappings do nothing there, the server listens on the host's 8080/8443 and `CHRONOS_HTTP_PORT` / `CHRONOS_HTTPS_PORT` move it off ports another service uses (public ports empty). No template entries for them. | Advanced template entries *Listening HTTP/HTTPS port* | On Bridge such an entry would unmap the template's ports; Host users add a variable, which Unraid offers on every container. |
|
||||
| 2026-11-04 | `ChronosAddress` refuses a link-local IPv6 address with a zone index (`fe80::1%12`): *Invalid address*. | Keep the zone as `%25` | `Uri` and the connection would drop the zone, failing later with a less clear error; the LAN address or name works. |
|
||||
| 2026-11-04 | Screenshot baselines are captured on the development PC (Europe/Rome time zone) from a Release build and committed to `tests/visual/baselines` (156 screens, owner review 3, R2); CI no longer pushes its screenshots to a `ci-screenshots` branch, the branch is deleted, and the `windows` job's token is read-only. Until a Windows runner is registered (on that PC, or a new set accepted from the runner's PC), `screenshots diff` runs locally before a pull request that changes a screen. | Keep accepting from `ci-screenshots`; merge that branch | The owner chose it: no Windows runner exists, so CI never produced a set taken at `SampleData.Now`, and the old `ci-screenshots` commit predates the fixed clock; a branch that only CI writes and that never merges is noise once baselines live in `main`. |
|
||||
| 2026-11-04 | While `--capture` freezes `AppClock`, what the screens measure on the machine is shown as fixed sample values: free space 1.2 TB (`ArchiveLocations.FreeSpace` and the import plan's totals), a server latency of 12 ms, and the last sync comparison at the frozen moment taking 0.4 s. | Raise the diff tolerance; leave them measured | Measured, they moved the Server screens by 0.13–0.15 % (the latency's width shifts the rest of the status line) and the Import screens to the 0.05 % limit (the PC's free space), so baselines failed at random; a larger tolerance would hide real changes. |
|
||||
Reference in new issue
Block a user