The tasks page listed shortcuts for start-all, server, scheduler,
coordinator and worker next to the PATH and service options. A first-time
user cannot tell what those processes are, and the shortcuts opened
console windows, so the page read as a quiz about Dagu internals.
The wizard now asks "How should Dagu run?" with two radio buttons: as a
Windows service (recommended) or as a command-line tool, plus one PATH
checkbox. The welcome page says in one paragraph what those choices mean.
When the service is chosen, a new page asks for the web UI and
coordinator ports, refuses a port that is already in use before anything
is installed, and keeps the ports of an existing service on an upgrade.
The summary page shows the resulting URL and data directory, the finish
page repeats them and can open the web UI, and the Start menu gets an
"Open Dagu" shortcut instead of five console launchers. An upgrade
removes the old launchers, and one that switches to the command-line
tool removes the service rather than leaving it registered.
Service setup shows a status line while it runs and keeps the script's
output in service-setup.log; a failure dialog quotes the actual error
from that log together with the command to retry. The uninstaller keeps
the service files if the service could not be removed.
The setup file, the shortcut and the Apps & features entry use the web
UI's icon. Silent installs choose the mode with /TASKS=service,path or
/TASKS=manual,path and may pass /PORT and /COORDINATORPORT, each of
which is kept from the installed service when omitted on an upgrade.
The installer tests move to a workflow of their own, triggered only by
the installer files, and cover both modes and the single-flag upgrades.
The release workflow gains a manual trigger that rebuilds and re-signs
one release's installer, publishing it without a moment in which the
release has no installer, and one run at a time per tag.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
SmartScreen blocked dagu-<version>-setup.exe in Edge because it was an
unsigned executable with no download reputation, and Windows showed an
unknown publisher when it ran. Azure Artifact Signing (formerly Trusted
Signing) fixes both, and feeds reputation straight into SmartScreen.
Signing happens inside GoReleaser, as a post-build hook that signs each
Windows binary in place with jsign, so the archive, checksums.txt, the
attestation, the packslip and the installer all carry the same signed
bytes. The installer job then passes a jsign sign tool to Inno Setup,
which signs the setup executable and its uninstaller, and refuses to
upload an installer whose signature is not valid and timestamped.
A composite action logs in to Azure with the job's OIDC token for the
`release` environment, fetches a short-lived token for the signing
service and downloads a checksum-pinned jsign. No secret is stored. The
whole path is gated on the AZURE_SIGNING_ACCOUNT repository variable, so
a release still builds unsigned when it is empty.
The installer is now dagu-windows-amd64-setup.exe on every release, so
the newest one has a stable releases/latest/download URL.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This reverts commit 15f354f23 (#3493). The installers return to the
previous skill install, detection and uninstall behavior.
This also restores the bash 3.2 uninstall failure on empty lists,
which #3493 fixed alongside the skill change.
Three linter jobs each linted all 285 packages, for linux, windows,
and darwin, though only 29 packages have files that differ on Windows
and 4 on macOS. One job now lints everything for Linux, then lints
only those packages for each other system, which sees every file
behind a build constraint at a fraction of the work and two fewer
jobs per run.
CI waits on the org's 20 concurrent jobs, and most of each job was
setup. Every Ubuntu job restored a 6.6 GB build cache, mostly builds
of earlier commits that Go keeps for five days, which took two to
three minutes to unpack. The linters restored that race and coverage
cache too, though they compile for another GOOS.
The job that saves a cache now first drops the entries it did not
use, so the cache holds one build. Each linter GOOS keeps a small
cache of its own. Suites whose tests run shorter than a job's setup
use fewer shards: Ubuntu integration one instead of three, and the
Windows unit and integration suites two each instead of three and
four.
* **Chores**
* Added Windows build automation scripts for the UI and application
build pipeline with dependency management and error handling.
* Updated frontend template path handling with JavaScript escaping for
enhanced security.