Commit Graph
56 Commits
Author SHA1 Message Date
Yota Hamada 0ad254c59f Keep runs alive across service restarts (#3903) 2026-11-14 19:17:47 +09:00
Yota HamadaandClaude Fable 5.1 e5b262a1ee Ask the Windows installer one plain question instead of seven checkboxes (#3655)
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>
2026-11-08 12:15:22 +09:00
Yota HamadaandClaude Fable 5.1 351289d2f6 Sign the Windows binaries and installer with Azure Artifact Signing (#3645)
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>
2026-11-08 00:18:34 +09:00
Yota Hamada f6b99497e6 Revert the user-level AI skill install
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.
2026-11-07 00:43:58 +09:00
Yota Hamada 15f354f232 Install the AI skill for the user, not the folder (#3493) 2026-11-03 16:56:15 +09:00
Yota Hamada e9c23f74a1 Add a Calendars page to browse and edit calendars (#3451) 2026-11-01 22:18:55 +09:00
Yota Hamada 9436ffc1fd Lint Windows and macOS files in one linter job
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.
2026-10-25 21:24:15 +09:00
Yota Hamada d6c474a3bd Spend fewer runner minutes per CI 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.
2026-10-25 21:19:23 +09:00
Yota Hamada eb5b40bcc8 Guide new installs to a first monitored workflow (#3227) 2026-10-18 02:21:19 +09:00
Yota Hamada b0dc45a379 Show license status and paid feature benefits (#3013) 2026-10-04 21:53:49 +09:00
Yota Hamada 1a76b62f62 ci: shard Go and conformance tests to cut CI time (#2862) 2026-09-25 15:14:29 +09:00
Louis DeconinckandYota Hamada 6af1bab692 feat(windows): add Inno Setup installer (#2743)
Co-authored-by: Yota Hamada <yohamta@gmail.com>
2026-09-11 20:20:02 +09:00
Yota Hamada 9f57a0196f fix: restore simple Windows installer command (#2541) 2026-08-09 10:33:20 +09:00
Yota Hamada 4588800b70 fix: run downloaded Windows installer in script scope (#2540) 2026-08-09 01:55:26 +09:00
Yota Hamada 29e04f68ff fix: restore Windows installer and add CI coverage (#2535) 2026-08-08 16:16:51 +09:00
Yota Hamada 492c833e5c fix: keep proc liveness usable when a proc file is damaged (#2507) 2026-08-06 17:13:47 +09:00
Yota Hamada 0c8a7670a0 refactor: remove migrate command (#2347) 2026-07-01 21:28:45 +09:00
Cocoon-Break e6b54d442c fix: track temp files via registry file instead of subshell-local array (#2198) 2026-05-24 18:09:36 +09:00
Yota Hamada aded506fef feat: add remote action executor (#2167) 2026-05-18 13:37:26 +09:00
Yota Hamada 7420a1932e feat: add dagu agent command (#2107) 2026-05-06 23:03:01 +09:00
dependabot[bot]andYota Hamada b620cf132d chore(deps): bump the ui-patch group across 1 directory with 6 updates (#2070)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yota Hamada <yohamta@gmail.com>
2026-04-30 13:41:20 +09:00
Yota Hamada 8d940166c0 test(e2e): add distributed stack Playwright harness (#1996) 2026-04-12 20:54:04 +09:00
Yota Hamada 62ebc8b76e revert: rollback installer tmpfile refactor 2026-04-06 13:25:33 +09:00
Yota Hamada 2c47e3f284 fix: migrate GitHub org references to dagucloud 2026-04-06 13:16:44 +09:00
Yota Hamada 70f1891b5b fix: track installer tmpfiles in parent shell (#1870) 2026-03-29 00:30:37 +09:00
Yota Hamada 15556d6c16 fix(installer): remove --ignore-missing flag from sha256sum for BusyBox compatibility (#1819) 2026-03-22 01:14:51 +09:00
Yota Hamada 168cd9d9cf Preserve service PATH in installer 2026-03-20 23:58:14 +09:00
Yota Hamada 0b57e01f43 Restore installer executable bit 2026-03-20 19:18:15 +09:00
Yota Hamada 97591e3020 Improve installer wizard flows 2026-03-20 19:18:15 +09:00
Yota Hamada b581118067 chore: add GPL-3.0 license headers to source files
Add copyright and SPDX license identifier headers to all Go source
files, test files, shell scripts, and proto files.
2026-03-09 18:38:11 +09:00
Yota Hamada 4a1d614b1c chore: remove ralph scripts 2026-02-22 13:13:54 +09:00
Yota Hamada e4cdf605f7 chore: adjust config 2026-02-06 23:05:34 +09:00
Yota Hamada 0214ea01e1 chore: add ralph setup 2026-02-06 22:34:30 +09:00
Yota Hamada f8cf041741 chore: add ralph scripts 2026-02-06 21:51:04 +09:00
Yota Hamada a75f667f95 fix(ui): escape config path string injected in html (#1472)
* **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.
2025-12-11 01:34:27 +09:00
Yota Hamada 66057232ad chore: fix windows installer 2025-12-01 21:07:39 +09:00
Yota Hamada d431b90ac5 chore: fix windows installer 2025-12-01 10:41:41 +09:00
YotaHamada f3f71bc9a6 chore: fix Windows installer (#1433) 2025-12-01 10:25:15 +09:00
YotaHamada 0cc15c54bd feat: add installer for Windows (#1428)
- add install options for powershell.exe and cmd.exe
2025-11-30 21:54:22 +09:00
YotaHamada 0dd47662fa script: add --working-dir option to installer (#1398) 2025-11-08 22:10:11 +09:00
YotaHamada 083f215621 doc: Update installation method order & improve installation script (#1293) 2025-10-04 20:37:06 +09:00
SarveshandSarvesh d31daad30f Fix: corrected installer script issue (#1091)
Co-authored-by: Sarvesh <sarvesh.sarvesh@oracle.com>
2025-07-05 12:35:02 +09:00
YotaHamada adb90d061a chore: support --prefix 2025-06-18 15:35:11 +09:00
YotaHamada 0f4459694b feat: add --version and --install-dir options to installer.sh (#944) 2025-05-17 02:21:25 +09:00
Dayne Broderson c44905840a system version fix (#829) 2025-02-12 14:35:33 +09:00
Yota Hamada 41855275b7 ui: fix #684 : allow edit for a DAG with . in the name (#767) 2025-01-03 10:01:27 +09:00
Yota Hamada 029bd2d50c Miscellaneous cleanup (#740) 2024-12-20 11:10:25 +09:00
Yota Hamada 3c4f6365b7 Fix build issue (#672) 2024-08-28 19:31:36 +09:00
Yota Hamada 9666c331d2 Add license headers (#646) 2024-08-04 00:04:29 +09:00
Yota Hamada a20bd1daeb Rename org dagu-dev to daguflow (#632) 2024-07-25 02:13:39 +09:00