Skip to content

ci: parallelize the smoke test and run the macOS media check - #302

Merged
Developer-Simon merged 6 commits into
prereleasefrom
ci/installer-macos-in-ci
Nov 29, 2026
Merged

Developer-Simon merged 6 commits into
prereleasefrom
ci/installer-macos-in-ci

Conversation

@Developer-Simon

@Developer-Simon Developer-Simon commented Nov 29, 2026 •

Copy link
Copy Markdown
Owner

Squash-merge commit message

Shorten the CI run of a pull request and let the macOS media check count for it.

- The macOS check of the installer media mode moves from its own workflow into ci.yml. It runs when installer/internal/media or installer/internal/host change and is part of the commit status CI
- The smoke test runs as five parallel jobs (kern, updates, zugang, system, varianten), and the tests of the demo fakes get their own job. Every group still runs on each trigger, nothing is selected by changed files
- smoke.sh splits the run haupt into four independent runs and gains --list. --run haupt stays as a short name
- The fake test servers shut down without waiting for their poll interval, which takes the tests from 57 s to 11 s locally
- Every setup-go step names its cache key file, so the Go caches can be restored

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>

Highlight translations

Not needed. Only feat, fix, perf and breaking PRs are highlights.

Tour

none

Summary

The smoke job was the longest job of a PR run (149 s): 58 s fake tests, mostly server shutdown waits, 17 s build without a Go cache, then 58 s of checks in a row.

 CI
-  Dashboard smoke test        fake tests, build, 5 runs in a row
+  Demo fakes (tests)
+  Dashboard smoke test (kern | updates | zugang | system | varianten)
+  Installer media end to end (macOS)   was its own workflow

Evidence

  • Before: smoke job 149 s on prerelease (run 46316511407)
  • After, locally: every run passes alone (longest 20 s), and the 159 OK lines are the same as before. Fake tests 11 s
  • Script tests keep check groups, runs, the CI matrix and the cache key files together
  • CI of this PR (run 46319679575, every job because ci.yml changed): all green. Smoke jobs 34 to 46 s instead of 149 s, fake tests 22 s, 159 smoke OK lines as before. Longest job now is the macOS check with 120 s, which a dashboard change does not trigger. The Go caches were not there yet and have been saved by this run

Merge danger

  • Two-way door
  • Blast radius: CI only, plus a test helper moved to core.sh
  • The macOS job can now block a merge. It installs the newest Raspberry Pi Imager from Homebrew
  • Go caches only help once a run on the same branch or the default branch has saved them
  • Runs with every job may queue briefly (20 concurrent jobs)

Checks

  • The title is a Conventional Commits subject.
  • scripts/dev/check_tracked_secrets.sh is clean.
  • AI assistance disclosed per AI-DISCLAIMER.md: Claude Sonnet 5.5
  • Suites run locally: pytest scripts, pytest demo fakes, dashboard smoke test
  • Linked issue: none

Developer-Simon and others added 6 commits November 29, 2026 23:18
Move the end-to-end check from its own workflow into ci.yml, so it is
part of the commit status CI and can block a merge. The new area
installer_macos runs it when installer/internal/media or
installer/internal/host change, and like every job on push runs and when
the workflows or scripts/ci change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…oll interval

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The run haupt becomes kern, updates, zugang and system with the same
configuration, so CI can execute them side by side. --run haupt stays as
a short name and --list shows every run with its groups.
create_smoke_user moves to core.sh, because the update checks needed it
from the user checks. A script test keeps groups and runs together.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
dashboard-smoke becomes a matrix of kern, updates, zugang, system and
varianten, and the tests of the fakes get their own job, so the longest
part sets the waiting time. Every setup-go step now names the file for
its cache key, because the default looks for go.sum in the repository
root and never found one.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Developer-Simon
Developer-Simon merged commit 30421b0 into prerelease Nov 29, 2026
31 checks passed
@Developer-Simon
Developer-Simon deleted the ci/installer-macos-in-ci branch November 29, 2026 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant