Repository navigation
Releases
v1.2.1
Highlights
zlib 1.4-r0 in the image. The ghcr.io images, the -compose tags included, ship zlib 1.4-r0. The Alpine 3.24.4 base image carries zlib 1.3.2-r1, which is affected by CVE-2026-4738; 1.2.0 shipped that version (#940), by @CybotTM.
Changed
- Module updates: docker/cli 29.10.0, moby/moby/client 0.6.3 and golang.org/x/crypto 0.59.0 (#938, #942, #943).
docs/SECURITY.mddescribes running the container as a non-root user with--user 65534:<docker socket GID>; the image default stays root (#941), by @CybotTM.
Full changelog: v1.2.0...v1.2.1
Container image
ghcr.io/netresearch/ofelia:1.2.1
ghcr.io/netresearch/ofelia:1.2
ghcr.io/netresearch/ofelia:1
Verify your download
Per-asset signatures are bundled. Verify any single file:
cosign verify-blob \
--bundle ofelia-linux-amd64.sigstore.json \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
ofelia-linux-amd64Verify checksums against the signed manifest:
cosign verify-blob \
--bundle checksums.txt.sigstore.json \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
checksums.txt
sha256sum -c checksums.txt --ignore-missingVerify build provenance. Releases are built by a reusable
workflow, so the signing identity is that workflow rather than
this repository -- --signer-workflow is required and
verification fails without it:
gh attestation verify <artifact> \
--repo netresearch/ofelia \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.ymlVerify container image:
cosign verify ghcr.io/netresearch/ofelia:1.2.1 \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com"
gh attestation verify oci://ghcr.io/netresearch/ofelia:1.2.1 \
--repo netresearch/ofelia \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.ymlv1.2.0
Highlights
The Compose project in label-defined job names. With [global] job-exec-label-scope = project-service, a job-exec job defined by container labels is named {project}.{service}.{job}, so one daemon that watches several Compose projects keeps their jobs apart when the projects reuse a service name such as app. The default scope stays service (#932) — reported by @landure in #927, implemented by @CybotTM.
Job output in the mail body. mail-output-in-body puts the job output into the notification mail instead of the stdout.log and stderr.log attachments: N for the last N lines of stdout and of stderr, -1 for the whole captured output, 0 or unset for the attachments as before (#916) — requested by @eingemaischt in mcuadros#341 (tracked here as #316), first implemented by @Area128 in #882, finished by @CybotTM.
Go 1.27.4. The binaries and images are built with Go 1.27.4; Go 1.27.3 carries GO-2026-6859 in net/http (#933).
Fixed
- Mail notifications need
email-to. A mail behaviour flag alone, such asmail-only-on-errorormail-output-in-bodyin[global], no longer attaches the mail middleware, so a run without a recipient no longer logs a mail error (#919, fixing #917), by @duongynhi000005-oss. ofelia validaterejects an unknownjob-exec-label-scopevalue, and so does the daemon at startup withenable-strict-validation = true; before, the value fell back toservicewith a warning (#932), by @CybotTM.
Changed
- The image's Alpine base moves to 3.24.4 (#929).
- Module updates: docker/cli 29.9.3, go-smtp 0.25.1, validator 10.30.6, klauspost/compress 1.20.4, golang.org/x/term 0.48.0 and golang.org/x/text 0.44.0 (#920, #921, #925, #930, #931, #934).
- README and the configuration docs describe the default label prefix (Compose service name, container name as fallback) and
job-exec-label-scope(#936), by @CybotTM.
Full changelog: v1.1.0...v1.2.0
Container image
ghcr.io/netresearch/ofelia:1.2.0
ghcr.io/netresearch/ofelia:1.2
ghcr.io/netresearch/ofelia:1
Verify your download
Per-asset signatures are bundled. Verify any single file:
cosign verify-blob \
--bundle ofelia-linux-amd64.sigstore.json \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
ofelia-linux-amd64Verify checksums against the signed manifest:
cosign verify-blob \
--bundle checksums.txt.sigstore.json \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
checksums.txt
sha256sum -c checksums.txt --ignore-missingVerify build provenance. Releases are built by a reusable
workflow, so the signing identity is that workflow rather than
this repository -- --signer-workflow is required and
verification fails without it:
gh attestation verify <artifact> \
--repo netresearch/ofelia \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.ymlVerify container image:
cosign verify ghcr.io/netresearch/ofelia:1.2.0 \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com"
gh attestation verify oci://ghcr.io/netresearch/ofelia:1.2.0 \
--repo netresearch/ofelia \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.ymlv1.1.0
Highlights
Compose projects as a job source. Register a Docker Compose project with [compose-project "name"], and Ofelia schedules the top-level jobs: of that project, read with compose-go. A job runs the project model accepted at registration, not Compose files edited afterwards. With --state-file, Compose jobs support missed_fires: one and concurrency: queue. See the jobs reference. ADR-004 and ADR-005 record the decisions (#888, #891, #892, #897, #905, #906, #907), by @CybotTM.
A -compose image variant contains the Compose CLI for those jobs: ghcr.io/netresearch/ofelia:1.1.0-compose, also tagged 1.1-compose, 1-compose and latest-compose. The default image is unchanged (#889), by @CybotTM.
Check your schedules before upgrading. go-cron moves from 0.17.0 to 0.19.0. A schedule whose step or range starts above the field maximum, such as 60/5 * * * * or 0 25-1 * * *, is now rejected; 0.17.0 accepted both. The daemon still starts, logs that job as rejected and does not run it. With [global] enable-strict-validation = true it cannot load the config file and schedules none of its jobs. Run ofelia validate or ofelia doctor to find such a schedule.
Fixed
- A canceled
job-localrun terminates its command and every process it started (SIGTERM to the process group, SIGKILL after 10 seconds). A canceledjob-execrun records whether the command is still running, has exited, or could not be inspected (#890), by @CybotTM. - A job disabled through the API or the web UI stays disabled when a config reload replaces it (#893), by @CybotTM.
[global] max-runtimeapplies at run time: a changed value reaches every job that inherits it on the next reload, and also bounds runs in progress (#895), by @CybotTM.- A replacement job does not start beside a removed job that is still stopping. Manual starts return
409 Conflictduring that interval; a deferredrun-on-startupfire runs after it ends (#896, #900), by @CybotTM. - Compose run executions are bounded by their own
max-runtimeor the global value, and their labelled workload containers are stopped and removed on cancellation (#887, #894), by @CybotTM. - The web API reads a job's last run and history without a data race (#899) — reported in #898, fixed by @CybotTM.
Changed
- go-cron 0.19.0, with the parse change above and go-cron's fixes for schedules that cross a daylight saving transition; see its 0.18.0 and 0.19.0 notes (#914), by @CybotTM.
- The image's Alpine base moves to 3.24.3 (#908).
Full changelog: v1.0.2...v1.1.0
Container image
ghcr.io/netresearch/ofelia:1.1.0
ghcr.io/netresearch/ofelia:1.1
ghcr.io/netresearch/ofelia:1
Verify your download
Per-asset signatures are bundled. Verify any single file:
cosign verify-blob \
--bundle ofelia-linux-amd64.sigstore.json \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
ofelia-linux-amd64Verify checksums against the signed manifest:
cosign verify-blob \
--bundle checksums.txt.sigstore.json \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
checksums.txt
sha256sum -c checksums.txt --ignore-missingVerify build provenance. Releases are built by a reusable
workflow, so the signing identity is that workflow rather than
this repository -- --signer-workflow is required and
verification fails without it:
gh attestation verify <artifact> \
--repo netresearch/ofelia \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.ymlVerify container image:
cosign verify ghcr.io/netresearch/ofelia:1.1.0 \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com"
gh attestation verify oci://ghcr.io/netresearch/ofelia:1.1.0 \
--repo netresearch/ofelia \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.ymlv1.0.2
Highlights
Security: built with Go 1.27.3. The binaries and the ghcr.io image are built with Go 1.27.3 instead of 1.27.1. Go 1.27.3 makes crypto/x509 reject certificate chains that contain the compromised eMudhra intermediate certificates (CVE-2026-111943, golang/go#82345). This covers ofelia's own TLS connections: mail, Slack and webhook notifications, and a Docker daemon reached over TLS. v1.0.1 was built with Go 1.27.1 and accepts those chains. Programs that jobs run inside the image and that do not filter chains themselves, such as curl, rely on the image's CA bundle alone; the image ships ca-certificates 20261020-r0, which no longer contains emSign ECC Root CA - G3 or Sectigo's AAA Certificate Services, the two roots those intermediates chain to. Update to this release.
No configuration key changes meaning, so no config file needs editing.
Fixed
- The web UI has a login flow when web authentication is enabled. It showed no login and polled
/api/dashboardinto a 401 on repeat; it now shows a login dialog (#865) — reported by @Plyrolith in #864, fixed by @CybotTM. - The web UI's authentication resists spoofed client IPs, oversized request bodies and cross-origin writes (#866), by @CybotTM.
- A live reload detects a change to every job field, among them
useronjob-exec(#877) — reported by @Silex in #876, fixed by @CybotTM. WaitContainerreports the Docker error when it sees the channel closed first (#863), by @CybotTM.
Changed
- Go module dependencies are updated, among them
docker/cli29.9.2,moby/moby/client0.6.2,golang.org/x/crypto0.58.0 andnetresearch/go-cron0.16.1 (#852, #870, #872, #884), by @CybotTM. docs/CONFIGURATION.mdlists every proxy stage thatweb-trusted-proxieshas to name (#869), by @CybotTM.
Full changelog: v1.0.1...v1.0.2
Container image
ghcr.io/netresearch/ofelia:1.0.2
ghcr.io/netresearch/ofelia:1.0
ghcr.io/netresearch/ofelia:1
Verify your download
Per-asset signatures are bundled. Verify any single file:
cosign verify-blob \
--bundle ofelia-linux-amd64.sigstore.json \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
ofelia-linux-amd64Verify checksums against the signed manifest:
cosign verify-blob \
--bundle checksums.txt.sigstore.json \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
checksums.txt
sha256sum -c checksums.txt --ignore-missingVerify build provenance. Releases are built by a reusable
workflow, so the signing identity is that workflow rather than
this repository -- --signer-workflow is required and
verification fails without it:
gh attestation verify <artifact> \
--repo netresearch/ofelia \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.ymlVerify container image:
cosign verify ghcr.io/netresearch/ofelia:1.0.2 \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com"
gh attestation verify oci://ghcr.io/netresearch/ofelia:1.0.2 \
--repo netresearch/ofelia \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.ymlv1.0.1
A maintenance release: the go directive raised to 1.27, the dependency graph brought current, and the codebase modernized to what Go 1.27's go fix produces. No configuration key, endpoint or job semantics change, so no config file needs editing.
Two runtime defaults change
Go compiles a module declaring an older version with that version's compatibility settings, so the binary carried DefaultGODEBUG=tracebacklabels=0,x509sslcertoverrideplatform=0 until now. Raising the go directive drops both pins:
| setting | 0, until now | 1, the Go 1.27 default |
|---|---|---|
tracebacklabels |
goroutine labels absent from tracebacks | labels appear |
x509sslcertoverrideplatform |
the platform certificate store always wins | on Windows and darwin, crypto/x509 loads roots from disk when SSL_CERT_FILE or SSL_CERT_DIR is set |
The second one is the operationally relevant one. An operator who sets either variable on Windows or darwin and relies on the platform store winning should set GODEBUG=x509sslcertoverrideplatform=0. Linux builds and the ghcr.io image are unaffected — the setting exists only for those two platforms (#824 by @CybotTM).
Documentation
default-user and a job's own user are documented as the distinct states they have. An empty value means something different at the two levels, which the documentation did not say and is the easy mistake. For [global] default-user: absent yields nobody, empty and default both yield the container's own user, anything else is taken literally. For a job's own user: absent or empty inherits whatever the global resolved to, and only default bypasses it. Both are now tables in docs/CONFIGURATION.md, and the three per-job descriptions in docs/jobs.md say which of the two they are.
The reservation of default is written down for the first time: a container user of that name cannot be selected at either level (#825 by @CybotTM, closing #718 reported by @CybotTM).
AGENTS.md gained the release process, the backlog signals, the deprecation policy and what earns a major bump (#827, #828 by @CybotTM).
Internal
The codebase was modernized via go fix from Go 1.27.1, across 56 files (#850 by @CybotTM). In production code that is 23 counters becoming atomic.Int32/Int64/Uint64 instead of plain integers reached through atomic.LoadInt64(&x) — same memory semantics, and the atomic types carry their own 64-bit alignment — two Docker struct literals losing their embedded-type wrapper now that Go 1.27 accepts any field selector as a literal key, and one reflection loop becoming reflect.Value.Fields(). The rest is tests.
Two things were measured rather than assumed. BareJob.running became atomic.Int32, and BareJob.Hash walks the struct by reflection, recursing into any field of kind Struct before checking its hashme tag — that hash decides whether a config reload treats a job as changed. The same job hashes byte-identically before and after. The two flattened literals were compared with reflect.DeepEqual against the wrapped form and are equal.
The go fix run was repeated with -tags=integration,e2e, because a file behind a build tag is invisible to a plain go fix ./...: 25 of the 56 files appear only in the tagged run.
30 superseded go.sum checksums were removed. They had accumulated because a dependency bump adds the new checksum without removing the old one, which left go mod tidy -diff failing on main and this repository's own go-mod-tidy pre-commit hook rejecting every commit (#850).
Dependencies
creasty/defaults 1.11.0, docker/cli 29.8.1, go-playground/validator/v10 10.30.5, klauspost/compress 1.20.0, moby/moby/api 1.56.0, moby/moby/client 0.6.0, golang.org/x/crypto 0.57.0, x/term 0.46.0, x/text 0.42.0, x/time 0.16.0, the alpine base image to 3.24.2, and the toolchain to go1.27.1.
CI
Renovate processes this fork again; it had been skipping the repository because the Mend app runs in autodiscover mode and passes over forks that do not set forkProcessing (#830 by @CybotTM). The Dependabot configuration is removed, leaving Renovate as the only updater (#835 by @CybotTM). step-security/harden-runner moved to v2.21.1 (#832).
Full changelog: v1.0.0...v1.0.1
v1.0.0
The first stable release. From here a breaking change to the documented HTTP API or to the INI and label configuration takes a major bump, and the "pre-1.0" allowance two of the source-level changes below were taken under no longer applies.
Upgrading needs no configuration change. slack-webhook, poll-interval and no-poll were scheduled for removal in this release and still work; that window now runs to v2.0.0. poll-interval and no-poll migrate on their own, slack-webhook does not — a [webhook "name"] section with preset = slack replaces it when you get to it.
The dashboard, rebuilt
@KamilPesek rebuilt the web UI and most of the API underneath it: a /api/dashboard aggregate endpoint so a polling client spends one request per tick instead of five, response compression negotiated over zstd and gzip, ETagged embedded assets, and a recentRuns summary on job payloads that feeds a per-job sparkline. The page is assembled from html/template partials rather than one string, OFELIA_UI_DEV_DIR serves it from disk while you work on it, and it renders when the browser blocks site data.
Around that: stat cards for active and failing jobs and the next run, search and sorting on the job table, last/avg/max in the duration cell, history in a modal, run output in a full-width subrow, and origin badges that say when a job belongs to the INI file or to Docker labels — with the delete button hidden rather than offered and then refused.
Also from @KamilPesek: sortable headers operable from the keyboard, and the orchestrator probes exempted from rate limiting so /live and /ready never answer 429.
The API stopped editing what it does not own
POST /api/jobs/create and /api/jobs/update now answer 403 Forbidden for a name owned by the INI file or by Docker labels, mirroring the delete gate. Both previously succeeded, which is the breaking change most likely to be noticed: a script that edited config-owned jobs through the API now fails instead of silently diverging from the file it should have edited.
Jobs the API does own survive a restart, and an API-created job of any type now gets the config decoder's struct-tag defaults — most importantly HistoryLimit, which was 0 for exec, compose and local jobs and made them retain every execution for the life of the daemon.
maxRuntime is accepted on API-created run jobs, contributed by @matheusamendola. It inherits [global] max-runtime when omitted, the same ladder an INI [job-run] section climbs.
Fixes
A long log stays where you scrolled it — reported by @radoeka in #808, who noticed the view jumping back to the top on every refresh.
A delete landing inside an update no longer leaves a job in the by-name map without a cron entry: reported as live by the API, never firing again. A failed UI render answers 500 instead of committing a half-written 200. The server-time display keeps its zone offset. Tooltips reach screen readers and dismiss on Escape. The Exec-mode switch reports its own state.
Unauthenticated /api/* requests are counted by the rate limiter. It sat inside the auth middleware, so a 401 never reached it — token guessing was the one kind of traffic it never saw, while the same address was metered on every static asset it fetched.
Documentation
The Docker startup retry from #523 and the ofelia hash-password command were both reachable only by reading the source; the docs now describe them, and no longer suggest generating a bcrypt hash with a Python one-liner that puts the password in your shell history.
Full Changelog: v0.30.0...v1.0.0
v0.30.0
v0.30.0 is a maintenance release: Go 1.27, the whole dependency graph brought current, and the codebase modernized to the Go 1.26 idioms.
Toolchain
The Go toolchain moved to go1.27.0; the supported minimum stays Go 1.26 (#800). Two lint classes surfaced under the new toolchain and are resolved in the same change: gofumpt's new closing-paren placement, and six //nolint:goconst directives that goconst no longer needs.
Dependencies
The scheduler core netresearch/go-cron moved to v0.16.0, its first release with the Go 1.26 floor (#802). The rest of the graph followed: docker/cli 29.7.2, emersion/go-smtp 0.25.0, moby/moby/client 0.5.1, testify 1.12.1, golang.org/x/crypto 0.55.0, golang.org/x/text 0.41.0 plus indirect moves (#801), and the harden-runner action group (#799).
Internal
go fix and manual passes modernized the code — strings.Cut, slices.Backward (with the safety argument documented at the removal loop), maps.Copy, errors.AsType[T], atomic.Int32 in tests — with no behavior change (#800).
Full Changelog: v0.29.1...v0.30.0
Verify your download
Per-asset signatures are bundled. Verify any single file:
cosign verify-blob \
--bundle ofelia-linux-amd64.sigstore.json \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
ofelia-linux-amd64Verify checksums against the signed manifest:
cosign verify-blob \
--bundle checksums.txt.sigstore.json \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
checksums.txt
sha256sum -c checksums.txt --ignore-missingVerify build provenance. Releases are built by a reusable
workflow, so the signing identity is that workflow rather than
this repository -- --signer-workflow is required and
verification fails without it:
gh attestation verify <artifact> \
--repo netresearch/ofelia \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.ymlVerify container image:
cosign verify ghcr.io/netresearch/ofelia:0.30.0 \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com"
gh attestation verify oci://ghcr.io/netresearch/ofelia:0.30.0 \
--repo netresearch/ofelia \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.ymlv0.29.1
A security release. If ofelia watches a Docker host that also runs containers you do not fully trust, upgrade to this version.
Upgrade now if you run ofelia in Docker-label mode
Jobs can be defined by the labels on the containers ofelia scans, so a container could set labels on itself to have a job run against it. Three privilege-bearing keys on those jobs were honored no matter where they came from — even with allow-host-jobs-from-labels in its default, off state, the setting that is supposed to keep host jobs out of labels entirely.
privilegedon ajob-execreacheddocker exec --privileged, the starting point for a privileged-container escape to the host.env-fileread a file from ofelia's own filesystem view into the job's environment — its mounts, its injected config, any credential file it can see.env-fromcopied another container's entire environment, secrets included, into a job the attacker controls.
The label-security filter added for host bind mounts covered job-run / job-service-run but never these three keys, and job-exec was not routed through it at all. This release strips privileged, env-file and env-from from every label-defined job unless you have explicitly set allow-host-jobs-from-labels=true — on both first sync and every later container reconcile — and logs a SECURITY POLICY VIOLATION each time it does. Keys are stripped in place, so the job still runs, just unprivileged and without host or cross-container environment. Configuration from an INI file is trusted and unaffected, and setting the opt-in flag restores the old behaviour for single-tenant hosts.
Reported by @KamilPesek and fixed by @CybotTM. Affected versions, CVSS and the full write-up are in GHSA-h7m7-v83x-vfp3.
Security
- Label-sourced jobs can no longer carry
privileged,env-fileorenv-frompast the host-escalation policy. Stripped from every label-defined job unlessallow-host-jobs-from-labels=true, on both the initial-load and live-reconcile paths, matched by normalized key so casing and separator variants are caught, logged per stripped key (#791, GHSA-h7m7-v83x-vfp3).
Full changelog: v0.29.0...v0.29.1
Container image
ghcr.io/netresearch/ofelia:0.29.1
ghcr.io/netresearch/ofelia:0.29
ghcr.io/netresearch/ofelia:0
Verify your download
Per-asset signatures are bundled. Verify any single file:
cosign verify-blob \
--bundle ofelia-linux-amd64.sigstore.json \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
ofelia-linux-amd64Verify checksums against the signed manifest:
cosign verify-blob \
--bundle checksums.txt.sigstore.json \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
checksums.txt
sha256sum -c checksums.txt --ignore-missingVerify build provenance. Releases are built by a reusable
workflow, so the signing identity is that workflow rather than
this repository -- --signer-workflow is required and
verification fails without it:
gh attestation verify <artifact> \
--repo netresearch/ofelia \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.ymlVerify container image:
cosign verify ghcr.io/netresearch/ofelia:0.29.1 \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com"
gh attestation verify oci://ghcr.io/netresearch/ofelia:0.29.1 \
--repo netresearch/ofelia \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.ymlv0.29.0
A release about ofelia telling the truth about itself. A job the scheduler refused was reported as scheduled, /health claimed health it had never established, validate returned success on a config it had not checked, and shutdown ended the process before the hooks that stop the web server had run. Each of those looked fine from the outside, which is what made them worth fixing.
Check before you upgrade
Three changes alter behaviour you may be relying on.
ofelia validate now exits non-zero when validation fails. It previously logged the error and returned 0, so ofelia validate … || exit 1 in a pipeline never fired. If you have a pipeline step that has been silently passing, it will start failing — that is the point, but see it coming.
ofelia validate now also validates the jobs, not only the [global] section. A [job-run] without an image, or a [job-exec] without a container, used to pass and then fail on every tick at runtime. A config that passed before may not now.
/health can now answer degraded. It previously reported healthy unconditionally for the scheduler. /ready is unchanged and still answers 200 for degraded — one job with a typo does not take a daemon out of rotation while its other jobs keep running.
Added
ofelia validate validates the jobs. Each job type is checked for the fields its runtime actually requires, and the schedule and command are required everywhere (#778).
Fixed
/health reports degraded while a configured job is not scheduled. The scheduler check was a stub returning healthy unconditionally, with a comment saying a real implementation would check the scheduler. A daemon whose job had a mistyped schedule — a job that never fires — served a green /health, which is the probe the integration docs tell operators to point a container healthcheck at. The check now names every job the scheduler refused, and a corrected config reloaded at runtime clears the complaint without a restart (#780).
Shutdown no longer ends the process before its hooks have run. The daemon watched the channel that closes when shutdown starts, not when it finishes, so everything after the first priority group was killed mid-flight — the web server was never stopped gracefully despite having a hook registered to do it, cutting any request in progress. Measured on a release build, SIGTERM reached the end of shutdown in 0 of 5 runs before the fix and 5 of 5 after (#781).
/health reported a version of 1.0.0 for every build ever shipped. It was hardcoded at the call site, so the endpoint could not identify which ofelia was answering. It now reports the running build (#781).
A job the scheduler rejects is reported instead of counted as running. Five registration errors were discarded, and the startup line reported the number of jobs in the config rather than the number actually scheduled, so an operator saw a healthy daemon and a job that silently did nothing (#777).
A failing command leaves a non-zero exit status (#771), ofelia --config=x daemon is accepted rather than only ofelia daemon --config=x (#776), web credentials are required only when web authentication is enabled (#775), and a container without a Config no longer crashes the daemon — two places dereferenced that pointer unguarded while converting Docker's response (#768).
An expanded job output no longer collapses on its own. The UI refresh rebuilt the history table and re-created every <details> without its open attribute, so an output snapped shut within five seconds of being opened. Reported by @GlenNicholls (#764).
Documentation
The documented health endpoints did not exist: GET /health/liveness and /health/readiness were described where the daemon serves /health, /healthz, /ready and /live, with invented response shapes. The OpenAPI description of /health did not match the served body either — uptime instead of uptimeSeconds, checks as booleans where each is an object, no timestamp or system, and a 503 that /health never returns. All four endpoints are now specified against shared schemas.
One trap worth stating here: durationMs in the health report carries nanoseconds, not milliseconds. It serialises a Go time.Duration. A local Docker ping reads 8332586 — 8.3 ms. The field name is left alone because renaming it would break every existing consumer; the unit is now documented wherever the field appears.
Verifying this release
Every binary ships an in-toto provenance attestation (*.intoto.jsonl) and a Sigstore bundle, alongside checksums.txt and its signature. The verification commands are in SECURITY.md.
Note that the container image tag drops the v the release tag keeps: v0.29.0 publishes ghcr.io/netresearch/ofelia:0.29.0.
Full changelog: v0.28.1...v0.29.0
v0.28.1
A documentation and tooling release. One change reaches a running deployment; the rest corrects what the documentation promised and makes the checks that should have caught it able to fail.
⚠️ If you configured container hardening, read this
The documentation described 37 configuration keys that do not exist. Ofelia ignores an unrecognized key without warning, so these lines were silently discarded. Git history shows none of them was ever implemented.
The ones that matter sat in SECURITY.md under container hardening — memory, memory-swap, cpu-shares, cpu-quota, capabilities-add, capabilities-drop, dns, tmpfs — presented as the way to constrain a job. If you set any of them, your jobs were never constrained. Resource limits belong on the Compose service for exec jobs and on the daemon for run jobs, per ADR-002.
Also corrected: max-runtime does not work on job-exec and a [global] max-runtime does not reach it; timeout, delay and max-concurrent-jobs exist nowhere; user is not a job-local key; job-compose takes only file, service and exec.
Fixed
- Notification mails no longer contain invisible characters. The HTML body carried five U+200B zero-width spaces around the job name, duration and command. They shipped in every notification and are a known spam-filter signal.
- The release-verification instructions could not work. Every command in
SECURITY.mdwas wrong — wrong signature file extensions, a signer workflow that does not exist, a verifier aimed at assets no release ships. They are corrected and were executed against the published v0.28.0. The container image tag also drops thevthe release tag keeps:v0.28.1publishesghcr.io/netresearch/ofelia:0.28.1. - Nine packages, including the module root, showed "There is no documentation for this package" on pkg.go.dev. Every package and every exported symbol is now documented.
Security
Secret scanning matched nothing. .gitleaks.toml declared an allowlist and no rules, and a gitleaks config file replaces the built-in ruleset unless it extends it — so every scan reported "no leaks found" regardless of input. Verified by planting a token: reported with the fix, silent without it. Turning it on surfaced four documentation examples, now unmistakable placeholders. None is a live credential.
Changed
Error messages now start lowercase, matching Go convention. Anything matching on the leading capital of a message such as Docker image cannot be empty needs adjusting.
Quality gates
The linters could not fail on much: blanket staticcheck exclusions hid the mail template's invisible characters, output was capped at 50 issues per linter so a regression could hide behind the cap, and findings on a line another linter had already flagged were dropped.
New gates, each verified by breaking it — documented INI snippets are parsed with the real parser, so a renamed key cannot leave the docs behind; every HTTP route is held to a declared authentication expectation, closing the gap where a route outside /api/ shipped reachable without a token; and each published release is now re-verified with the commands SECURITY.md gives to users.
Full changelog: v0.28.0...v0.28.1