Skip to content

Machine-translated – improvements welcome. Suggest an improvement

Release

A release arises as soon as there is a version number on main for which there is no tag yet. Since #952 the number is not assigned by the pull request but by the workflow Version vergeben – since 01.12.2026 once a week.

Cadence in three stages (decision Thomas 01.12.2026):

Stage When For whom
Image :main on every merge to main for testing, not for everyday use
Weekly release, image :latest Tuesdays 03:00 Berlin time (cron: '0 2 * * 2' in version.yml), from everything on main since the last release; only if a snippet with art: patch/minor was added anyone who wants the newest
:stabil once the release meets the waiting period and all rules (stabil.yml checks daily), with the 72-hour waiting period (#1401) usually on Friday default in all templates

Immediately, without waiting for Tuesday: emergency button Actions → Version vergeben → Run workflow (bundles everything currently on main), or automatically when a pull request with the label sofort-stabil is merged (release right afterwards, :stabil moves along). Only the cron entry in version.yml sets the cadence; daily would be '0 2 * * *'.

Testing the state of main: docker pull ghcr.io/motom001/dms:main (or dms-komplett:main), in your own Compose file image: ghcr.io/motom001/dms:main. System health then shows the version as <last number>+<short hash>. You can only go back to the same or a newer version (migrations), i.e. to the next release or :latest, not to an older :stabil.

  1. Pull request with a notes snippet docs/releases/neu/<name>.md instead of a version number: first line art: minor, art: patch or art: keine (no release), below it the release notes as before. CI checks in the job rauchtests (part of pruefen) that a pull request changing the program brings exactly one snippet. During the transition the old way (number and docs/releases/v<version>.md in the pull request) still works, with a warning.
  2. Early on Tuesday (or via the emergency button or sofort-stabil) version.yml (Version vergeben) assigns the next number (highest art of the collected snippets; one label nicht-stabil or sofort-stabil on any of the pull requests applies to the whole release: sofort-stabil takes everything collected straight to every default installation, so look at the snippets under docs/releases/neu/ first; it only works if set before the merge, afterwards only the emergency button plus :stabil befördern by hand help. nicht-stabil only holds back this one release – the next week's release no longer names the pull request and can become stable with the same code, so merge a fix or revert by then), sets the three package.json and package-lock.json (#1272), merges the snippets into docs/releases/v<version>.md and writes this as its own commit "Version X.Y.Z" with Pull-Request: #… to main – using the token of the GitHub app Ablago Version (contents only, environment versionieren, only this app may bypass the main ruleset).
  3. On that commit, image.yml (Prüfen und Image bauen) builds two images natively for amd64 and arm64 and pushes them: ghcr.io/motom001/dms:<version> and ghcr.io/motom001/dms-komplett:<version>.
  4. Then image.yml calls release.yml. The workflow creates the tag v<version> and the GitHub release. It takes the text from docs/releases/v<version>.md; if the file is missing, it takes the commit subjects since the previous tag. Only after that does the job latest in image.yml set the image tag :latest of dms and dms-komplett to the new version (#1398, see Image tags).
  5. handbuch.yml builds all four manuals and publishes them via GitHub Actions (actions/upload-pages-artifact, actions/deploy-pages) under https://help.ablago.app/<handbuch>/aktuell/. Older versions no longer exist online: every installation brings its manual under /hilfe/, and it can be rebuilt from every tag. The 404 page (docs/handbuch/start/404.html, #841) redirects old addresses (v0.xx/…, entwicklung/…) to the same page under aktuell; otherwise it shows, in the Ablago style, a search across all manuals (start/suche.mjs, the same as on the start page, without third-party libraries; the test shared/test/handbuchstart.test.ts keeps it in line with the search in the assistant) and the button Report broken link (template .github/ISSUE_TEMPLATE/kaputter-link.yml, never rename the field ids). It only pre-fills the origin (herkunft_genau) if the link came from help.ablago.app, ablago.app or catalog.ablago.app (#1306) – the list HERKUENFTE is in one place in the page, and the exact host name over https is compared; any other origin, including your own installation, stays out. GitHub doesn't pre-select the choice Where did you find the link? from the address, so it stays empty. offline.py puts an adapted copy at /hilfe/404.html, and Ablago serves it for unknown help addresses. docs/handbuch/screenshots/start-pruefen.mjs checks it in the browser. The English version of every manual (#730) is under …/<handbuch>/aktuell/en/; the short address /emergency leads to the English emergency page. The page Neu in dieser Version (What's new) is made from the release notes. The custom domain is in the Pages settings (source "GitHub Actions"); there is no longer a branch gh-pages.
  6. :stabil does not move with every release (#907). The release is created with --latest=false; daily (04:23 UTC, also by hand under Actions; until 01.12.2026 Tuesdays only) stabil.yml (:stabil befördern) picks the newest release that is at least 72 hours old (#1401), has no open issue with bug and schwere: hoch or schwere: kritisch against it (Ablago version in the issue equal or older; without a version, the newest version already released when the issue was reported counts), above the previous “Latest” and meets all rules (#714): number X.Y.Z (no pre-release), release notes present, no label nicht-stabil on the pull request (otherwise the next older one; never backwards; if :stabil already points to it, nothing happens). It checks both images for amd64 and arm64 with provenance (gh attestation verify) and the update test from the previous :stabil green (.github/werkzeuge/update-test.sh: set up the old state, file a document, back up → new state with the same folders → data there, test restore succeeds). Then dms:stabil and dms-komplett:stabil point to the new version, the release becomes “Latest” (Ablago's “new version” notice follows it) and gets the section Seit der letzten stabilen Version (since the last stable version) with links to all versions since the previous :stabil. Because the “Latest” badge cannot be renamed, the release is called “Ablago vX.Y.Z (stabil)” and starts with the sentence “Stabile Version – empfohlen für den Alltag. …” (stable version, recommended for everyday use); the previously stable version loses both again (.github/werkzeuge/stabil-titel.sh, #1656). There are deliberately no pre-releases. With the label sofort-stabil on the pull request, image.yml calls the same workflow right after the release for exactly this version (without the wait and without looking at open bugs). The rules are in .github/werkzeuge/stabil-pruefen.sh and stabil-auswahl.sh and are tested in every pull request; image-probe also does the update test from the last stable state to the pull request's state.
  7. motom001/dms-appstore takes over the new version the next morning, with images by digest, for Umbrel, ZimaOS and CasaOS. By hand it works immediately via the workflow Store aktualisieren.

Image tags

Tag Points to Set by For whom
:latest the most recently released version, i.e. the weekly release job latest in image.yml, after every release (#1398) anyone who always wants the newest
:stabil the tested version stabil.yml (checked daily) or with sofort-stabil (#714, #907); back with :stabil zurücksetzen default in all templates
:<version> exactly this version job image-zusammen, at the release anyone who decides when to update
:main every state on main job image-zusammen, on every push to main and on the weekly rebuild for testing only

On top of that, every build gets the short hash of the commit (:sha-…).

  • Image with stable versions only (#1480): ghcr.io/motom001/ablago:<version> carries only versions that were promoted to :stabil. The tag is created by :stabil befördern (stabil.yml) with docker buildx imagetools create – without a new build, with the same digest as dms:<version>, i.e. both architectures and the same provenance (gh attestation verify oci://ghcr.io/motom001/ablago:<version> -R motom001/dms). A manual start of :stabil befördern without a new version creates the tag of the current stable version (so the first tag appears right away). There is no :latest and no :stabil there. :stabil zurücksetzen creates nothing there; a tag that is already published stays. Meant for app catalogues with their own updating (Renovate in the TrueNAS catalogue) that would otherwise take every release. Only dms, no dms-komplett.
  • Version in the image (#1447): the build sets DMS_VERSION to the version from package.json (build argument in image.yml, in the probe and when building on main). Log, workbench and load test already read it from package.json before. What is new is the matching of versions on start (FassungenDienst.abgleich): it runs once per version (marker fassungen_abgleich). What migrations and moves changed then gets the version "Update to Ablago ", entries without a version get their first, vanished ones a deletion note. Without DMS_VERSION the version was always "Entwicklung": the matching only ran on the very first start and never again, and the versions were called "Update to Ablago Entwicklung". With the real version, the first start after the update catches up on everything with one version per changed entry. Because only differences get a version, there are no duplicate versions and no duplicate or lost types. Locally (npm run dev, tests) it stays "Entwicklung", likewise with your own docker build without --build-arg DMS_VERSION=…. The update test checks the same folder types before and after the update and at most one update version per type, also after another restart.
  • Commit in the version of :main (#1613): a build on main without a new version number (merge, weekly rebuild) sets DMS_VERSION to <version>+<short commit>, e.g. 0.309.0+a1b2c3d – the same short hash as in the tag :sha-…. This way a bug report between two releases can be matched to exactly one build. A release (new version in the same run or a tag v*) and therefore :latest and :stabil carry the plain number; so does the probe in a pull request. System health, the bug report template, the log and the emergency sheet show the full value (eigeneVersion()). The matching of versions only takes the number before it (releaseVersion()), so it still runs once per release and not per commit. Version comparisons (packages, updates, backups) read the number before the +.

  • :latest only moves with a new version, i.e. in the same run as the version number, and only once the release has been created. The weekly rebuild and pushes without a new number only set :main. The job re-tags the finished manifest of both architectures with docker buildx imagetools create and then checks that :latest and :<version> have the same digest. If a higher release already exists (two merges shortly after each other), :latest stays where it is. docker/metadata-action no longer sets :latest by itself (flavor: latest=false), not even for a tag pushed by hand.

  • Two different “Latest”: the “Latest” marker on the GitHub releases is on the stable version (:stabil); Ablago's “new version” notice follows it. The image tag :latest is the newest version. From the Tuesday release until the promotion they point to different versions.
  • Checking: docker buildx imagetools inspect ghcr.io/motom001/dms:latest (and dms-komplett:latest) lists amd64 and arm64; the digest is the same as for :<version> of the newest release.

Version numbers

  • Minor version (0.40.0) for new functions.
  • Patch (0.39.1) for fixes.
  • Every release replaces the manual online under aktuell.
  • Without a new number: only the image main changes, not the manual online, :latest or :stabil.
  • Holding back: label nicht-stabil on the pull request – release and image with a number arise, the next run takes the next older version.
  • Stable at once: label sofort-stabil on the pull request (before merging) – for urgent fixes, e.g. security. nicht-stabil wins if both are set.
  • Severe bugs and stalling (#1401): The daily run writes to the summary why it skips a version (too young, nicht-stabil, open severe bug). For bugs to count, the issue needs the Ablago version (template Fehler melden) and the label schwere: hoch or schwere: kritisch. If :stabil does not move although the oldest candidate is already 14 days old, the run opens the issue “:stabil rückt nicht vor” (or adds to it, on schedule only on Tuesdays); as soon as :stabil moves again, it closes it.
  • Rolling back: Actions → :stabil zurücksetzen → enter version (only published releases, only with write permission on the repository). Works in both directions and marks the release as “Latest”; “(stabil)” in the title moves along. After rolling back, put nicht-stabil on the pull request of the faulty version, otherwise the next run picks it again.

Starting workflows by hand

  • Prüfen und Image bauen (image.yml) and Scorecard can be started by hand under Actions. A manual start of image.yml builds and publishes the images but creates no release – that only happens after a push to main with a new number.
  • Version vergeben (version.yml) is the emergency button: it immediately assigns a number to everything collected on main; images, release and :latest follow as on Tuesdays. Without a snippet with patch/minor nothing happens.
  • Handbuch (handbuch.yml) builds by hand on main and republishes under aktuell – for instance after a disruption. The version only states which release notes Neu in dieser Version shows.
  • Lockfile erzeugen (lockfile.yml) can also be started by hand.
  • Release (release.yml) also starts on a manually pushed tag v* (creates the release) and on a manually published release (only sets the text).

Quality control: vague time statements

Announcements such as "at the moment", "to follow", "comes later" or "not yet" tend to stay long after the function has been built. That's why this list belongs to every quality control (e.g. 0.75):

python3 docs/handbuch/werkzeuge/zeitangaben.py

The script searches manuals, glossary, templates, README and the interface's texts (web/src, shared/src/hilfe.ts; comments don't count) and outputs file, line, word and sentence per hit. The manual workflow writes the same list into the run's summary; it never stops because of it. The word list is German; English pages aren't covered yet.

How to read it: is the sentence still true? If not, correct it. If it is intended (e.g. "not yet paid" or real planning), mark it in the same line or the line before with <!-- zeitangabe: geprüft 0.75 --> (in YAML # zeitangabe: …, in TypeScript // zeitangabe: …). Marked places are listed separately under "Checked" with the version, so that they stand out again in the next round.

Dependencies and security updates

  • Dependabot (.github/dependabot.yml) suggests updates every Monday: small updates (minor, patch) collected in one PR, major versions individually, plus GitHub Actions, the base images and the Ollama version in the example deploy/beispiele/ki-ollama/ (only docker-compose.yml; update amd.yml and intel-grafik.yml by hand in the same PR – otherwise the test in the workflow KI-Beispiel fails with the matching sed command). Security updates come immediately. CI checks each of these PRs like any other; major versions please with a look at the library's changelog.
    • Exceptions (ignore in dependabot.yml) that deliberately come by hand: new major versions of node (base image, LTS series only), @types/node and typescript; for esbuild (still 0.x) also new minor versions.
  • npm audit runs in CI over everything that ends up in the image (--omit=dev). From level "high" the check fails. If a report demonstrably has no effect on Ablago, this is justified in the PR.
  • package-lock.json records the exact versions; CI and image install with npm ci. If a package.json changes without a matching lockfile, the workflow Lockfile erzeugen puts a new one on the branch werkzeug/lockfile; from there it is taken over with a normal commit.
  • Node version in two places (#1272): engines in package.json (all workflows read it via node-version-file) and the base image once in the Dockerfile (stage node-basis, on which build and runtime are based). Changing the major version changes both.
  • Security fix = patch release with the note "Security update – please update" in the release notes. Reports from outside are handled confidentially, see SECURITY.md.

Changing the Node major version

Since version 0.306 Ablago runs on Node.js 26 (#1473; before that 24). Node 24 has been in maintenance since 20 Oct 2026 and gets security updates until 30 Apr 2028; Node 26 has been active LTS since October 2026. From 2027 there is only one Node release per year. The change was planned early and without time pressure and finally came in week 48 of 2026, after a trial switch (#1456) and the fix for unread file streams (#1461). The original plan (#1473, follow-up from the risk profile #1413):

When What
January 2027 Branch with Node 26, work through the checklist below, note conspicuous packages
February 2027 Merge the change, release with a note for operators
31 Mar 2027 at the latest Node 26 in all images and workflows
until 30 Apr 2028 Node 24 only as a fallback for an older image; no security updates after that
24 Nov 2026 done: base image node:26-alpine, engines 26.x, @types/node 26, all workflows (via node-version-file)

Checklist for the change (applies likewise to every change of the major version):

  1. Version in both places (#1272): engines in package.json and the base image node:26-alpine in the stage node-basis of the Dockerfile. Plus @types/node at the new major version (deliberately not via Dependabot).
  2. Base image: it is pinned with a fixed digest in the Dockerfile, e.g. node:26-alpine@sha256:…; when switching, the digest of the new major version comes along. Dependabot brings new builds of the series as a PR (section OpenSSF Scorecard).
  3. CI: all workflows green – tests (all three parts), smoke tests with one and two processes, image-probe for both architectures, manual screenshots.
  4. Runner and tool service: test WebAssembly packages (WASI), workers and Node's permission model (--permission) against the runner – read Node's changelog specifically for changes to the permission model between major versions. Likewise the tool service (DMS_WERKZEUG_DIENST) and packages with code (Packages with code).
  5. Packages related to the runtime checked against Node 26, at least @simplewebauthn/server (passkeys, smoke test "Passkey"), postgres (database, server tests with PostgreSQL), the mail packages (nodemailer, imapflow, mailparser) and everything with native parts or node: modules that changed.
  6. Security comparison: the NVD comparison reads the Node version from the image (binaer: node in .github/werkzeuge/upstream-programme.json) – nothing to enter; after the first run check that it reports Node 26.
  7. Release note with "Note when updating" if something changes for operators (e.g. own images based on node:24, or a new minimum version for developers). Otherwise art: minor with one sentence under "Changed".
  8. Developer manual: update "Getting started" (Node version for developers) and this page.

Checking images, provenance and bill of materials

  • Trivy checks both images for known vulnerabilities in the system packages (Alpine, poppler, PostgreSQL in dms-komplett) and in the Node libraries in the image.
    • In the pull request (job image-probe, amd64): vulnerabilities of level critical for which there is a fix make the check fail; high with a fix appears as a warning. Findings without a fix don't block.
    • On main, for tags and in the weekly rebuild (job image-zusammen): the finished image is checked and the findings land under Security → Code scanning (category image-dms or image-dms-komplett). Here it is only reported – the image has already been published, after all.
    • Deliberately accepted findings are in .trivyignore with a reason and check date.
  • Security check of the delivered images (#1417, workflow sicherheitsabgleich.yml, Wednesdays): checks :stabil and :latest of both variants, also between two builds.
    • Second database: Syft creates the SBOM (amd64), Grype checks it. The libraries of the web interface come from ablago-bestandteile.cdx.json on the release, if present. Categories grype/<tag>-<variant>/ and grype/<tag>-oberflaeche/.
    • Directly at NVD (.github/werkzeuge/upstream-abgleich.mjs, list in upstream-programme.json): for poppler, qpdf, Node.js and PostgreSQL all reports whose CPE data cover the delivered version, and reports of the last 120 days that NVD has not analysed yet (keyword and pattern in the description). Whatever the Alpine secdb already lists as fixed for the package is dropped. Category upstream-abgleich/. Another program: entry in upstream-programme.json, test next to it.
    • Not public: findings only go to Security → Code scanning. The log names no findings, there are no artifacts. In pull requests only test, build and probe run.
    • Probe: known vulnerabilities in fixed versions (Node.js 18.0.0 at NVD, lodash 4.17.15 in Grype) must be found, otherwise the run is red. So red means "the check did not work", never "there is a finding".
    • Syft and Grype are built from source with a fixed version (.github/werkzeuge/anchore-installieren.sh, go install checked against sum.golang.org). When updating Grype, take the Syft version from its go.mod.
    • Without a key, NVD allows 5 requests per 30 seconds; the tool waits accordingly. A secret NVD_API_KEY (free from NVD, under Settings → Secrets and variables → Actions) makes it faster, but is not required.
    • Review and target times: SECURITY.md, section Responsibility and response times.
  • Same Alpine packages in both variants (#1397): the stage laufzeit in the Dockerfile ends with an apk upgrade --no-cache that never comes from the cache; komplett builds on it and no longer upgrades on its own. image-probe compares /lib/apk/db/installed of dms and dms-komplett per architecture (.github/werkzeuge/apk-versionen-vergleichen.sh, test next to it) and fails if a shared package is present in different versions. The probe builds with the same day key APK_TAG as main, so the package layer comes from the cache as it does there.
    • Trivy comes as a binary with a fixed version and fixed checksum (.github/werkzeuge/trivy-installieren.sh), not via the trivy-action: its tags were compromised in 2026 (CVE-2026-33634). A new version is entered there by hand, with both checksums from the release's checksums.txt.
  • Provenance and bill of materials (SBOM): every published image gets a signed attestation of which commit and which workflow it comes from, and a bill of materials in SPDX format. Both are next to the image in the registry. This can be checked with:

    gh attestation verify oci://ghcr.io/motom001/dms:stabil -R motom001/dms
    gh attestation verify oci://ghcr.io/motom001/dms:stabil -R motom001/dms --predicate-type https://spdx.dev/Document/v2.3
    
  • Components and licences in the release text (#1393): for a new version, image-zusammen creates a bill of materials with Trivy per variant and architecture and records the digests and the Node version (artifacts bestandteile-dms, bestandteile-dms-komplett). From this, release.yml uses .github/werkzeuge/bestandteile.mjs to write the section Bestandteile und Lizenzen in the release text and attaches the complete list as CSV, SPDX and CycloneDX; the comparison is with the CSV attached to the previous release. What Trivy can't see (web interface libraries, fonts, manual, Node.js) is added by the tool. If the Dockerfile adds a new package with apk add or a new npm dependency is added (including devDependencies), it needs a purpose in .github/werkzeuge/bestandteile-wozu.json, and the page Composition from components is regenerated with node .github/werkzeuge/bestandteile.mjs --handbuch (otherwise the job stil fails, #1412). Every component carries level, origin and use; tools for development and test are only in the attachments. If the data is missing, the release still appears, with a note. For operators: Components and licences.

OpenSSF Scorecard and rules for workflows

The workflow Scorecard rates weekly and with every push to main how the project deals with security. The result is public (scorecard.dev) and is a badge in the README; the individual notes are under Security → Code scanning. These rules follow from it:

  • Actions with a fixed commit id, the version as a comment after it: uses: actions/checkout@<40 characters> # v7.0.1. Dependabot updates both.
  • Permissions: at the top of the workflow only contents: read (or no permissions). Only the job that needs write permissions gets them (packages, contents, id-token, attestations, security-events). The only exception is the workflow Scorecard with permissions: read-all at the top – those are only read permissions; for publishing the result, this workflow may have no write permissions at the top.
  • No execution of outside code with permissions: pull_request_target only without checkout (as in the workflow Freigabe schützen).

Base images with a fixed digest (node:26-alpine@sha256:… and python:3.15-alpine@sha256:… in the Dockerfile, since 13 Nov 2026): a build takes exactly the checked image; a replaced tag on Docker Hub cannot slip in unnoticed. Dependabot (package-ecosystem: docker) keeps the digest current and brings new builds of the series as a weekly PR; security fixes to Node therefore come via that PR, not on their own with the weekly rebuild. Major versions of Node are still switched deliberately (Dependabot ignores them). Previously the rule was deliberately "without a fixed digest" (#289).

Deliberately different from what Scorecard would like:

  • Code review: with one maintainer there is no second person who approves every PR. Instead all checks must be green, and changes run via PRs with an issue.

Assessment of the first run

First run on 31/10/2026: 6.1 out of 10. This is how we deal with the individual checks:

Check Score Handling
Dangerous-Workflow, Token-Permissions, Binary-Artifacts, Dependency-Update-Tool, Security-Policy, Packaging, License, CI-Tests 10 met, keep it so
Vulnerabilities 8 Known vulnerabilities in development tools (not in the image – npm audit --omit=dev and Trivy check that). Go away with the updates from #236; list under Security → Dependabot.
Pinned-Dependencies 6 Actions fixed, npm ci without falling back to npm install. Since #289 also the manuals' tools: mkdocs with all dependencies via docs/handbuch/requirements.txt with hashes (image and CI, Dependabot keeps them up to date), Playwright with a fixed version and its own lockfile in web/rauchtest/ (npm ci, #1272). Deliberately open: base images without a digest (see above), FROM laufzeit (internal stage, false alarm), npm install --package-lock-only in Lockfile erzeugen (creates the lockfile, false alarm) and the runners' apt packages.
SAST 4 CodeQL has run on every PR since the end of October 2026. The score counts the latest commits and rises by itself.
Maintained 0 The repository is younger than 90 days; afterwards activity counts and the score rises by itself.
Branch-Protection 0 Switch on the ruleset following the suggestion below (maintainer).
Code-Review 0 Can't be met with one maintainer, see above.
CII-Best-Practices 0 Fill in the self-assessment on bestpractices.dev (maintainer, a good hour); then a badge in the README.
Contributors 3 Counts the contributors' companies and organisations – no action needed.
Fuzzing 0 Deliberately not: schemas and tests check inputs; fuzzing only pays off for parsers of our own.
Signed-Releases ? GitHub releases have no files – the images are the release and carry provenance and SBOM.

Suggestion: rule for the branch main

Under Settings → Rules → Rulesets, create a ruleset for the default branch (the maintainer switches it on):

  • Require a pull request before merging (without required review, see above),
  • Require status checks to pass: pruefen, image-probe (linux/amd64, ubuntu-24.04), image-probe (linux/arm64, ubuntu-24.04-arm), bauen (manual),
  • Require code scanning results: CodeQL, threshold as in the settings ("High or higher"),
  • Block force pushes and Restrict deletions,
  • Bypass: only the maintainer (role Repository admin), so that emergency fixes stay possible.