mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-18 16:02:10 +00:00
da95588b25
* fix(forks): strip mode/enabled from merge-UI deploy payload The CompareWorkspaces merge UI deploys a trigger by fetching the full GET response from the source workspace and spreading it into an updateXTrigger call on the target. That spread includes `mode` (and the legacy `enabled`), so a fork→parent (or parent→fork) deploy would overwrite the target's enabled/disabled state — silently disabling a parent's trigger when its config is merged from a freshly-cloned fork (clones are forced `mode='disabled'`). Affects azure/email/gcp/http whose `update_trigger` SQL writes the `mode` column. Strip `mode`/`enabled` in `getTriggersDeployData` so the backend's existing `is_mode_unspecified()` preservation in `update_trigger` keeps the target row's `mode` untouched. The same preservation already protects the YAML/CLI round-trip (where the tarball export strips these fields); this extends the same guarantee to the merge-UI path. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * fix(forks): wire Azure and Email triggers through merge UI deploy CompareWorkspaces.svelte already lists Azure and Email triggers in its diff (`triggerServices`), but `getTriggersDeployData` and `existsTrigger` were missing the corresponding branches. Deploying either kind from the merge UI threw "Unexpected trigger kind". Add the branches with the same `stripOperationalState` pattern as the rest, and extend the `triggersKind` whitelist in `checkItemExists`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Windmill frontend
The Windmill frontend written in Svelte 5 + Tailwind CSS
The frontend is under AGPL, see the LICENSE file at the root of this repo