fix: owner review 3 phase 1: server ports for clients, screenshot baselines (#16)
CI / Build and test (push) Successful in 9m36s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 9s
Release / Build, test and publish (push) Successful in 14m4s
CI / PostgreSQL 16 integration (push) Successful in 8m26s
CI / PostgreSQL 17 integration (push) Successful in 8m43s
CI / Docker image (push) Successful in 50s
Release / Server image (push) Successful in 1m23s

Clients could not reach a server in a container whose ports are published as other host ports: the panel showed the container's ports, the template had no public HTTP port, and a bare host meant port 443. Public ports become panel settings, the panel shows the client address, both clients default to 8443, and an address that answers as another service is named as not a Chronos server (its certificate never offered for trust). The screenshot baselines are captured on the development PC and committed; measured values are fixed while the capture runs.

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 #16.
This commit is contained in:
Alby96andClaude Opus 5.5 authored and Alby96 committed 2026-11-04 12:33:22 +01:00
1 parent 30a5b03f37
commit 255e149087
306 files changed
+2023 -206

No files matched your search

+2 -18
View File
@@ -254,7 +254,7 @@ jobs:
runs-on: ${{ vars.WINDOWS_RUNNER || 'windows' }}
timeout-minutes: 90
permissions:
contents: write
contents: read
# act finds a shell on PATH, where Git for Windows puts no bash.exe by default (and WSL's launcher may come
# first): Git Bash by its path, whose wrapper also puts its tools (base64, printf) on PATH.
defaults:
@@ -294,23 +294,7 @@ jobs:
done
ls out/screenshots
# Same-repository pull requests: the pictures go to the ci-screenshots branch (one commit, overwritten each run),
# where tests/visual/baselines/README.md takes new baselines from. Before the diff, which may fail the job.
- name: Publish to the ci-screenshots branch
if: ${{ !cancelled() && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository }}
working-directory: out/screenshots
env:
TOKEN: ${{ github.token }}
run: |
git init -q -b ci-screenshots
git config user.name "chronos-ci"
git config user.email "chronos-ci@noreply.invalid"
git add -A
git commit -q -m "Screenshots of ${{ github.event.pull_request.head.sha }}"
git -c http.extraheader="Authorization: basic $(printf 'x-access-token:%s' "$TOKEN" | base64 -w0)" push -q -f \
"${{ github.server_url }}/${{ github.repository }}.git" HEAD:refs/heads/ci-screenshots
# BRIEF §20.2 visual regression against tests/visual/baselines (a warning only until baselines are committed).
# BRIEF §20.2 visual regression against tests/visual/baselines, captured on the development PC (its README).
- name: Screenshot diff
if: ${{ !cancelled() }}
run: dotnet src/Chronos.Tools/bin/Release/net10.0/Chronos.Tools.dll screenshots diff out/screenshots --baseline tests/visual/baselines --out out/screenshot-diff